init web ems all
This commit is contained in:
1 parent
81c97acbe9
commit
5cc56f8078
4263 files changed
+798779
No files matched your search
Executable
+319
@@ -0,0 +1,319 @@
|
||||
<script language="javascript">
|
||||
<!--
|
||||
function dec2hex(dec_num)
|
||||
{
|
||||
var hex_num='';
|
||||
var temp;
|
||||
dec_num=dec_num.toUpperCase();
|
||||
if(dec_num)
|
||||
{
|
||||
while( dec_num/16 != 0 )
|
||||
{
|
||||
temp = dec_num % 16;
|
||||
dec_num = dec_num - temp;
|
||||
|
||||
switch(temp){
|
||||
case 10: temp='A'; break;
|
||||
case 11: temp='B'; break;
|
||||
case 12: temp='C'; break;
|
||||
case 13: temp='D'; break;
|
||||
case 14: temp='E'; break;
|
||||
case 15: temp='F'; break;
|
||||
}
|
||||
hex_num = temp + hex_num;
|
||||
dec_num = dec_num / 16;
|
||||
}
|
||||
return(hex_num);
|
||||
}
|
||||
else
|
||||
{
|
||||
var NotEmpty="<?php echo $strTheValueCannotBeEmpty; ?>";
|
||||
alert(NotEmpty);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function hex2dec(hex_num)
|
||||
{
|
||||
var dec_num='';
|
||||
var temp,i,j;
|
||||
var len;
|
||||
hex_num=hex_num.toUpperCase();
|
||||
|
||||
len=hex_num.length;
|
||||
|
||||
for(i=len;i > 0 ;i--)
|
||||
{
|
||||
temp=hex_num.charAt(len - i);
|
||||
|
||||
switch(temp){
|
||||
case 'A': temp=10; break;
|
||||
case 'B': temp=11; break;
|
||||
case 'C': temp=12; break;
|
||||
case 'D': temp=13; break;
|
||||
case 'E': temp=14; break;
|
||||
case 'F': temp=15; break;
|
||||
}
|
||||
|
||||
j=i-1;
|
||||
|
||||
while(j > 0)
|
||||
{
|
||||
j--;
|
||||
temp = temp*16;
|
||||
}
|
||||
temp=Math.abs(temp);
|
||||
dec_num += temp;
|
||||
dec_num = Math.abs(dec_num);
|
||||
}
|
||||
|
||||
return(dec_num);
|
||||
|
||||
}
|
||||
|
||||
|
||||
function hex2bin(hex_num)
|
||||
{
|
||||
var bin_num='';
|
||||
var temp,i,j;
|
||||
var len;
|
||||
hex_num=hex_num.toUpperCase();
|
||||
len=hex_num.length;
|
||||
|
||||
for(i=len;i > 0;i--)
|
||||
{
|
||||
temp=hex_num.charAt(len - i);
|
||||
switch(temp)
|
||||
{
|
||||
case '0': temp = '0000'; break;
|
||||
case '1': temp = '0001'; break;
|
||||
case '2': temp = '0010'; break;
|
||||
case '3': temp = '0011'; break;
|
||||
case '4': temp = '0100'; break;
|
||||
case '5': temp = '0101'; break;
|
||||
case '6': temp = '0110'; break;
|
||||
case '7': temp = '0111'; break;
|
||||
case '8': temp = '1000'; break;
|
||||
case '9': temp = '1001'; break;
|
||||
case 'A': temp = '1010'; break;
|
||||
case 'B': temp = '1011'; break;
|
||||
case 'C': temp = '1100'; break;
|
||||
case 'D': temp = '1101'; break;
|
||||
case 'E': temp = '1110'; break;
|
||||
case 'F': temp = '1111'; break;
|
||||
}
|
||||
bin_num += temp;
|
||||
}
|
||||
return(bin_num);
|
||||
}
|
||||
|
||||
|
||||
function bin2hex(bin_num)
|
||||
{
|
||||
var hex_num='';
|
||||
var dec_num='';
|
||||
var temp ;
|
||||
var i,j,len;
|
||||
|
||||
len=bin_num.length;
|
||||
|
||||
for(i=len;i > 0;i--)
|
||||
{
|
||||
temp = bin_num.charAt(len - i);
|
||||
j=i-1;
|
||||
while( j > 0)
|
||||
{
|
||||
j--;
|
||||
temp=temp*2;
|
||||
}
|
||||
temp=Math.abs(temp);
|
||||
dec_num += temp;
|
||||
dec_num = Math.abs(dec_num);
|
||||
}
|
||||
|
||||
if(dec_num !='')
|
||||
{
|
||||
while( dec_num/16 != 0 )
|
||||
{
|
||||
temp = dec_num % 16;
|
||||
dec_num = dec_num - temp;
|
||||
switch(temp){
|
||||
case 10: temp='A'; break;
|
||||
case 11: temp='B'; break;
|
||||
case 12: temp='C'; break;
|
||||
case 13: temp='D'; break;
|
||||
case 14: temp='E'; break;
|
||||
case 15: temp='F'; break;
|
||||
}
|
||||
|
||||
hex_num = temp + hex_num;
|
||||
dec_num = dec_num / 16;
|
||||
}
|
||||
return(hex_num);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function check_hex_input(term)
|
||||
{
|
||||
|
||||
var checkOK = "0123456789ABCDEF";
|
||||
var checkStr = term.value.toUpperCase();
|
||||
var allValid = true;
|
||||
|
||||
for (i = 0; i < checkStr.length; i++)
|
||||
{
|
||||
ch = checkStr.charAt(i);
|
||||
for (j = 0; j < checkOK.length; j++)
|
||||
if (ch == checkOK.charAt(j))
|
||||
break;
|
||||
if (j == checkOK.length)
|
||||
{
|
||||
allValid = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!allValid)
|
||||
{
|
||||
var MustBe="<?php echo $strParaMustBeAHexNumber; ?>"+"<?php echo '\n\n'; ?>"+"<?php echo $strTheFollowingLetterCanBeUsed; ?>"+"<?php echo ':0123456789ABCDEF'; ?>";
|
||||
alert(MustBe);
|
||||
term.focus();
|
||||
term.style.color="RED";
|
||||
return (false);
|
||||
}
|
||||
term.style.color="BLACK";
|
||||
return (true);
|
||||
|
||||
}
|
||||
|
||||
function check_dec_input(term)
|
||||
{
|
||||
|
||||
var checkOK = "0123456789";
|
||||
var checkStr = term.value.toUpperCase();
|
||||
var allValid = true;
|
||||
|
||||
for (i = 0; i < checkStr.length; i++)
|
||||
{
|
||||
ch = checkStr.charAt(i);
|
||||
for (j = 0; j < checkOK.length; j++)
|
||||
if (ch == checkOK.charAt(j))
|
||||
break;
|
||||
if (j == checkOK.length)
|
||||
{
|
||||
allValid = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!allValid)
|
||||
{
|
||||
var MustDec="<?php echo $strParaMustBeADecNumber; ?>";
|
||||
alert(MustDec);
|
||||
term.focus();
|
||||
term.style.color="RED";
|
||||
return (false);
|
||||
}
|
||||
term.style.color="BLACK";
|
||||
return (true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
function check_bin_input(term)
|
||||
{
|
||||
|
||||
var checkOK = "01";
|
||||
var checkStr = term.value.toUpperCase();
|
||||
var allValid = true;
|
||||
|
||||
for (i = 0; i < checkStr.length; i++)
|
||||
{
|
||||
ch = checkStr.charAt(i);
|
||||
for (j = 0; j < checkOK.length; j++)
|
||||
if (ch == checkOK.charAt(j))
|
||||
break;
|
||||
if (j == checkOK.length)
|
||||
{
|
||||
allValid = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!allValid)
|
||||
{
|
||||
var MustBin="<?php echo $strParaMustBeABinNumber; ?>";
|
||||
alert(MustBin);
|
||||
term.focus();
|
||||
term.style.color="RED";
|
||||
return (false);
|
||||
}
|
||||
term.style.color="BLACK";
|
||||
return (true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
function hex2dec_input(hex_num)
|
||||
{
|
||||
hex_num.value=hex_num.value.toUpperCase();
|
||||
if(check_hex_input(hex_num))
|
||||
document.D2H2B.dec.value = hex2dec(document.D2H2B.hex.value);
|
||||
}
|
||||
|
||||
function dec2hex_input(dec_num)
|
||||
{
|
||||
dec_num.value=dec_num.value.toUpperCase();
|
||||
if(check_dec_input(dec_num))
|
||||
document.D2H2B.hex.value = dec2hex(document.D2H2B.dec.value);
|
||||
}
|
||||
|
||||
function hex2bin_input(hex_num)
|
||||
{
|
||||
hex_num.value=hex_num.value.toUpperCase();
|
||||
if(check_hex_input(hex_num))
|
||||
document.D2H2B.bin.value = hex2bin(document.D2H2B.hex.value);
|
||||
}
|
||||
|
||||
function bin2hex_input(bin_num)
|
||||
{
|
||||
bin_num.value=bin_num.value.toUpperCase();
|
||||
if(check_bin_input(bin_num))
|
||||
document.D2H2B.hex.value = bin2hex(document.D2H2B.bin.value);
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
<form name="D2H2B">
|
||||
<table style="position: relative; top: -4; left: 5" border="1" width="620" cellpadding="2" cellspacing="0" bordercolor="#666666" bordercolordark="#FFFFFF" bgcolor="#FFFFFF" >
|
||||
<tr bgcolor="#E6E6E6">
|
||||
<td align="center" width="102"><?php echo $strDecNumber;?></td>
|
||||
<td align="center" width="65"> </td>
|
||||
<td align="center" width="106"><?php echo $strHexadecNumber;?></td>
|
||||
<td align="center" width="70"> </td>
|
||||
<td align="center" width="164"><?php echo $strBinNumber;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="102" align="center"><input type="text" name="dec" size="15"></td>
|
||||
<td width="65" align="center"><input type="button" value="<-" name="B4" onClick="hex2dec_input(document.D2H2B.hex)">
|
||||
<input type="button" value="->" name="B3" onClick="dec2hex_input(document.D2H2B.dec)"></td>
|
||||
<td width="106" align="center"><input type="text" name="hex" size="10"></td>
|
||||
<td width="70" align="center"><input type="button" value="<-" name="B6" onClick="bin2hex_input(document.D2H2B.bin)">
|
||||
<input type="button" value="->" name="B5" onClick="hex2bin_input(document.D2H2B.hex)"></td>
|
||||
<td width="164" align="center"><input type="text" name="bin" size="35"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0">
|
||||
<tr><td>
|
||||
<?php echo" <b>$strRemarks </b>: $strCalculatorRemarks";?>
|
||||
</td></tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
Executable
+477
@@ -0,0 +1,477 @@
|
||||
<?php
|
||||
//公用词库
|
||||
$strAbnormal ="异常";
|
||||
$strAccessManagement ="操作管理";
|
||||
$strAccountAdmin ="帐号管理";
|
||||
$strAccountCannotBeEmpty ="帐号不能为空";
|
||||
$strAccountName ="帐号名";
|
||||
$strAdd ="添 加";
|
||||
$strAddCustomer ="增加客户";
|
||||
$strAddDevice ="添加设备";
|
||||
$strAddFails ="增加失败";
|
||||
$strAddOperator ="添加操作员";
|
||||
$strAddOption ="添加选项";
|
||||
$strAddRoute ="添加路由";
|
||||
$strAddSucceeds ="增加成功";
|
||||
$strAdvancedSetup ="高级";
|
||||
$strAlarmClean ="告警清除";
|
||||
$strAlarmContent ="告警内容";
|
||||
$strAlarmLevel ="告警等级";
|
||||
$strAlarmLog ="告警日志";
|
||||
$strAlarmTime ="告警时间";
|
||||
$strAlarmType ="告警类型";
|
||||
$strAllAccounts ="所有帐号";
|
||||
$strAllCall ="所有呼叫";
|
||||
$strAllE1 ="所有E1";
|
||||
$strAllE1ID ="所有E1";
|
||||
$strAllSubsys ="所有子系统";
|
||||
$strAllSystems ="所有系统";
|
||||
$strAllTheTypes ="所有类型";
|
||||
$strAlterSymbol ="修改标志";
|
||||
$strAppealTime ="请求时间";
|
||||
$strApplicableType ="适用类型";
|
||||
$strAreYouSureToDelete ="您确定删除";
|
||||
$strAreYouSureToEdit ="您确定编辑";
|
||||
$strAttribute ="属性";
|
||||
$strAuthority ="权限";
|
||||
$strAuthResult ="鉴权结果";
|
||||
$strBack ="返回";
|
||||
$strBasicStatus ="基本状态";
|
||||
$strBinNumber ="二进制数";
|
||||
$strBringToRest ="停止运行";
|
||||
$strCallAnalysis ="话务分析";
|
||||
$strCalledBusy ="被叫忙";
|
||||
$strCallFailure ="呼损";
|
||||
$strCallingPullDown ="主叫拆线";
|
||||
$strCallLoss ="呼损";
|
||||
$strCallProcess ="话务处理";
|
||||
$strCallStatistics ="话务统计";
|
||||
$strCallType ="通话类型";
|
||||
$strCancel ="取 消";
|
||||
$strCDRAdmin ="CDR维护";
|
||||
$strCheckInfo ="检测信息";
|
||||
$strCheckResult ="检测结果";
|
||||
$strChinese = "中文";
|
||||
$strClear ="清除";
|
||||
$strClearedAlarm ="告警清除";
|
||||
$strClearTime ="清除时间";
|
||||
$strCommandBeExecute ="命令正在执行";
|
||||
$strCommandControl ="命令控制";
|
||||
$strComponentCode ="组件编号";
|
||||
$strComponentName ="组件名称";
|
||||
$strConfirm ="确 定";
|
||||
$strConfirmPassword ="确认密码";
|
||||
$strCPULoad ="CPU使用率";
|
||||
$strCreationTime ="创建时间";
|
||||
$strCriticalAlarm ="严重告警";
|
||||
$strCustermerAdmin ="客户管理";
|
||||
$strCustomerInformation ="用户资料";
|
||||
$strCustomerManagement ="客户管理";
|
||||
$strCustomerQuery ="客户查询";
|
||||
$strSubscriberStatus ="用户状态";
|
||||
$strDaemonOperationFailure ="后台操作失败";
|
||||
$strDaemonOperationSuccess ="后台操作成功";
|
||||
$strDaemonOperationTimeout ="后台操作超时";
|
||||
$strDaemonRecordNoChange ="后台处理纪录数连续4秒不变";
|
||||
$strDataBackup ="数据备份";
|
||||
$strDatabase ="数据库";
|
||||
$strDatabaseBackup ="数据库备份";
|
||||
$strDate ="日期";
|
||||
$strDay ="日";
|
||||
$strDecNumber ="十进制数";
|
||||
$strDelete ="删 除";
|
||||
$strDeleteFailure ="删除失败";
|
||||
$strDeleteMode ="删除该模板";
|
||||
$strDeleteQueryResult ="删除查询结果";
|
||||
$strDeleteRoute ="删除路由";
|
||||
$strDeleteSuccess ="删除成功";
|
||||
$strDeleteSystem ="删除设备";
|
||||
$strDescription ="说明";
|
||||
$strDetailDescription ="详细说明";
|
||||
$strDevice ="设备";
|
||||
$strDeviceType ="设备类型";
|
||||
$strDisable ="禁用";
|
||||
$strDisplayRecords ="显示记录";
|
||||
$strDownload ="下载";
|
||||
$strE1ID ="E1编号";
|
||||
$strE1Status ="E1状态";
|
||||
$strEdit ="编 辑";
|
||||
$strEditFailure ="编辑失败";
|
||||
$strEditMode ="编辑方式";
|
||||
$strEditObject ="编辑对象";
|
||||
$strEditSuccess ="编辑成功";
|
||||
$strEnable ="安装";
|
||||
$strEnglish = "英文";
|
||||
$strEquipment ="设备";
|
||||
$strError ="出错";
|
||||
$strEventType ="事件类型";
|
||||
$strExample ="例如";
|
||||
$strExit ="退 出";
|
||||
$strFailure ="失败";
|
||||
$strFileUpload ="文件上载";
|
||||
$strFinish ="完 毕";
|
||||
$strFriday ="周五";
|
||||
$strFrom ="从";
|
||||
$strGlobalSystemPara ="全局系统参数";
|
||||
$strGraphTemplate ="图形模板";
|
||||
$strGuide ="用户指南";
|
||||
$strHalt ="中断";
|
||||
$strHardDiskSpace ="硬盘空间";
|
||||
$strHelp ="帮助";
|
||||
$strHexadecNumber ="十六进制数";
|
||||
$strHour ="时";
|
||||
$strIncoming ="入局";
|
||||
$strIncomingLimit ="入局限制";
|
||||
$strInitialize ="初始化";
|
||||
$strInputAccount ="输入帐号";
|
||||
$strInputBox ="输入框";
|
||||
$strInputPasswordIsNotCoherent ="输入密码不一致";
|
||||
$strInvalidUserName ="无效的用户名";
|
||||
$strItem ="对象";
|
||||
$strKeyWord ="查询号码关键字";
|
||||
$strLandscape ="横向";
|
||||
$strLANModule ="LAN模块";
|
||||
$strLastSevenDay ="当前七天";
|
||||
$strLegend ="图例";
|
||||
$strLineBusy ="线路忙";
|
||||
$strList ="列表";
|
||||
$strLoadIn ="导入";
|
||||
$strLoadOut ="导出";
|
||||
$strLoadOutOrLoadIn ="需要导出或导入";
|
||||
$strLocal ="中央";
|
||||
$strLocalCall ="本局呼叫";
|
||||
$strLocalQuery ="本局查询";
|
||||
$strLocalTrunkGroup ="本局";
|
||||
$strLoginInfo ="登陆信息";
|
||||
$strLogon ="登 录";
|
||||
$strLogonAgain ="重新登录";
|
||||
$strLogonFails ="登录错误";
|
||||
$strLogType ="日志类型";
|
||||
$strMainMenu ="主菜单";
|
||||
$strMajorAlarm ="较严重告警";
|
||||
$strMapUpload ="地图上载";
|
||||
$strMasterClock ="主时钟";
|
||||
$strMemoryWaitStatus ="共享内存连续4秒处于准备执行状态";
|
||||
$strMenu ="菜单";
|
||||
$strMinorAlarm ="次级告警";
|
||||
$strMinute ="分";
|
||||
$strModificationFails ="修改失败";
|
||||
$strModificationSucceeds ="修改成功";
|
||||
$strModifyPassword ="修改密码";
|
||||
$strMonday ="周一";
|
||||
$strMonth ="月";
|
||||
$strMSISDN ="电话号码";
|
||||
$strMSStatus ="手机状态";
|
||||
$strMultipleBox ="多选框";
|
||||
$strName ="姓名";
|
||||
$strNewPassword ="新密码";
|
||||
$strNextPage ="下一页";
|
||||
$strNo ="否";
|
||||
$strNormal ="正常";
|
||||
$strNotFindRecord ="没有记录";
|
||||
$strNothing ="无";
|
||||
$strObjectID ="对象ID";
|
||||
$strOldPassword ="旧密码";
|
||||
$strOperateDatabaseFailure ="操作数据库失败";
|
||||
$strOperateDatabaseSuccess ="操作数据库成功";
|
||||
$strOperationAuthority ="操作权限";
|
||||
$strOperationLog ="操作日志";
|
||||
$strOperationSpecification ="操作说明";
|
||||
$strOperator ="操作员";
|
||||
$strOperatorAccount ="操作员帐号";
|
||||
$strOperatorList ="操作员列表";
|
||||
$strOption ="选项";
|
||||
$strOrderObject ="命令对象";
|
||||
$strOrderType ="命令类型";
|
||||
$strOutgoing ="出局";
|
||||
$strOutgoingLimit ="出局限制";
|
||||
$strPageNumberHasAMistake ="页码错误";
|
||||
$strParaEdit ="参数编辑";
|
||||
$strParaLength ="参数长度";
|
||||
$strParaMaintenance ="参数维护";
|
||||
$strParameterDescription ="参数说明";
|
||||
$strParameterSetup ="参数设置";
|
||||
$strParaNumber ="参数个数";
|
||||
$strParaStructure ="参数结构";
|
||||
$strParaType ="参数类型";
|
||||
$strPassword ="密码";
|
||||
$strPassword ="密码";
|
||||
$strPasswordCannotBeEmpty ="密码不能为空";
|
||||
$strPasswordDigitHasAMistake ="密码位数有误";
|
||||
$strPasswordModificationSucceeds="密码修改成功";
|
||||
$strPause ="暂停";
|
||||
$strPels ="象素";
|
||||
$strPercent ="百分比";
|
||||
$strPhysicalAddress ="物理地址";
|
||||
$strPhysicalLayer ="物理层";
|
||||
$strPhysicsMemory ="物理内存";
|
||||
$strPleaseConfirmYourPassword ="请确认你的密码";
|
||||
$strPleaseInputRealName ="请输入真实姓名";
|
||||
$strPleaseLogonSystem ="请登录系统";
|
||||
$strPortrait ="纵向";
|
||||
$strPrefixNumber ="出局字头";
|
||||
$strPreview ="预 览";
|
||||
$strPreviousPage ="前一页";
|
||||
$strPrimaryLanguage ="默认语言";
|
||||
$strProcessStatus ="处理状态";
|
||||
$strProduceTemplateCode ="生成模板代码";
|
||||
$strPullDownMenu ="下拉菜单";
|
||||
$strQuery ="查询";
|
||||
$strQueryNumberRange ="查询号码范围:";
|
||||
$strRateAdmin ="费率维护";
|
||||
$strRealName ="真实姓名";
|
||||
$strRefreshTime ="刷新时间";
|
||||
$strRefresh ="刷新";
|
||||
$strRemainAll ="剩余/全部";
|
||||
$strRemark ="说明";
|
||||
$strRemarks ="说明";
|
||||
$strRemote ="远端";
|
||||
$strRepairResult ="修复结果";
|
||||
$strRepeatInput ="重复输入";
|
||||
$strRepeatInputtingPassword ="重复输入密码";
|
||||
$strReset ="重 置";
|
||||
$strRestart ="重启";
|
||||
$strResult ="结果";
|
||||
$strReturn ="返 回";
|
||||
$strRoute ="路由";
|
||||
$strSaturday ="周六";
|
||||
$strSave ="保 存";
|
||||
$strSaveFailure ="保存失败";
|
||||
$strSaveSuccess ="保存成功";
|
||||
$strSearch ="查 看";
|
||||
$strSecond ="秒";
|
||||
$strSecondLanguage ="第二种语言";
|
||||
$strSelect ="选择";
|
||||
$strSender ="发送人";
|
||||
$strSignalingFault ="信令失误";
|
||||
$strSIMNumber ="SIM卡号";
|
||||
$strSixHours ="6小时";
|
||||
$strSize ="大小";
|
||||
$strSoftwareDownload ="软件下载";
|
||||
$strSoftwareUpdate ="软件更新";
|
||||
$strSoftwareUpload ="软件上载";
|
||||
$strSorryYouHaveNotTheAuthority ="对不起,您权限不够!";
|
||||
$strSpecification ="说明";
|
||||
$strSpecifyTime ="指定时间段";
|
||||
$strStatisticsLengend ="统计图表";
|
||||
$strStatus ="状态";
|
||||
$strStatusInformation ="状态信息";
|
||||
$strStatusMonitor ="状态监视";
|
||||
$strStop ="停止";
|
||||
$strSubmit ="提 交";
|
||||
$strSubsystem ="子系统";
|
||||
$strSubsystemID ="子系统编号";
|
||||
$strSubsystemPara ="子系统参数";
|
||||
$strSubsystemStatus ="子系统状态";
|
||||
$strSubsystemType ="子系统类型";
|
||||
$strSuccess ="成功";
|
||||
$strSunday ="周日"; ;
|
||||
$strSwitchAdmin ="交换机维护";
|
||||
$strSwitchPara ="交换机参数";
|
||||
$strSystem ="系统";
|
||||
$strSystemAdmin ="系统管理";
|
||||
$strSystemID ="系统ID";
|
||||
$strSystemLoginPassword ="登录密码";
|
||||
$strSystemPara ="系统参数";
|
||||
$strSystemStatus ="系统状态";
|
||||
$strSystemType ="系统类型";
|
||||
$strTable ="表";
|
||||
$strTemplateSetup ="模板设置";
|
||||
$strTheInputPasswordIsIncorrect ="输入的密码不正确";
|
||||
$strTheNumber ="序号";
|
||||
$strTheRecordExits ="该记录已存在";
|
||||
$strThisMonth ="本月";
|
||||
$strThisWeek ="本周";
|
||||
$strThreeHours ="3小时";
|
||||
$strThursday ="周四";
|
||||
$strTime ="时间";
|
||||
$strTimeFormat ="时间格式";
|
||||
$strTimes ="次数";
|
||||
$strTo ="至";
|
||||
$strToday ="今天";
|
||||
$strToPage ="转到";
|
||||
$strTotal ="总计";
|
||||
$strTotalPages ="总页数";
|
||||
$strTotalRecords ="总计";
|
||||
$strTransportLayer ="传输层";
|
||||
$strTrunkGroup ="局向";
|
||||
$strTuesday ="周二";
|
||||
$strTwelveHours ="12小时";
|
||||
$strTwentyFourHours ="24小时";
|
||||
$strTwoHours ="2小时";
|
||||
$strType ="类型";
|
||||
$strUndefinedAlarm ="未确定";
|
||||
$strUninstall ="卸载";
|
||||
$strUninstalled ="未安装";
|
||||
$strUpdatedTime ="更新时间";
|
||||
$strUpload ="上载";
|
||||
$strUploadFailure ="上载失败";
|
||||
$strUploadSuccess ="上载成功";
|
||||
$strUserManual ="用户手册";
|
||||
$strUserName ="用户名";
|
||||
$strUserNameCannotBeEmpty ="用户名不能为空";
|
||||
$strValue ="值";
|
||||
$strVersion ="版本";
|
||||
$strViewThisPageNeedJavaPlugin ="浏览该页面需安装java plugin";
|
||||
$strVirtualMemory ="虚拟内存";
|
||||
$strWarningAlarm ="警告告警";
|
||||
$strWednesday ="周三";
|
||||
$strWhereCode ="查询条件";
|
||||
$strWidth ="宽度";
|
||||
$strWithinFiveHours ="5小时内";
|
||||
$strWithinOneHour ="1小时内";
|
||||
$strWorkStatus ="工作状态";
|
||||
$strYear ="年";
|
||||
$strYes ="是";
|
||||
$strYesterday ="昨天";
|
||||
$strInUseAll ="使用/全部";
|
||||
$strPortStatus ="端口状态";
|
||||
$strAttempt ="试呼";
|
||||
$strStartTime ="启动时间";
|
||||
$strOprationRestriction ="操作有权";
|
||||
$strConfigurationRestriction ="配置有权";
|
||||
$strManagementRestriction ="管理有权";
|
||||
$strDesignRestriction ="设计有权";
|
||||
|
||||
//add by lilong
|
||||
$strSuccessful ="成功";
|
||||
$strFail ="失败";
|
||||
$strSysType ="系统类型:";
|
||||
$strAlamState ="告警状态:";
|
||||
$strAll ="全部";
|
||||
$strNotCleared ="未清除";
|
||||
$strCleared ="已清除";
|
||||
$strSearch ="搜索";
|
||||
$strClear ="清除";
|
||||
$strCallerNumber ="主叫号码";
|
||||
$strStatusInfo ="状态信息";
|
||||
$strVersion ="版本";
|
||||
$strCentralOffice ="局端设备";
|
||||
$strRemoteDevice ="远端设备";
|
||||
$strSysStatus ="系统状态";
|
||||
$strMap ="总图";
|
||||
$strPane0Status ="平面0 E1/T1状态";
|
||||
$strPane1Status ="平面1 E1/T1状态";
|
||||
$strServer ="服务器";
|
||||
$strServerSummaryInfo ="服务器状态";
|
||||
$strPeripheral ="外挂设备状态";
|
||||
$strNotFoundAnyBTS ="没找到BTS";
|
||||
$strNotFoundAnyBSC ="没找到BSC";
|
||||
$strReload ="重载";
|
||||
$strImport ="导入";
|
||||
$strPrevious ="上一页";
|
||||
$strNext ="下一页";
|
||||
|
||||
//add by lilong
|
||||
$strTitleAdvanced ="高级管理";
|
||||
$strTitleSpace =" > ";
|
||||
$strCurrentTariff ="当前费率";
|
||||
$strRent ="租金";
|
||||
$strTariffRentID ="对象";
|
||||
$strTariffRentChargeDate ="充值时间";
|
||||
$strTariffRentChargeAmount ="充值金额";
|
||||
$strTariffRentCapFlag ="Cap Flag";
|
||||
$strGet ="Get";
|
||||
$strSet ="Set";
|
||||
$strCompare ="比较";
|
||||
$strLoad ="Load";
|
||||
$strSave ="保存";
|
||||
$strLock ="锁定";
|
||||
$strUnlock ="解锁";
|
||||
$strDailingPrefix ="字头";
|
||||
$strTrunkGroup ="局向";
|
||||
$strCell ="小区";
|
||||
$strClockReference ="时钟模块";
|
||||
$strParameter ="参数";
|
||||
$strBHCA ="话务统计";
|
||||
$strData ="数据";
|
||||
$strFlow ="流量统计";
|
||||
$strAnalysis ="分析";
|
||||
$strTitlePerformance ="话务统计";
|
||||
$strTariffPlan ="费率计划";
|
||||
$strBasicTariff ="基本费率";
|
||||
$strHoliday ="节假日";
|
||||
$strMultiServices ="其它业务";
|
||||
$strPlanManage ="计划管理";
|
||||
$strMessageLength ="拆分包长";
|
||||
$strConfiguration ="系统配置";
|
||||
|
||||
//added by xiehua
|
||||
$strTitleConfiguration ="系统配置";
|
||||
$strTitleAccount ="账户信息";
|
||||
$strTitlePerformance ="话务统计";
|
||||
$strSubscriberManage ="客户管理";
|
||||
$strRefreshCard ="充值卡";
|
||||
$strSubscriber ="用户";
|
||||
$strLog ="日志";
|
||||
$strMaintenance ="系统维护";
|
||||
$strLink ="链路";
|
||||
$strNetwork ="网络";
|
||||
$strBackupRestore ="数据备份和恢复";
|
||||
$strDualServerMode ="双机模式";
|
||||
$strCharge ="金额";
|
||||
$strAdvanced ="高级";
|
||||
$strPerformance ="性能";
|
||||
$strGetAll ="Get All";
|
||||
|
||||
//added by Cui Ticun
|
||||
$strDiscountID ="折扣号";
|
||||
$strFreeChargeUnit ="免费计时单位";
|
||||
$strFav_call ="亲情呼叫";
|
||||
$strFav_listedtion ="亲情表编辑";
|
||||
$strUndo ="取消";
|
||||
$strLinkset ="链路组";
|
||||
$strLink ="链路";
|
||||
$strLocalNode ="本地服务地址";
|
||||
$strNetworkCode ="网络基本设定";
|
||||
$strMtTariff ="被叫费率";
|
||||
$strSMContent ="短信内容";
|
||||
$strPriority ="优先级";
|
||||
$strTimeToLive ="有效时间";
|
||||
$strSent ="发送成功";
|
||||
$strDiscarded ="丢弃";
|
||||
$strPending ="待发";
|
||||
$strCaller ="主叫号码";
|
||||
$strCalled ="被叫号码";
|
||||
$strUpdate ="刷新时间";
|
||||
$strLastAttempt ="最后试发";
|
||||
|
||||
$strGttObjects ="GTT Objects";
|
||||
|
||||
//add by Jianhui Zheng
|
||||
$strE164Number="E164 号码";
|
||||
$strUndo="撤消";
|
||||
$strModule="模块";
|
||||
$strVMSOrVSS="VSS";
|
||||
$strSMSEG="SMEG";
|
||||
|
||||
/***********************错误和提示定义***************************/
|
||||
$STR_CONF_COMMAND_ERR_0000 ="命令操作成功";
|
||||
|
||||
//ERR_001*:should prompt the operator "Check the device's status"
|
||||
$STR_CONF_PROMPT_001 ="请检查设备状态";
|
||||
$STR_CONF_COMMAND_ERR_0011 ="OMC找不到设备IP";
|
||||
$STR_CONF_COMMAND_ERR_0012 ="设备IP错误";
|
||||
|
||||
//ERR_002*:should prompt the operator "Check the software version of OMC and device"
|
||||
$STR_CONF_PROMPT_002 ="检查OMC和设备的软件版本是否相符";
|
||||
$STR_CONF_COMMAND_ERR_0021 ="OMC找不到相应的目标的值";
|
||||
$STR_CONF_COMMAND_ERR_0022 ="OMC找不到相应的序列好的值";
|
||||
|
||||
//ERR_003*:should prompt the operator "Check the OMC's status or send command again"
|
||||
$STR_CONF_PROMPT_003 ="检查OMC状态或重发命令";
|
||||
$STR_CONF_COMMAND_ERR_0031 ="OMC发送SNMP消息错误";
|
||||
$STR_CONF_COMMAND_ERR_0032 ="OMC命令缓存已满";
|
||||
$STR_CONF_COMMAND_ERR_0033 ="OMC发送命令太慢,或者没有发送命令";
|
||||
|
||||
//ERR_004*:should prompt the operator "Check the device's status or send command again"
|
||||
$STR_CONF_PROMPT_004 ="检查设备的状态或重发命令.发送命令前,确保OMC和对端服务器在线";
|
||||
$STR_CONF_COMMAND_ERR_0041 ="回应消息无效";
|
||||
$STR_CONF_COMMAND_ERR_0042 ="回应消息错误";
|
||||
$STR_CONF_COMMAND_ERR_0043 ="回应超时";
|
||||
|
||||
$STR_CONF_COMMAND_ERR_9999 ="未定义错误";
|
||||
$strPleaseInputIndexNo ="请输入Index";
|
||||
$indexNoDefinedBy ="Index is defined by";
|
||||
|
||||
?>
|
||||
Executable
+349
@@ -0,0 +1,349 @@
|
||||
<?php
|
||||
/*************************************************************************
|
||||
* 文件说明:
|
||||
* 功能说明:配置文件
|
||||
* 1、多语言版本设置
|
||||
* 2、系统配置参数设定
|
||||
* 3、访问控制
|
||||
*
|
||||
* 调用关系:调用:各语种的包含文件
|
||||
* 被调用:lib.inc
|
||||
*
|
||||
*
|
||||
* 作者:
|
||||
*
|
||||
*修改注释:
|
||||
*NO.1
|
||||
*姓名:
|
||||
*时间:
|
||||
*修改说明: 删除一些不必要的设置/按新的要求配置
|
||||
*************************************************************************/
|
||||
//==============================各OMC的类型定义============================
|
||||
$omcTypeArr = array(
|
||||
array('typeNo' => '0', 'name' => 'WXC2 OMC', 'path' => 'wxc2_omc'),
|
||||
array('typeNo' => '1', 'name' => 'GMSC OMC', 'path' => 'gmsc_omc'),
|
||||
array('typeNo' => '2', 'name' => 'MSC OMC', 'path' => 'msc_omc'),
|
||||
array('typeNo' => '3', 'name' => 'HLR OMC', 'path' => 'hlr_omc'),
|
||||
array('typeNo' => '4', 'name' => 'AUC OMC', 'path' => 'auc_omc'),
|
||||
array('typeNo' => '5', 'name' => 'PPS OMC', 'path' => 'pps_omc'),
|
||||
array('typeNo' => '6', 'name' => 'SMSC OMC', 'path' => 'smsc_omc'),
|
||||
array('typeNo' => '7', 'name' => 'BSS OMC', 'path' => 'bss_omc'),
|
||||
array('typeNo' => '8', 'name' => 'EIR OMC', 'path' => 'eir_omc'),
|
||||
array('typeNo' => '9', 'name' => 'HBSC OMC', 'path' => 'hbsc_omc'),
|
||||
array('typeNo' => '10', 'name' => 'SN OMC', 'path' => 'sn_omc'),
|
||||
);
|
||||
//echo "cofnig $PHP_SELF";
|
||||
$PHP_SELF = $_SERVER['PHP_SELF'];
|
||||
$DEBUG=0;
|
||||
|
||||
if(isset($selectedOmcPath) && strlen($selectedOmcPath) > 0){
|
||||
$thisOmcPath=$selectedOmcPath;
|
||||
}else{
|
||||
$PHP_SELF = $_SERVER['PHP_SELF'];
|
||||
$pathArr=explode('/',$PHP_SELF);
|
||||
$thisOmcPath=$pathArr[1];
|
||||
}
|
||||
|
||||
|
||||
for ($ii = 0; $ii < sizeof($omcTypeArr); $ii++) {
|
||||
//echo "<br>if($thisOmcPath == {$omcTypeArr[$ii][path]})";
|
||||
if ($thisOmcPath == $omcTypeArr[$ii]['path']) {
|
||||
$thisOmcType = $omcTypeArr[$ii]['typeNo'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//===============================OMC说明变量==============================================================
|
||||
$COMPANY_NAME = "InterWave";
|
||||
$COMPANY_WEBSITE = "www.iwv.com";
|
||||
$COMPANY_E_MAIL = "Help@iwv.com";
|
||||
|
||||
$SYSTEM_VERSION = $omcTypeArr[$thisOmcType]['name'] . "<br>R3V3_09";
|
||||
$SYSTEM_VERSION_ISSUE_DATE = "2002-11-19";
|
||||
|
||||
$OMC_NAME = $omcTypeArr[$thisOmcType]['name'];
|
||||
$OMC_VERSION = "R6V5_10";
|
||||
$OMC_VERSION_ISSUE_DATE = "2002-10-21";
|
||||
|
||||
$WELCOME_WORDS = "WELCOME TO $OMC_NAME";
|
||||
$COPY_RIGHT_WORDS = "Copyright 2001-2002 iwv.com All rights reserved.";
|
||||
|
||||
|
||||
//==============================各OMC的URL=================================================================
|
||||
$host_ip = getenv("HTTP_HOST");
|
||||
//echo "<br>host_ip=$host_ip";
|
||||
|
||||
global $userInfo;
|
||||
|
||||
//用户选择的语言类型
|
||||
if ($userInfo['language'] == 'chn') {
|
||||
require("../../inc/chinese_gb.inc");
|
||||
$USER_GUIDE_DIR = "../../../guide/index_cn.htm";
|
||||
$language = 'chn';
|
||||
$language_type = 1;
|
||||
//}elseif ($language == 'eng'){
|
||||
} else {
|
||||
require("../../inc/english.inc");
|
||||
$USER_GUIDE_DIR = "../../../guide/index_en.htm";
|
||||
$language = 'eng';
|
||||
$language_type = 0;
|
||||
}
|
||||
|
||||
//=============================数据下载设置==============================================================
|
||||
$load_sys_type = 0;//与HLR有关的CSV数据模版类型(msc-->0/hlr-->1/pps-->2);
|
||||
|
||||
//=============================数据库设置=================================================================
|
||||
//---------------服务器设置-----------------
|
||||
//OMC-0
|
||||
|
||||
$handle = fopen("../../inc/mysqlpw.inc", "r");
|
||||
$mysqluser = str_rot13(trim(fgets($handle)));
|
||||
$mysqlpw = str_rot13(trim(fgets($handle)));
|
||||
fclose($handle);
|
||||
|
||||
|
||||
$OMC_server[0]['host'] = 'localhost'; // MySQL hostname,如果该主机名无法被解释,将出现无法打开页面的情况!!
|
||||
$OMC_server[0]['user'] = $mysqluser; // MySQL user (only needed with basic auth)
|
||||
$OMC_server[0]['password'] = $mysqlpw; // MySQL password (only needed with basic auth)
|
||||
//$OMC_server[0]['user'] = 'root'; // MySQL user (only needed with basic auth)
|
||||
//$OMC_server[0]['password'] = 'root'; // MySQL password (only needed with basic auth)
|
||||
$OMC_server[0]['port'] = ''; // MySQL port - leave blank for default port
|
||||
$OMC_server[0]['adv_auth'] = false; // Use advanced authentication?
|
||||
$OMC_server[0]['adv_user'] = ''; // MySQL standard user (only needed with advanced auth)
|
||||
$OMC_server[0]['adv_pass'] = ''; // MySQL standard password (only needed with advanced auth)
|
||||
$OMC_server[0]['only_db'] = ''; // If set to a db-name, only this db is accessible
|
||||
$OMC_server[0]['verbose'] = 'master server'; // Verbose name for this host - leave blank to show the hostname
|
||||
|
||||
//OMC-1
|
||||
$OMC_server[1]['host'] = 'omc-1';
|
||||
$OMC_server[1]['user'] = $mysqluser;
|
||||
$OMC_server[1]['password'] = $mysqlpw;
|
||||
$OMC_server[1]['port'] = '';
|
||||
$OMC_server[1]['adv_auth'] = false;
|
||||
$OMC_server[1]['adv_user'] = '';
|
||||
$OMC_server[1]['adv_pass'] = '';
|
||||
$OMC_server[1]['only_db'] = '';
|
||||
$OMC_server[1]['verbose'] = 'second server';
|
||||
|
||||
//数据库连接
|
||||
//$link[0] = mysql_pconnect($OMC_server[0]['host'], $OMC_server[0]['user'], $OMC_server[0]['password']);
|
||||
//if (!$link[0]) {//可惜在该主机名无法被解释的条件下,这段程序无法执行
|
||||
// echo "<font color=ff0000 size=4>Connect databese error!! please check the server name or the user_id and password</font>";
|
||||
// exit();
|
||||
//}
|
||||
$pubConn = mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], "OMC_PUB");
|
||||
//$bssDbConn=mysqli_connect($$OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], "BssOmcDb");
|
||||
@mysqli_query($pubConn, "set names 'gb2312'");
|
||||
@mysqli_query($pubConn, "set character_set_client=gb2312");
|
||||
@mysqli_query($pubConn, "set character_set_results=gb2312");
|
||||
//$link[1]=mysql_pconnect($OMC_server[1]['host'],$OMC_server[1]['user'],$OMC_server[1]['password']);
|
||||
|
||||
//-----------数据库数据表设置-------------------
|
||||
//数据库列表
|
||||
$omc_db = 'OMC_PUB'; //omc公用数据库
|
||||
$cdr_db = 'CDR_DB'; //存放各种话单资料
|
||||
$csta_db = 'CSTA_DB'; //存放话务统计数据
|
||||
$auc_para = 'AUC_Para'; //存放AUC数据
|
||||
$eir_para = 'EIR_Para'; //存放EIR数据
|
||||
$account_db = 'account_db';
|
||||
$bill_db = 'tariff_db';
|
||||
$hlr_db = 'hlr_db';
|
||||
$bss_db = 'BssOmcDb';
|
||||
$refresh_card_db = 'refresh_card';
|
||||
$parameter_db = 'parameter_db';
|
||||
$sysconf_table = 'sysConf'; //设备定义表,是设备信息的基础
|
||||
$paramConf_table = 'paramConf'; //参数定义表
|
||||
$alarmconf_table = 'sysAlarmConf'; //告警定义
|
||||
$sysStat_table = 'sysStat'; //状态信息表
|
||||
$sysoperlog_table = 'sysOperLog'; //日志表
|
||||
$sysoperconf_table = 'sysOperConf'; //日志类型定义表
|
||||
$syscsvconf_table = 'sysCsvConf'; //CSV模板定义
|
||||
$cstadefine_table = 'cstaDefine'; //csta配置
|
||||
$cdrdefine_table = 'cdrSource'; //cdr配置
|
||||
|
||||
//==============================平台类型定义================================================
|
||||
$PlatTypeDefArr=array(
|
||||
array('num'=> '0', 'remark' => 'EMS', 'sysTypeNo' => '0', 'maxSysNum' => '2', 'platAgent' => '0'),
|
||||
array('num'=> '1', 'remark' => 'GMSC', 'sysTypeNo' => '310', 'maxSysNum' => '2', 'platAgent' => '1'),
|
||||
array('num'=> '2', 'remark' => 'MSC', 'sysTypeNo' => '320', 'maxSysNum' => '2', 'platAgent' => '2'),
|
||||
array('num'=> '3', 'remark' => 'HSS', 'sysTypeNo' => '330', 'maxSysNum' => '2', 'platAgent' => '2'),
|
||||
array('num'=> '4', 'remark' => 'AUC', 'sysTypeNo' => '340', 'maxSysNum' => '2', 'platAgent' => '4'),
|
||||
array('num'=> '5', 'remark' => 'PPS', 'sysTypeNo' => '360', 'maxSysNum' => '2', 'platAgent' => '5'),
|
||||
array('num'=> '6', 'remark' => 'SMSC', 'sysTypeNo' => '350', 'maxSysNum' => '2', 'platAgent' => '6'),
|
||||
array('num'=> '7', 'remark' => 'EIR', 'sysTypeNo' => '380', 'maxSysNum' => '2', 'platAgent' => '4'),
|
||||
array('num'=> '8', 'remark' => 'VSS', 'sysTypeNo' => '390', 'maxSysNum' => '10', 'platAgent' => '4'),
|
||||
array('num'=> '9', 'remark' => 'MSS', 'sysTypeNo' => '388', 'maxSysNum' => '2', 'platAgent' => '4'),
|
||||
array('num'=> '10', 'remark' => 'MNP', 'sysTypeNo' => '370', 'maxSysNum' => '2', 'platAgent' => '4'),
|
||||
array('num'=> '11', 'remark' => 'AAS', 'sysTypeNo' => '311', 'maxSysNum' => '2', 'platAgent' => '2'),
|
||||
array('num'=> '12', 'remark' => 'SMEG', 'sysTypeNo' => '355', 'maxSysNum' => '2', 'platAgent' => '1'),
|
||||
array('num'=> '13', 'remark' => 'OPPS', 'sysTypeNo' => '375', 'maxSysNum' => '2', 'platAgent' => '2'),
|
||||
array('num'=> '14', 'remark' => 'MRFC', 'sysTypeNo' => '385', 'maxSysNum' => '2', 'platAgent' => '2'),
|
||||
array('num'=> '15', 'remark' => 'iPALIM', 'sysTypeNo' => '378', 'maxSysNum' => '2', 'platAgent' => '2'),
|
||||
array('num'=> '16', 'remark' => 'iRLS', 'sysTypeNo' => '379', 'maxSysNum' => '2', 'platAgent' => '2'),
|
||||
array('num'=> '17', 'remark' => 'MHC', 'sysTypeNo' => '386', 'maxSysNum' => '2', 'platAgent' => '2'),
|
||||
array('num'=> '18', 'remark' => 'RCM', 'sysTypeNo' => '395', 'maxSysNum' => '2', 'platAgent' => '2'),
|
||||
);
|
||||
//==============================告警等级设定================================================
|
||||
$alarmLevelDefArr=array(
|
||||
array('value' => '0', 'remark' => $strClearedAlarm, 'color' => '#0000FF'),
|
||||
array('value' => '1', 'remark' => $strCriticalAlarm, 'color' => '#FF0000'),
|
||||
array('value' => '2', 'remark' => $strMajorAlarm, 'color' => '#980030'),
|
||||
array('value' => '3', 'remark' => $strMinorAlarm, 'color' => '#980030'),
|
||||
array('value' => '4', 'remark' => $strWarningAlarm, 'color' => '#980030'),
|
||||
//array(value => '5', remark => $strClearedAlarm, color => '#0000FF'),
|
||||
|
||||
);
|
||||
|
||||
//=============================系统配置参数==================================
|
||||
|
||||
$separator = ','; //csv数据的字段分割符
|
||||
$heatbeat_overtime = 48; //heartbeat的超时设置。单位为秒。
|
||||
|
||||
/*被注释掉的变量定义将删除
|
||||
|
||||
$def_sys_param_sign = 99; //系统参数在参数表中用一个特殊的子系统编号,该编号不等于其他的子系统编号。
|
||||
|
||||
$total_subsys_num = 8; //每个系统中子系统数,每个系统的子系统数相等
|
||||
|
||||
$len_of_sys_num = 2; //sys_id编号方式中系统编号的长度
|
||||
|
||||
$len_of_subsys_num = 2; //sys_id编号方式中子系统编号的长度
|
||||
|
||||
$def_len_of_record = 32; // 参数表中每条记录默认所含的Byte个数
|
||||
*/
|
||||
|
||||
|
||||
//服务器工作状态定义,这个需要放在子模块中
|
||||
$server_work_status = array(
|
||||
array('num' => '0', 'remark' => $strRestart, 'color' => '#FF0000'),
|
||||
array('num' => '1', 'remark' => $strInitialize, 'color' => '#FF0000'),
|
||||
array('num' => '2', 'remark' => $strNormal, 'color' => '#0000FF'),
|
||||
array('num' => '3', 'remark' => $strPause, 'color' => '#FF0000'),
|
||||
array('num' => '4', 'remark' => $strStop, 'color' => '#FF0000')
|
||||
);
|
||||
|
||||
//================================操作权限设定======================================
|
||||
//---------------------操作种类权限定义------------------------------
|
||||
/*
|
||||
$privilegeDefArr=array(
|
||||
array('permit' => '0', 'remark' => 'any one', 'show'=>0),
|
||||
array('permit' => '1', 'remark' => $strOprationRestriction, 'show'=>1),
|
||||
array('permit' => '2', 'remark' => $strConfigurationRestriction, 'show'=>1),
|
||||
array('permit' => '3', 'remark' => $strManagementRestriction, 'show'=>1),
|
||||
array('permit' => '4', 'remark' => 'System management', 'show'=>1),
|
||||
array('permit' => '5', 'remark' => 'Development', 'show'=>0)
|
||||
);
|
||||
*/
|
||||
$privilegeDefArr = array(
|
||||
array('permit' => '0', 'remark' => 'any one', 'show' => 0),
|
||||
array('permit' => '1', 'remark' => $strOprationRestriction, 'show' => 1),
|
||||
array('permit' => '2', 'remark' => 'Technician', 'show' => 1),
|
||||
array('permit' => '3', 'remark' => 'Engineer', 'show' => 1),
|
||||
array('permit' => '4', 'remark' => $strManagementRestriction, 'show' => 1),
|
||||
array('permit' => '5', 'remark' => 'Development', 'show' => 0)
|
||||
);
|
||||
|
||||
//-------------------------按操作种类划分页面-----------------------
|
||||
//每个dir[$n][0]都是该类操作的操作权限等级值
|
||||
//具体的值对照oper_type的定义
|
||||
|
||||
$omcDir = '/' . $omcTypeArr[$thisOmcType]['path'];
|
||||
//$omcDir = '/omcWeb_v5';
|
||||
//echo "<br> omcDir=$omcDir";
|
||||
//---------------every one (包括未登录用户)可访问的目录-----------------
|
||||
$dirAccessDefArr[0][0] = $omcDir . '/security/login/';
|
||||
$dirAccessDefArr[0][1] = $omcDir . '/security/logout/';
|
||||
|
||||
|
||||
//---------------class one:operator 可访问的目录-----------------
|
||||
$dirAccessDefArr[1][0] = $omcDir . '/security/';
|
||||
$dirAccessDefArr[1][1] = $omcDir . '/frame/';
|
||||
$dirAccessDefArr[1][2] = $omcDir . '/fault/';
|
||||
|
||||
//---------------class two:engineer 可访问的目录-----------------
|
||||
$dirAccessDefArr[2][0] = $omcDir . '/security/';
|
||||
$dirAccessDefArr[2][1] = $omcDir . '/frame/';
|
||||
$dirAccessDefArr[2][2] = $omcDir . '/fault/';
|
||||
$dirAccessDefArr[2][3] = $omcDir . '/performance/';
|
||||
$dirAccessDefArr[2][4] = $omcDir . '/account/';
|
||||
$dirAccessDefArr[2][5] = $omcDir . '/element/';
|
||||
$dirAccessDefArr[2][6] = $omcDir . '/configuration/';
|
||||
|
||||
//---------------class three:manager 可访问的目录-----------------
|
||||
$dirAccessDefArr[3][0] = $omcDir . '/security/';
|
||||
$dirAccessDefArr[3][1] = $omcDir . '/frame/';
|
||||
$dirAccessDefArr[3][2] = $omcDir . '/fault/';
|
||||
$dirAccessDefArr[3][3] = $omcDir . '/account/';
|
||||
$dirAccessDefArr[3][4] = $omcDir . '/configuration/';
|
||||
$dirAccessDefArr[3][5] = $omcDir . '/element/';
|
||||
$dirAccessDefArr[3][6] = $omcDir . '/performance/';
|
||||
|
||||
//--------------class four:system manager 可访问的目录-----------------
|
||||
$dirAccessDefArr[4][0] = $omcDir . '/security/';
|
||||
$dirAccessDefArr[4][1] = $omcDir . '/frame/';
|
||||
$dirAccessDefArr[4][2] = $omcDir . '/fault/';
|
||||
$dirAccessDefArr[4][3] = $omcDir . '/account/';
|
||||
$dirAccessDefArr[4][4] = $omcDir . '/configuration/';
|
||||
$dirAccessDefArr[4][5] = $omcDir . '/element/';
|
||||
$dirAccessDefArr[4][6] = $omcDir . '/performance/';
|
||||
|
||||
//--------------developer 可访问的目录-----------------
|
||||
$dirAccessDefArr[5][0] = $omcDir . '/security/';
|
||||
$dirAccessDefArr[5][1] = $omcDir . '/frame/';
|
||||
$dirAccessDefArr[5][2] = $omcDir . '/fault/';
|
||||
$dirAccessDefArr[5][3] = $omcDir . '/account/';
|
||||
$dirAccessDefArr[5][4] = $omcDir . '/configuration/';
|
||||
$dirAccessDefArr[5][5] = $omcDir . '/element/';
|
||||
$dirAccessDefArr[5][6] = $omcDir . '/performance/';
|
||||
$dirAccessDefArr[5][7] = $omcDir . '/sysDefine/';
|
||||
?>
|
||||
<?php
|
||||
//Like VSS,TMG,PLAT they don't include the public parameter
|
||||
//it must store the parameter into separate param table, not param_99
|
||||
//return 1-pass
|
||||
function checkIndependSystem($sysTypeNo)
|
||||
{
|
||||
//PLAT
|
||||
if ($sysTypeNo[0] == '2')
|
||||
return 1;
|
||||
|
||||
switch ($sysTypeNo) {
|
||||
//VSS
|
||||
case 390:
|
||||
//TMG
|
||||
case 391:
|
||||
//AMRMG
|
||||
case 392:
|
||||
//GbC
|
||||
case 393:
|
||||
return 1;
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
//Like SMPP,MTP3,SCCP, it has subSysNo in the param table
|
||||
function checkPlatWhoHaveSubSysNo($sysTypeNo, $sysNo)
|
||||
{
|
||||
//MSS dual plat has the same parameter
|
||||
//param_9的表是没有subSysNo, 由于多网元环境 所以不是所有网元都是xxx_9_xx
|
||||
if ($sysNo != 9 && $sysNo !=3 && $sysNo !=5 && $sysNo !=6 ) { // 9-MSS,3-HLR,5-OCS/PPS,6-SMSC if not Pub
|
||||
switch ($sysTypeNo) {
|
||||
//SMPP
|
||||
case 260:
|
||||
|
||||
//MTP3
|
||||
case 222:
|
||||
|
||||
//SCCP
|
||||
case 223:
|
||||
return 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
?>
|
||||
Executable
+506
@@ -0,0 +1,506 @@
|
||||
<?php
|
||||
//¹«Óôʿâ
|
||||
$strAbnormal ="Abnormal";
|
||||
$strAccessManagement ="Access management";
|
||||
$strAccountAdmin ="Account admin";
|
||||
$strAccountCannotBeEmpty ="Account cannot be empty";
|
||||
$strAccountName ="Account name";
|
||||
$strAdd ="Add";
|
||||
$strAddCustomer ="Add customer";
|
||||
$strAddDevice ="Add device";
|
||||
$strAddFails ="Add fails";
|
||||
$strAddOperator ="Add operator";
|
||||
$strAddOption ="Add options";
|
||||
$strAddRoute ="Add route";
|
||||
$strAddSucceeds ="Add succeeds";
|
||||
$strAdvancedSetup ="Advanced";
|
||||
$strAlarmClean ="Alarm clean";
|
||||
$strAlarmContent ="Alarm description";
|
||||
$strAlarmLevel ="Alarm level";
|
||||
$strAlarmLog ="Alarm log";
|
||||
$strAlarmTime ="Alarm time";
|
||||
$strAlarmType ="Alarm type";
|
||||
$strAllAccounts ="All accounts";
|
||||
$strAllCall ="All call";
|
||||
$strAllE1 ="All E1";
|
||||
$strAllE1ID ="All E1 ID";
|
||||
$strAllSubsys ="All subsys";
|
||||
$strAllSystems ="All sys";
|
||||
$strAllTheTypes ="All the types";
|
||||
$strAlterSymbol ="Alter Symbol";
|
||||
$strAppealTime ="Appeal time";
|
||||
$strApplicableType ="Applicable type";
|
||||
$strAreYouSureToDelete ="Are you sure to delete ";
|
||||
$strAreYouSureToEdit ="Are you sure to edit";
|
||||
$strAttribute ="Attribute";
|
||||
$strAuthority ="Authority";
|
||||
$strAuthResult ="Authentication result";
|
||||
$strBack ="Back";
|
||||
$strBasicStatus ="Status";
|
||||
$strBinNumber ="Binary";
|
||||
$strBringToRest ="Bring to rest";
|
||||
$strCallAnalysis ="Report & analysis";
|
||||
$strCalledBusy ="Called busy";
|
||||
$strCallFailure ="Call failure";
|
||||
$strCallingPullDown ="Caller hang up";
|
||||
$strCallLoss ="Failure call";
|
||||
$strCallProcess ="Call Process ";
|
||||
$strCallStatistics ="Call statistics";
|
||||
$strCallType ="Call_type";
|
||||
$strCancel ="Cancel";
|
||||
$strCDRAdmin ="CDR admin";
|
||||
$strCheckInfo ="Check info";
|
||||
$strCheckResult ="Check result";
|
||||
$strChinese ="Chinese";
|
||||
$strClear ="Clear";
|
||||
$strClearedAlarm ="Cleared";
|
||||
$strClearTime ="Clear time";
|
||||
$strCommandBeExecute ="Command be execute";
|
||||
$strCommandControl ="Command monitor";
|
||||
$strComponentCode ="Component code";
|
||||
$strComponentName ="Component name";
|
||||
$strConfirm ="Confirm";
|
||||
$strConfirmPassword ="Confirm password";
|
||||
$strCPULoad ="CPU loading";
|
||||
$strCreationTime ="Creation Time";
|
||||
$strCriticalAlarm ="Critical";
|
||||
$strCustermerAdmin ="Custermer admin";
|
||||
$strCustomerInformation ="Customer information";
|
||||
$strCustomerManagement ="Customer management";
|
||||
$strCustomerQuery ="Customer query";
|
||||
$strSubscriberStatus ="Subscriber Status";
|
||||
$strDaemonOperationFailure ="Daemon operation failure";
|
||||
$strDaemonOperationSuccess ="Daemon operation success";
|
||||
$strDaemonOperationTimeout ="Daemon operation timeout";
|
||||
$strDaemonRecordNoChange ="Daemon records no change in four seconds";
|
||||
$strDataBackup ="Data backup";
|
||||
$strDatabase ="Database";
|
||||
$strDatabaseBackup ="Database backup";
|
||||
$strDatabaseBackup ="Database backup";
|
||||
$strDate ="Date";
|
||||
$strDay ="D";
|
||||
$strDecNumber ="Decimal";
|
||||
$strDelete ="Delete";
|
||||
$strDeleteFailure ="Delete failure";
|
||||
$strDeleteMode ="Delete";
|
||||
$strDeleteQueryResult ="Delete";
|
||||
$strDeleteRoute ="Delete route";
|
||||
$strDeleteSuccess ="Delete suceess";
|
||||
$strDeleteSystem ="Delete system";
|
||||
$strDetailDescription ="Detail description";
|
||||
$strDevice ="Device";
|
||||
$strDeviceType ="Device type";
|
||||
$strDisable ="Disable";
|
||||
$strDisplayRecords ="Record";
|
||||
$strDownload ="Download";
|
||||
$strE1ID ="E1 ID";
|
||||
$strE1Status ="E1 status";
|
||||
$strEdit ="Edit";
|
||||
$strEditFailure ="Edit failure";
|
||||
$strEditMode ="Edit mode";
|
||||
$strEditObject ="Edit object";
|
||||
$strEditSuccess ="Edit success";
|
||||
$strEnable ="Enable";
|
||||
$strEnglish ="Englsih";
|
||||
$strEquipment ="Equipment";
|
||||
$strError ="Error";
|
||||
$strEventType ="Event type";
|
||||
$strExample ="Example";
|
||||
$strExit ="Exit";
|
||||
$strFailure ="Failure";
|
||||
$strFileUpload ="File upload";
|
||||
$strFinish ="Finish";
|
||||
$strFriday ="Friday";
|
||||
$strFrom ="From";
|
||||
$strGlobalSystemPara ="Parameter transfer select and control";
|
||||
$strGraphTemplate ="Graph ";
|
||||
$strGuide ="Guide";
|
||||
$strHalt ="Halt";
|
||||
$strHardDiskSpace ="Hard disk space";
|
||||
$strHelp ="Help";
|
||||
$strHexadecNumber ="Hex";
|
||||
$strHour ="H";
|
||||
$strIncoming ="Incoming";
|
||||
$strIncomingLimit ="In_Restriction";
|
||||
$strInitialize ="Initialize";
|
||||
$strInputAccount ="Input account";
|
||||
$strInputBox ="Input box";
|
||||
$strInputPasswordIsNotCoherent ="Input Password is not coherent";
|
||||
$strInvalidUserName ="Invalid user name";
|
||||
$strItem ="Item";
|
||||
$strKeyWord ="Key word";
|
||||
$strLandscape ="Landscape";
|
||||
$strLANModule ="LAN module";
|
||||
$strLastSevenDay ="Last 7 days";
|
||||
$strLegend ="Legend";
|
||||
$strLineBusy ="Line busy";
|
||||
$strList ="List";
|
||||
$strLoadIn ="Load in";
|
||||
$strLoadOut ="Load out";
|
||||
$strLoadOutOrLoadIn ="Need load out or load in";
|
||||
$strLocal ="Local";
|
||||
$strLocalCall ="Local call";
|
||||
$strLocalQuery ="Local query";
|
||||
$strLocalTrunkGroup ="Local trunk group";
|
||||
$strLoginInfo ="Login info";
|
||||
$strLogon ="Logon";
|
||||
$strLogonAgain ="Try again";
|
||||
$strLogonFails ="inviable user name";
|
||||
$strLogType ="Log type";
|
||||
$strMainMenu ="Main menu";
|
||||
$strMajorAlarm ="Major";
|
||||
$strMapUpload ="Map upload";
|
||||
$strMasterClock ="Master clock";
|
||||
$strMemoryWaitStatus ="Share memory be waiting more than 4 seconds";
|
||||
$strMenu ="Menu";
|
||||
$strMinorAlarm ="Minor";
|
||||
$strMinute ="M";
|
||||
$strModificationFails ="Modification fails";
|
||||
$strModificationSucceeds ="Modification succeeds";
|
||||
$strModifyPassword ="Modify password";
|
||||
$strMonday ="Monday";
|
||||
$strMonth ="M";
|
||||
$strMSISDN ="Tel Number";
|
||||
$strMSStatus ="MS Status";
|
||||
$strMultipleBox ="Multiple box";
|
||||
$strName ="Name";
|
||||
$strNewPassword ="New password";
|
||||
$strNextPage ="next page";
|
||||
$strNo ="No";
|
||||
$strNormal ="Normal";
|
||||
$strNotFindRecord ="No record found";
|
||||
$strNothing ="None";
|
||||
$strObjectID ="Object ID";
|
||||
$strOldPassword ="Old password";
|
||||
$strOperateDatabaseFailure ="Operate database failure!";
|
||||
$strOperateDatabaseSuccess ="Operate database success!";
|
||||
$strOperationAuthority ="Access restriction";
|
||||
$strOperationLog ="Operation log";
|
||||
$strOperationSpecification ="Operation specification";
|
||||
$strOperator ="Operator";
|
||||
$strOperatorAccount ="Operator name";
|
||||
$strOperatorList ="Operator list";
|
||||
$strOption ="Option";
|
||||
$strOrderObject ="Order object";
|
||||
$strOrderType ="Order type";
|
||||
$strOutgoing ="Outgoing";
|
||||
$strOutgoingLimit ="Out_Restriction";
|
||||
$strPageNumberHasAMistake ="Page no. has a mistake!";
|
||||
$strParaEdit ="parameter edit";
|
||||
$strParaLength ="Parameter length";
|
||||
$strParaMaintenance ="Configuration";
|
||||
$strParameterDescription ="Parameter description";
|
||||
$strParameterSetup ="Parameter Setup";
|
||||
$strParaNumber ="parameters number";
|
||||
$strParaStructure ="Parameters structure";
|
||||
$strParaType ="parameter type";
|
||||
$strPassword ="Password";
|
||||
$strPasswordCannotBeEmpty ="Password cannot be empty";
|
||||
$strPasswordDigitHasAMistake ="Password digit has a mistake";
|
||||
$strPasswordModificationSucceeds ="Password modification succeeds";
|
||||
$strPause ="Pause";
|
||||
$strPels ="Pixel";
|
||||
$strPercent ="Percent";
|
||||
$strPhysicalAddress ="Physical address";
|
||||
$strPhysicalLayer ="Physical layer";
|
||||
$strPhysicsMemory ="Physical memory";
|
||||
$strPleaseConfirmYourPassword ="Please confirm your password";
|
||||
$strPleaseInputRealName ="Please input real name";
|
||||
$strPleaseLogonSystem ="Please logon system";
|
||||
$strPortrait ="Portrait";
|
||||
$strPrefixNumber ="Prefix number";
|
||||
$strPreview ="Preview";
|
||||
$strPreviousPage ="previous page";
|
||||
$strPrimaryLanguage ="Primary language";
|
||||
$strProcessStatus ="Process status";
|
||||
$strProduceTemplateCode ="Produce template code";
|
||||
$strPullDownMenu ="Pull-down menu";
|
||||
$strQuery ="Query";
|
||||
$strQueryNumberRange ="Tel number range:";
|
||||
$strRateAdmin ="Tariff Admin";
|
||||
$strRealName ="Real name";
|
||||
$strRefreshTime ="Refresh time";
|
||||
$strRefresh ="Refresh";
|
||||
$strRemainAll ="free/capacity";
|
||||
$strRemark ="Remarks"; //sometime del this var
|
||||
$strRemarks ="Remarks";
|
||||
$strRemote ="Remote";
|
||||
$strRepairResult ="Repair result";
|
||||
$strRepeatInput ="Repeat input:";
|
||||
$strRepeatInputtingPassword ="Confirm password";
|
||||
$strReset ="Reset";
|
||||
$strResponse ="Response";
|
||||
$strRestart ="Restart";
|
||||
$strResult ="Result";
|
||||
$strReturn ="Return";
|
||||
$strRoute ="Route";
|
||||
$strSaturday ="Saturday";
|
||||
$strSave ="Save";
|
||||
$strSaveFailure ="Save failure";
|
||||
$strSaveSuccess ="Save success";
|
||||
$strSearch ="Search";
|
||||
$strSecond ="S";
|
||||
$strSecondLanguage ="Secondary language";
|
||||
$strSelect ="select";
|
||||
$strSender ="Sender";
|
||||
$strSIMNumber ="IMSI";
|
||||
$strSixHours ="6 hours";
|
||||
$strSize ="Size";
|
||||
$strSoftwareDownload ="Software download";
|
||||
$strSoftwareUpdate ="Software update";
|
||||
$strSoftwareUpload ="Software upload";
|
||||
$strSorryYouHaveNotTheAuthority ="Sorry, You have not the authority!";
|
||||
$strSpecification ="Specification";
|
||||
$strSpecifyTime ="Specify time";
|
||||
$strStatisticsLengend ="Graph";
|
||||
$strStatus ="Status";
|
||||
$strStatusInformation ="status information";
|
||||
$strStatusMonitor ="Status monitor";
|
||||
$strStop ="Stop";
|
||||
$strSubmit ="Submit";
|
||||
$strSubmit ="Submit";
|
||||
$strSubsystem ="Subsystem";
|
||||
$strSubsystemID ="Subsystem ID";
|
||||
$strSubsystemPara ="Subsystem parameters";
|
||||
$strSubsystemStatus ="Subsystem status";
|
||||
$strSubsystemType ="Subsystem type";
|
||||
$strSuccess ="Success";
|
||||
$strSunday ="Sunday";
|
||||
$strSwitchAdmin ="Switch admin";
|
||||
$strSwitchPara ="Switch parameters";
|
||||
$strSystem ="System";
|
||||
$strSystemAdmin ="System admin";
|
||||
$strSystemID ="System ID";
|
||||
$strSystemID ="System ID";
|
||||
$strSystemLoginPassword ="Login password";
|
||||
$strSystemPara ="System parameters";
|
||||
$strSystemStatus ="System status";
|
||||
$strSystemType ="System type";
|
||||
$strTable ="Table";
|
||||
$strTemplateSetup ="Template setup";
|
||||
$strTheInputPasswordIsIncorrect ="The input Password is incorrect";
|
||||
$strTheNumber ="No.";
|
||||
$strTheRecordExits ="The record exits";
|
||||
$strThisMonth ="This month";
|
||||
$strThisWeek ="This week";
|
||||
$strThreeHours ="3 hours";
|
||||
$strThursday ="Thursday";
|
||||
$strTime ="Time";
|
||||
$strTimeFormat ="Time format";
|
||||
$strTimes ="Times";
|
||||
$strTo ="to";
|
||||
$strToday ="Today";
|
||||
$strToPage ="To";
|
||||
$strTotal ="Total";
|
||||
$strTotalPages ="Total pages";
|
||||
$strTotalRecords ="Total records";
|
||||
$strTransportLayer ="Transport layer";
|
||||
$strTrunkGroup ="Trunk group";
|
||||
$strTuesday ="Tuesday";
|
||||
$strTwelveHours ="12 hours";
|
||||
$strTwentyFourHours ="24 hours";
|
||||
$strTwoHours ="2 hours";
|
||||
$strType ="Type";
|
||||
$strUndefinedAlarm ="Undefined";
|
||||
$strUninstall ="N/A";
|
||||
$strUninstalled ="N/A";
|
||||
$strUpdatedTime ="Update time";
|
||||
$strUpload ="Upload";
|
||||
$strUploadFailure ="Upload failure";
|
||||
$strUploadSuccess ="Upload success";
|
||||
$strUserManual ="User manual";
|
||||
$strUserName ="User name";
|
||||
$strUserNameCannotBeEmpty ="User name cannot be empty";
|
||||
$strValue ="Value";
|
||||
$strValue ="Value";
|
||||
$strVersion ="vesion";
|
||||
$strViewThisPageNeedJavaPlugin ="View this page need install java plugin";
|
||||
$strVirtualMemory ="Virtual memory";
|
||||
$strWarningAlarm ="Warning";
|
||||
$strWednesday ="Wednesday";
|
||||
$strWhereCode ="where condition";
|
||||
$strWidth ="Width";
|
||||
$strWithinFiveHours ="5 hours";
|
||||
$strWithinOneHour ="1 hour";
|
||||
$strWorkStatus ="Work status";
|
||||
$strYear ="Y";
|
||||
$strYes ="Yes";
|
||||
$strYesterday ="Yesterday";
|
||||
$strInUseAll ="in use/capacity";
|
||||
$strPortStatus ="Port status";
|
||||
$strAttempt ="Attempt";
|
||||
$strStartTime ="Start time";
|
||||
$strOprationRestriction ="Operation";
|
||||
$strConfigurationRestriction ="Configuration";
|
||||
$strManagementRestriction ="Management";
|
||||
$strDesignRestriction ="Design";
|
||||
|
||||
//add by lilong
|
||||
$strSuccessful =" Successful";
|
||||
$strFail =" Fail";
|
||||
$strSysType ="System type:";
|
||||
$strAlamState ="Alarm category:";
|
||||
$strAll ="All";
|
||||
$strNotCleared ="Not cleared";
|
||||
$strCleared ="Cleared";
|
||||
$strSearch ="Search";
|
||||
$strClear ="Clear";
|
||||
$strCallerNumber ="Caller number";
|
||||
$strStatusInfo ="status";
|
||||
$strVersion ="Version";
|
||||
$strCentralOffice ="Central office";
|
||||
$strRemoteDevice ="Remote";
|
||||
$strSysStatus ="Status";
|
||||
$strMap ="Map";
|
||||
$strPane0Status ="CSC0-E1/T1 port status";
|
||||
$strPane1Status ="CSC1-E1/T1 port status";
|
||||
$strServer ="Server";
|
||||
$strServerSummaryInfo ="Server summary information";
|
||||
$strPeripheral ="Peripheral";
|
||||
$strPeripheralSummaryInfo ="Peripheral summary information";
|
||||
$strNotFoundAnyBTS ="No found any BTS";
|
||||
$strNotFoundAnyBSC ="No Found any BSC";
|
||||
$strReload ="Reload";
|
||||
$strImport ="Import";
|
||||
$strPrevious ="Previous";
|
||||
$strNext ="Next";
|
||||
|
||||
//add by lilong
|
||||
$strTitleAdvanced ="Advanced";
|
||||
$strCurrentTariff ="Current tariff";
|
||||
$strTitleSpace =" > ";
|
||||
$strRent ="Rent";
|
||||
$strTariffRentID ="ID";
|
||||
$strTariffRentChargeDate ="Charge date";
|
||||
$strTariffRentChargeAmount ="Charge amount";
|
||||
$strTariffRentCapFlag ="Cap flag";
|
||||
$strGet ="Get";
|
||||
$strSet ="Set";
|
||||
$strCompare ="Compare";
|
||||
$strLoad ="Load";
|
||||
$strSave ="Save";
|
||||
$strLock ="Lock";
|
||||
$strUnlock ="Unlock";
|
||||
$strDailingPrefix ="Dailing prefix";
|
||||
$strTrunkGroup ="Trunk group";
|
||||
$strCell ="Cell";
|
||||
$strClockReference ="Clock reference";
|
||||
$strParameter ="Parameter";
|
||||
$strBHCA ="BHCA";
|
||||
$strData ="Data";
|
||||
$strFlow ="Flow";
|
||||
$strAnalysis ="Analysis";
|
||||
$strTariffPlan ="Tariff plan";
|
||||
$strBasicTariff ="Basic tariff";
|
||||
$strHoliday ="Holiday";
|
||||
$strMultiServices ="Multiple services";
|
||||
$strPlanManage ="Plan management";
|
||||
$strMessageLength ="Message length";
|
||||
$strConfiguration ="Configuration";
|
||||
|
||||
//added by xiehua
|
||||
$strTitleConfiguration ="Configuration";
|
||||
$strTitleAccount ="Account";
|
||||
$strTitlePerformance ="Performance";
|
||||
$strSubscriberManage ="Subscriber";
|
||||
$strRefreshCard ="Referesh card";
|
||||
$strSubscriber ="Subscriber";
|
||||
$strLog ="Log";
|
||||
$strMaintenance ="Maintenance";
|
||||
$strNetwork ="Network";
|
||||
$strBackupRestore ="Backup&Restore";
|
||||
$strDualServerMode ="Dual server mode";
|
||||
$strCharge ="Charge";
|
||||
$strAdvanced ="Advanced";
|
||||
$strPerformance ="Performance";
|
||||
$strGetAll ="Get All";
|
||||
|
||||
//added by Cui Ticun
|
||||
$strDiscountID ="Discount ID";
|
||||
$strFreeChargeUnit ="Free charge unit(s)";
|
||||
$strFav_call ="Friends and family number call";
|
||||
$strFav_listedtion ="Friends and family number list edition";
|
||||
$strCf_Cug_call ="Forward + CUG call";
|
||||
$strCf_Fav_call ="Forward + F&F call";
|
||||
$strCug_Fav_call ="CUG + F&F call";
|
||||
$strCf_Cug_Fav_call ="Forward + CUG + F&F call";
|
||||
$strUndo ="Undo";
|
||||
$strLinkset ="Linkset";
|
||||
$strLink ="Link";
|
||||
$strLocalNode ="Local node";
|
||||
$strNetworkCode ="Network code";
|
||||
$strMtTariff ="MT Tariff";
|
||||
$strSMContent ="Content";
|
||||
$strPriority ="Priority";
|
||||
$strTimeToLive ="Time to live";
|
||||
$strSent ="Sent";
|
||||
$strDiscarded ="Discarded";
|
||||
$strPending ="Pending";
|
||||
$strCaller ="Caller #";
|
||||
$strCalled ="Called #";
|
||||
$strUpdate ="Update";
|
||||
$strReceive ="Receive";
|
||||
$strLastAttempt ="Last attempt";
|
||||
$strGttObjects ="GTT Objects";
|
||||
|
||||
$strTitleGet="Get all Parameters from device";
|
||||
$strTitleSet="Set all Parameters to device";
|
||||
$flagColor = "#E6FFFF";
|
||||
|
||||
//add by Zheng Jianhui
|
||||
$strE164Number="E164 Number";
|
||||
$strUndo="Undo";
|
||||
$strModule="Module";
|
||||
$strVMSOrVSS="VSS";
|
||||
$strSMSEG="SMEG";
|
||||
|
||||
/***********************Error and prompt display define***************************/
|
||||
$STR_CONF_COMMAND_ERR_0000 ="Command successful";
|
||||
|
||||
//ERR_001*:should prompt the operator "Check the device's status"
|
||||
$STR_CONF_PROMPT_01 ="Please check the device status";
|
||||
$STR_CONF_COMMAND_ERR_0101 ="OMC cannot get the device IP";
|
||||
$STR_CONF_COMMAND_ERR_0102 ="The device IP is error";
|
||||
|
||||
//ERR_002*:should prompt the operator "Check the software version of OMC and device"
|
||||
$STR_CONF_PROMPT_02 ="Please check the software version of OMC and device";
|
||||
$STR_CONF_COMMAND_ERR_0201 ="OMC cannot get the object value";
|
||||
$STR_CONF_COMMAND_ERR_0202 ="OMC cannot get the instance value";
|
||||
|
||||
//ERR_003*:should prompt the operator "Check the OMC's status or send command again"
|
||||
$STR_CONF_PROMPT_03 ="Please check the OMC status or send command again";
|
||||
$STR_CONF_COMMAND_ERR_0301 ="OMC send snmp message failed";
|
||||
$STR_CONF_COMMAND_ERR_0302 ="OMC command buffer is full";
|
||||
$STR_CONF_COMMAND_ERR_0303 ="Network is busy or managed object response is too slow";
|
||||
|
||||
//ERR_04*:should prompt the operator "Check the device's status or send command again"
|
||||
$STR_CONF_PROMPT_04 ="Please check the device status or send commands again.Before sending commands, please make sure OMC servers and managed servers are online.";
|
||||
$STR_CONF_COMMAND_ERR_0401 ="Invailed response message";
|
||||
$STR_CONF_COMMAND_ERR_0402 ="Error Response message";
|
||||
$STR_CONF_COMMAND_ERR_0403 ="Response timeout";
|
||||
|
||||
//ERR_05*:Value Error
|
||||
$STR_CONF_PROMPT_05 ="Please check the value range and syntax in the online help then try it again.";
|
||||
$STR_CONF_COMMAND_ERR_0501 ="Too Big";
|
||||
$STR_CONF_COMMAND_ERR_0502 ="No Such Name";
|
||||
$STR_CONF_COMMAND_ERR_0503 ="Bad Value";
|
||||
$STR_CONF_COMMAND_ERR_0504 ="Read Only";
|
||||
$STR_CONF_COMMAND_ERR_0505 ="Generate Error";
|
||||
$STR_CONF_COMMAND_ERR_0506 ="No Access";
|
||||
$STR_CONF_COMMAND_ERR_0507 ="Wrong Type";
|
||||
$STR_CONF_COMMAND_ERR_0508 ="Wrong Length";
|
||||
$STR_CONF_COMMAND_ERR_0509 ="Wrong Encoding";
|
||||
$STR_CONF_COMMAND_ERR_0510 ="Wrong Value";
|
||||
$STR_CONF_COMMAND_ERR_0511 ="No Creation";
|
||||
$STR_CONF_COMMAND_ERR_0512 ="Inconsistent Value";
|
||||
$STR_CONF_COMMAND_ERR_0513 ="Resource Unavailabe";
|
||||
$STR_CONF_COMMAND_ERR_0514 ="Commit Failed";
|
||||
$STR_CONF_COMMAND_ERR_0515 ="Undo Failed";
|
||||
$STR_CONF_COMMAND_ERR_0516 ="Authorization Error";
|
||||
$STR_CONF_COMMAND_ERR_0517 ="No Writable";
|
||||
$STR_CONF_COMMAND_ERR_0518 ="InconsistentName";
|
||||
|
||||
$STR_CONF_COMMAND_ERR_9999 ="Unknown error";
|
||||
$strPleaseInputIndexNo ="Please input index No.";
|
||||
$indexNoDefinedBy ="Index is defined by";
|
||||
?>
|
||||
Executable
+134
@@ -0,0 +1,134 @@
|
||||
<!--
|
||||
NS4=(document.layers)?1:0;
|
||||
IE4=(document.all)?1:0;
|
||||
ver4=(NS4||IE4)?1:0;
|
||||
|
||||
if(ver4)
|
||||
{
|
||||
with(document)
|
||||
{
|
||||
write("<STYLE TYPE='text/css'>");
|
||||
if(NS4)
|
||||
{
|
||||
write(".parent {position:absolute; visibility:visible}");
|
||||
write(".child {position:absolute; visibility:visible}");
|
||||
write(".regular {position:absolute; visibility:visible}")
|
||||
}
|
||||
else
|
||||
{
|
||||
write(".child {display:none}")
|
||||
}
|
||||
write("</STYLE>");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function getIndex(el)
|
||||
{
|
||||
ind=null;
|
||||
for(i=0;i<document.layers.length;i++)
|
||||
{
|
||||
whichEl=document.layers[i];
|
||||
if(whichEl.id==el)
|
||||
{
|
||||
ind=i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return ind;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function arrange()
|
||||
{
|
||||
nextY=document.layers[firstInd].pageY+document.layers[firstInd].document.height;
|
||||
for(i=firstInd+1;i<document.layers.length;i++)
|
||||
{
|
||||
whichEl=document.layers[i];
|
||||
if(whichEl.visibility!="hide")
|
||||
{
|
||||
whichEl.pageY=nextY;
|
||||
nextY+=whichEl.document.height;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function initIt()
|
||||
{
|
||||
if(!ver4)
|
||||
return;
|
||||
if(NS4)
|
||||
{
|
||||
for(i=0;i<document.layers.length;i++)
|
||||
{
|
||||
whichEl=document.layers[i];
|
||||
if(whichEl.id.indexOf("Child")!=-1)
|
||||
whichEl.visibility="hide";
|
||||
}
|
||||
arrange();
|
||||
}
|
||||
else
|
||||
{
|
||||
divColl=document.all.tags("DIV");
|
||||
for(i=0;i<divColl.length;i++)
|
||||
{
|
||||
whichEl=divColl(i);
|
||||
if(whichEl.className=="child")
|
||||
whichEl.style.display="none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function expandIt(el)
|
||||
{
|
||||
if(!ver4)
|
||||
return;
|
||||
if(IE4)
|
||||
{
|
||||
whichEl=eval(el+"Child");
|
||||
if(whichEl.style.display=="none")
|
||||
{
|
||||
whichEl.style.display="block";
|
||||
}
|
||||
else
|
||||
{
|
||||
whichEl.style.display="none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
whichEl=eval("document."+el+"Child");
|
||||
if(whichEl.visibility=="hide")
|
||||
{
|
||||
whichEl.visibility="show";
|
||||
}
|
||||
else
|
||||
{
|
||||
whichEl.visibility="hide";
|
||||
}
|
||||
arrange();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function expandsubIt(el)
|
||||
{
|
||||
if(!ver4)
|
||||
return;
|
||||
if(IE4)
|
||||
{
|
||||
document.all.subKB1Child.style.display="block";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.KB1Child.subKB1Child.visibility="show";
|
||||
|
||||
arrange();
|
||||
}
|
||||
}
|
||||
|
||||
onload=initIt;
|
||||
//-->
|
||||
Executable
+1127
File diff suppressed because it is too large.
Load diff
Executable
+595
@@ -0,0 +1,595 @@
|
||||
<?php
|
||||
#session_start();
|
||||
//要使用者每次都能得到最新的资料,而不是 Proxy 或 cache 中的资料,可以使用下列的标头
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
|
||||
header("Cache-Control: no-cache, must-revalidate");
|
||||
header("Pragma: no-cache");
|
||||
header("Content-Type:text/html;charset=gb2312");
|
||||
|
||||
if (!session_id()) session_start();
|
||||
|
||||
if (isset($_SESSION["userInfo"])) {
|
||||
if (!isset($userInfo)) $userInfo = $_SESSION["userInfo"];
|
||||
$selectedLanguage = $userInfo['language'];
|
||||
$language = $userInfo['language'];
|
||||
$userName = $userInfo['ID'];
|
||||
}
|
||||
|
||||
//$sysTypeNo = $_REQUEST['sysTypeNo'];
|
||||
//$sysNo = $_REQUEST['sysNo'];
|
||||
require("../../inc/lib.inc");
|
||||
require("../sub_inc/sub_config.inc");
|
||||
$session_timeout = getPubVar("HTTPSessionTimeout") - 0;
|
||||
|
||||
if ($session_timeout == 0)
|
||||
$session_timeout = 15 * 60;
|
||||
else
|
||||
|
||||
$session_timeout = $session_timeout * 60;
|
||||
|
||||
|
||||
|
||||
|
||||
$PHP_SELF = $_SERVER['PHP_SELF'];
|
||||
$if_pass = pageAccessChk($PHP_SELF);
|
||||
if ($if_pass < 0) {
|
||||
echo "<script language=\"javascript\">";
|
||||
echo "var logon='Please Logon System';";
|
||||
echo "alert(logon);";
|
||||
echo "window.parent.parent.location.href=\"../../security/logout/logout.php\";";
|
||||
echo "</script>";
|
||||
exit();
|
||||
}
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
|
||||
header("Cache-Control: no-cache, must-revalidate");
|
||||
header("Pragma: no-cache");
|
||||
|
||||
if ($selectedLanguage == 'chn'){
|
||||
?>
|
||||
<html>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
th {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 9pt;
|
||||
font-weight: bold;
|
||||
background-color: #D3DCE3;
|
||||
}
|
||||
|
||||
td {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
form {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 9pt
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 9pt;
|
||||
BACKGROUND-COLOR: white;
|
||||
BORDER-BOTTOM: #000000 1px solid;
|
||||
BORDER-LEFT: #000000 1px solid;
|
||||
BORDER-RIGHT: #000000 1px solid;
|
||||
BORDER-TOP: #000000 1px solid;
|
||||
}
|
||||
|
||||
input.text {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 9pt;
|
||||
BACKGROUND-COLOR: white;
|
||||
BORDER-BOTTOM: #000000 1px solid;
|
||||
BORDER-LEFT: #000000 1px solid;
|
||||
BORDER-RIGHT: #000000 1px solid;
|
||||
BORDER-TOP: #000000 1px solid;
|
||||
}
|
||||
|
||||
input.button {
|
||||
font-family: Verdana;
|
||||
font-size: 9pt
|
||||
}
|
||||
|
||||
select {
|
||||
font-size: 9pt;
|
||||
BACKGROUND-COLOR: white;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 16pt;
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
A:link {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 9pt;
|
||||
text-decoration: none;
|
||||
color: #0000FF
|
||||
}
|
||||
|
||||
A:visited {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 9pt;
|
||||
text-decoration: none;
|
||||
color: #0000FF
|
||||
}
|
||||
|
||||
A:hover {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 9pt;
|
||||
text-decoration: underline;
|
||||
color: #FF0000
|
||||
}
|
||||
|
||||
A:link.nav {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
color: #0000FF
|
||||
}
|
||||
|
||||
A:visited.nav {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
color: #0000FF
|
||||
}
|
||||
|
||||
A:hover.nav {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
color: #FF0000
|
||||
}
|
||||
|
||||
.nav {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
color: #000000
|
||||
}
|
||||
|
||||
#leftMargin {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
BACKGROUND-IMAGE: url(../../images/background_main_L.gif);
|
||||
BACKGROUND-REPEAT: repeat-y;
|
||||
}
|
||||
|
||||
#rightMargin {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
BACKGROUND-IMAGE: url(../../images/background_main_R.gif);
|
||||
BACKGROUND-REPEAT: repeat-y;
|
||||
}
|
||||
|
||||
#mainContent {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
BACKGROUND-IMAGE: url(../../images/background_main_M.gif);
|
||||
BACKGROUND-REPEAT: repeat-x;
|
||||
}
|
||||
|
||||
-->
|
||||
</style>
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
<html>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
th {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
font-weight: bold;
|
||||
background-color: #D3DCE3;
|
||||
}
|
||||
|
||||
td {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
form {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
BACKGROUND-COLOR: white;
|
||||
BORDER-BOTTOM: #000000 1px solid;
|
||||
BORDER-LEFT: #000000 1px solid;
|
||||
BORDER-RIGHT: #000000 1px solid;
|
||||
BORDER-TOP: #000000 1px solid;
|
||||
}
|
||||
|
||||
input.text {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
BACKGROUND-COLOR: white;
|
||||
BORDER-BOTTOM: #000000 1px solid;
|
||||
BORDER-LEFT: #000000 1px solid;
|
||||
BORDER-RIGHT: #000000 1px solid;
|
||||
BORDER-TOP: #000000 1px solid;
|
||||
}
|
||||
|
||||
input.button {
|
||||
font-family: Verdana;
|
||||
font-size: 8pt
|
||||
}
|
||||
|
||||
select {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
BACKGROUND-COLOR: white;
|
||||
BORDER-BOTTOM: #000000 1px solid;
|
||||
BORDER-LEFT: #000000 1px solid;
|
||||
BORDER-RIGHT: #000000 1px solid;
|
||||
BORDER-TOP: #000000 1px solid;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 16pt;
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
A:link {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
text-decoration: none;
|
||||
color: #0000FF
|
||||
}
|
||||
|
||||
A:visited {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
text-decoration: none;
|
||||
color: #0000FF
|
||||
}
|
||||
|
||||
A:hover {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 8pt;
|
||||
text-decoration: underline;
|
||||
color: #FF0000
|
||||
}
|
||||
|
||||
A:link.nav {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
color: #0000FF
|
||||
}
|
||||
|
||||
A:visited.nav {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
color: #0000FF
|
||||
}
|
||||
|
||||
A:hover.nav {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
color: #FF0000
|
||||
}
|
||||
|
||||
.nav {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
color: #000000
|
||||
}
|
||||
|
||||
#leftMargin {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
BACKGROUND-IMAGE: url(../../images/background_main_L.gif);
|
||||
BACKGROUND-REPEAT: repeat-y;
|
||||
}
|
||||
|
||||
#rightMargin {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
BACKGROUND-IMAGE: url(../../images/background_main_R.gif);
|
||||
BACKGROUND-REPEAT: repeat-y;
|
||||
}
|
||||
|
||||
#mainContent {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
BACKGROUND-IMAGE: url(../../images/background_main_M.gif);
|
||||
BACKGROUND-REPEAT: repeat-x;
|
||||
}
|
||||
|
||||
-->
|
||||
</style>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<script LANGUAGE="JavaScript">
|
||||
function openHelp(helpId) {
|
||||
URL = "../../omcHelp/index.php?helpId=" + helpId;
|
||||
var baseSetting = 'toolbar=no,directories=no,menubar=no,scrollbars=yes,resizable=yes,left=0,top=0';
|
||||
var size800 = ',width=790,height=560';
|
||||
var size1024 = ',width=1010,height=710';
|
||||
if (window.screen.width == 800 && window.screen.height == 600) {
|
||||
pageSetting = baseSetting + size800;
|
||||
} else {
|
||||
pageSetting = baseSetting + size1024;
|
||||
}
|
||||
msgWindow = window.open(URL, 'helpWin', pageSetting);
|
||||
msgWindow.focus();
|
||||
}
|
||||
|
||||
function adjust() {
|
||||
var offsetW = document.body.offsetWidth;
|
||||
var offsetH = document.body.offsetHeight;
|
||||
var scrollH = document.body.scrollHeight;
|
||||
var scrollW = document.body.scrollWidth;
|
||||
var clientH = document.body.clientHeight;
|
||||
var clientW = document.body.clientWidth;
|
||||
|
||||
var browserr = navigator.appName;
|
||||
if (browserr == "Microsoft Internet Explorer") {
|
||||
document.getElementById('img_up').width = offsetW;
|
||||
document.getElementById('img_up').height = 75;
|
||||
|
||||
document.getElementById('img_down').width = offsetW;
|
||||
document.getElementById('img_down').height = offsetH;
|
||||
|
||||
document.getElementById('content_down').style.width = offsetW - 20;
|
||||
document.getElementById('content_down').style.height = offsetH - 75;
|
||||
} else {
|
||||
//alert('offsetH='+offsetH+',scrollH='+scrollH+',clientH='+clientH);
|
||||
document.getElementById('img_up').width = offsetW + 23;
|
||||
document.getElementById('img_up').height = 75;
|
||||
|
||||
document.getElementById('img_down').width = offsetW + 23;
|
||||
document.getElementById('img_down').height = clientH;
|
||||
document.getElementById('img_down').style.top = '175px';
|
||||
document.getElementById('img_down').style.left = '0px';
|
||||
|
||||
document.getElementById('div_down').style.top = '75px';
|
||||
document.getElementById('div_down').style.bottom = '500px';
|
||||
|
||||
document.getElementById('content_down').style.width = offsetW + 5;
|
||||
document.getElementById('content_down').style.height = clientH - 75;
|
||||
|
||||
document.getElementById('table_up').width = offsetW;
|
||||
}
|
||||
//add this style to body
|
||||
//leftmargin="15" rightmargin="10"
|
||||
//overflow:hidden;overflow-x:hidden;overflow-y:hidden;
|
||||
}
|
||||
|
||||
//-------------from frame window--------------------
|
||||
function adjust_frame(flag) {
|
||||
|
||||
var offsetW = document.body.offsetWidth;
|
||||
var offsetH = document.body.offsetHeight;
|
||||
var scrollH = document.body.scrollHeight;
|
||||
var scrollW = document.body.scrollWidth;
|
||||
var clientH = document.body.clientHeight;
|
||||
var clientW = document.body.clientWidth;
|
||||
|
||||
var browserr = navigator.appName;
|
||||
if (browserr == "Microsoft Internet Explorer") {
|
||||
|
||||
|
||||
document.getElementById('img_up').width = offsetW;
|
||||
document.getElementById('img_up').height = 75;
|
||||
|
||||
document.getElementById('img_down').width = offsetW;
|
||||
document.getElementById('img_down').height = offsetH;
|
||||
|
||||
document.getElementById('content_down').style.width = offsetW - 20;
|
||||
document.getElementById('content_down').style.height = offsetH;
|
||||
|
||||
} else {
|
||||
//alert('offsetH='+offsetH+',scrollH='+scrollH+',clientH='+clientH);
|
||||
document.getElementById('img_up').width = offsetW + 23;
|
||||
document.getElementById('img_up').height = 75;
|
||||
|
||||
document.getElementById('img_down').width = offsetW + 23;
|
||||
document.getElementById('img_down').height = clientH;
|
||||
document.getElementById('img_down').style.top = '175px';
|
||||
document.getElementById('img_down').style.left = '0px';
|
||||
|
||||
document.getElementById('div_down').style.top = '0px';
|
||||
document.getElementById('div_down').style.bottom = '500px';
|
||||
|
||||
document.getElementById('content_down').style.width = offsetW + 5;
|
||||
document.getElementById('content_down').style.height = clientH;
|
||||
if (flag == 'up')
|
||||
document.getElementById('table_up').width = offsetW;
|
||||
}
|
||||
|
||||
//add this style to body
|
||||
//leftmargin="15" rightmargin="10"
|
||||
//overflow:hidden;overflow-x:hidden;overflow-y:hidden;
|
||||
}
|
||||
|
||||
function scroll_div(scroll_y) {
|
||||
document.getElementById('content_down').scrollTop = scroll_y;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<?php
|
||||
//------------------for single window------------------------
|
||||
function adjust_head()
|
||||
{
|
||||
echo "<div style=\"position:absolute;z-index=2;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_up\" src=\"../../images/content_up.gif\">";
|
||||
echo "</div>";
|
||||
|
||||
echo "<div id=\"div_down\" style=\"position:absolute;z-index=1;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_down\" src=\"../../images/content_down.gif\">";
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
function adjust_title_head()
|
||||
{
|
||||
echo "<div style=\"position:absolute;z-index=100;\">";
|
||||
}
|
||||
|
||||
function adjust_title_tail()
|
||||
{
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
function adjust_content_head()
|
||||
{
|
||||
global $userInfo, $session_timeout;
|
||||
|
||||
echo "<div id=\"content_down\" style=\"height:630;width:1074;position:absolute;z-index=50;top:75px;left:15px;overflow:scroll;overflow-x:hidden;overflow-y:auto;\">";
|
||||
|
||||
$now = time();
|
||||
if ($now - $userInfo['refresh_time'] > $session_timeout)
|
||||
$userInfo['privilege'] = 0;
|
||||
else
|
||||
$userInfo['refresh_time'] = $now;
|
||||
}
|
||||
|
||||
function adjust_content_tail()
|
||||
{
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
//-----------------for frame window-----------------------
|
||||
function adjust_head_frame($flag = "up")
|
||||
{
|
||||
if ($flag == "up") {
|
||||
echo "<div style=\"position:absolute;z-index=2;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_up\" src=\"../../images/content_up.gif\">";
|
||||
echo "</div>";
|
||||
|
||||
echo "<div id=\"div_down\" style=\"display:none;position:absolute;z-index=1;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_down\" src=\"../../images/content_down.gif\">";
|
||||
echo "</div>";
|
||||
} else {
|
||||
|
||||
echo "<div style=\"display:none;position:absolute;z-index=1;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_up\" src=\"../../images/content_up.gif\">";
|
||||
echo "</div>";
|
||||
//background-color:red;
|
||||
echo "<div id=\"div_down\" style=\"position:absolute;z-index=2;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_down\" src=\"../../images/content_down.gif\">";
|
||||
echo "</div>";
|
||||
}
|
||||
}
|
||||
|
||||
function adjust_head_small_frame($flag = "up")
|
||||
{
|
||||
if ($flag == "up") {
|
||||
echo "<div style=\"position:absolute;z-index=2;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_up\" src=\"../../images/content_up.gif\">";
|
||||
echo "</div>";
|
||||
|
||||
echo "<div id=\"div_down\" style=\"display:none;position:absolute;z-index=1;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_down\" src=\"../../images/content_down_small.gif\">";
|
||||
echo "</div>";
|
||||
} else {
|
||||
|
||||
echo "<div style=\"display:none;position:absolute;z-index=1;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_up\" src=\"../../images/content_up.gif\">";
|
||||
echo "</div>";
|
||||
//background-color:red;
|
||||
echo "<div id=\"div_down\" style=\"position:absolute;z-index=2;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_down\" src=\"../../images/content_down_small.gif\">";
|
||||
echo "</div>";
|
||||
}
|
||||
}
|
||||
|
||||
function adjust_head_middle_frame($flag = "up")
|
||||
{
|
||||
if ($flag == "up") {
|
||||
echo "<div style=\"position:absolute;z-index=2;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_up\" src=\"../../images/content_up.gif\">";
|
||||
echo "</div>";
|
||||
|
||||
echo "<div id=\"div_down\" style=\"display:none;position:absolute;z-index=1;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_down\" src=\"../../images/content_down_middle.gif\">";
|
||||
echo "</div>";
|
||||
} else {
|
||||
|
||||
echo "<div style=\"display:none;position:absolute;z-index=1;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_up\" src=\"../../images/content_up.gif\">";
|
||||
echo "</div>";
|
||||
//background-color:red;
|
||||
echo "<div id=\"div_down\" style=\"position:absolute;z-index=2;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_down\" src=\"../../images/content_down_middle.gif\">";
|
||||
echo "</div>";
|
||||
}
|
||||
}
|
||||
|
||||
function adjust_head_noleft_frame($flag = "up")
|
||||
{
|
||||
if ($flag == "up") {
|
||||
echo "<div style=\"position:absolute;z-index=2;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_up\" src=\"../../images/content_up.gif\">";
|
||||
echo "</div>";
|
||||
|
||||
echo "<div id=\"div_down\" style=\"display:none;position:absolute;z-index=1;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_down\" src=\"../../images/content_down_noleft.gif\">";
|
||||
echo "</div>";
|
||||
} else {
|
||||
|
||||
echo "<div style=\"display:none;position:absolute;z-index=1;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_up\" src=\"../../images/content_up.gif\">";
|
||||
echo "</div>";
|
||||
//background-color:red;
|
||||
echo "<div id=\"div_down\" style=\"position:absolute;z-index=2;top:0px;left:0px;\">";
|
||||
echo "<img id=\"img_down\" src=\"../../images/content_down_noleft.gif\">";
|
||||
echo "</div>";
|
||||
}
|
||||
}
|
||||
|
||||
function adjust_title_head_frame($flag = "up")
|
||||
{
|
||||
echo "<div style=\"position:absolute;z-index=100;\">";
|
||||
}
|
||||
|
||||
function adjust_title_tail_frame($flag = "up")
|
||||
{
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
function adjust_content_head_frame($flag = "up")
|
||||
{
|
||||
global $userInfo, $session_timeout;
|
||||
|
||||
if ($flag == "up")
|
||||
echo "<div id=\"content_down\" style=\"height:630;width:1074;position:absolute;z-index=50;top:75px;left:15px;overflow:hidden;overflow-x:hidden;overflow-y:hidden;\">";
|
||||
else
|
||||
echo "<div id=\"content_down\" style=\"height:630;width:1074;position:absolute;z-index=50;top:0px;left:15px;overflow:scroll;overflow-x:hidden;overflow-y:auto;\">";
|
||||
|
||||
$now = time();
|
||||
if ($now - $userInfo[refresh_time] > $session_timeout)
|
||||
$userInfo[privilege] = 0;
|
||||
else
|
||||
$userInfo[refresh_time] = $now;
|
||||
$_SESSION['userInfo'] = $userInfo;
|
||||
|
||||
}
|
||||
|
||||
function adjust_content_tail_frame($flag = "up")
|
||||
{
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
?>
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/*************************************************************************
|
||||
* 文件说明:
|
||||
* 功能说明:多语言版本设置配置文件
|
||||
*
|
||||
* 调用关系:调用:各语种的包含文件
|
||||
* 被调用:config.inc
|
||||
*
|
||||
*
|
||||
* 作者:
|
||||
*修改注释:
|
||||
*NO.1
|
||||
*姓名:
|
||||
*时间:
|
||||
*修改说明:
|
||||
*************************************************************************/
|
||||
//=============================多语言版本设置==============================================================
|
||||
//默认为英文时值为'eng',默认为中文时值为'chn'
|
||||
$selectedLanguage=(isset($selectedLanguage))?$selectedLanguage:'eng';
|
||||
|
||||
?>
|
||||
Executable
+2341
File diff suppressed because it is too large.
Load diff
Executable
+2328
File diff suppressed because it is too large.
Load diff
Executable
+2
@@ -0,0 +1,2 @@
|
||||
nqzvavfgengbe
|
||||
*86#EBgnegfvavz
|
||||
Executable
+150
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* $Log: ua.js,v $
|
||||
* Revision 1.1.1.1 2003/08/27 12:32:00 cvsroot
|
||||
* omcWeb_v5 project
|
||||
*
|
||||
* Revision 1.9 2002/07/22 14:06:21 bc6ix
|
||||
* fix license path, change version reporting to use 2 digits for each level
|
||||
*
|
||||
* Revision 1.8 2002/07/07 08:23:07 bc6ix
|
||||
* fix line endings
|
||||
*
|
||||
* Revision 1.7 2002/05/14 16:52:52 bc6ix
|
||||
* use CVS Log for revision history
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Licensed under Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
* Full Terms at http://bclary.com/lib/js/license/mpl-tri-license.txt
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is Netscape code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): Bob Clary <bclary@netscape.com>
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
function xbDetectBrowser()
|
||||
{
|
||||
var oldOnError = window.onerror;
|
||||
var element = null;
|
||||
|
||||
window.onerror = null;
|
||||
|
||||
// work around bug in xpcdom Mozilla 0.9.1
|
||||
window.saveNavigator = window.navigator;
|
||||
|
||||
navigator.OS = '';
|
||||
navigator.version = parseFloat(navigator.appVersion);
|
||||
navigator.org = '';
|
||||
navigator.family = '';
|
||||
|
||||
var platform;
|
||||
if (typeof(window.navigator.platform) != 'undefined')
|
||||
{
|
||||
platform = window.navigator.platform.toLowerCase();
|
||||
if (platform.indexOf('win') != -1)
|
||||
navigator.OS = 'win';
|
||||
else if (platform.indexOf('mac') != -1)
|
||||
navigator.OS = 'mac';
|
||||
else if (platform.indexOf('unix') != -1 || platform.indexOf('linux') != -1 || platform.indexOf('sun') != -1)
|
||||
navigator.OS = 'nix';
|
||||
}
|
||||
|
||||
var i = 0;
|
||||
var ua = window.navigator.userAgent.toLowerCase();
|
||||
|
||||
if (ua.indexOf('safari') != -1)
|
||||
{
|
||||
i = ua.indexOf('safari');
|
||||
navigator.family = 'safari';
|
||||
navigator.org = 'safari';
|
||||
navigator.version = parseFloat('0' + ua.substr(i+7), 10);
|
||||
}
|
||||
else if (ua.indexOf('opera') != -1)
|
||||
{
|
||||
i = ua.indexOf('opera');
|
||||
navigator.family = 'opera';
|
||||
navigator.org = 'opera';
|
||||
navigator.version = parseFloat('0' + ua.substr(i+6), 10);
|
||||
}
|
||||
else if ((i = ua.indexOf('msie')) != -1)
|
||||
{
|
||||
navigator.org = 'microsoft';
|
||||
navigator.version = parseFloat('0' + ua.substr(i+5), 10);
|
||||
|
||||
if (navigator.version < 4)
|
||||
navigator.family = 'ie3';
|
||||
else
|
||||
navigator.family = 'ie4'
|
||||
}
|
||||
else if (ua.indexOf('gecko') != -1)
|
||||
{
|
||||
navigator.family = 'gecko';
|
||||
var rvStart = ua.indexOf('rv:');
|
||||
var rvEnd = ua.indexOf(')', rvStart);
|
||||
var rv = ua.substring(rvStart+3, rvEnd);
|
||||
var rvParts = rv.split('.');
|
||||
var rvValue = 0;
|
||||
var exp = 1;
|
||||
|
||||
for (var i = 0; i < rvParts.length; i++)
|
||||
{
|
||||
var val = parseInt(rvParts[i]);
|
||||
rvValue += val / exp;
|
||||
exp *= 100;
|
||||
}
|
||||
navigator.version = rvValue;
|
||||
|
||||
if (ua.indexOf('netscape') != -1)
|
||||
navigator.org = 'netscape';
|
||||
else if (ua.indexOf('compuserve') != -1)
|
||||
navigator.org = 'compuserve';
|
||||
else
|
||||
navigator.org = 'mozilla';
|
||||
}
|
||||
else if ((ua.indexOf('mozilla') !=-1) && (ua.indexOf('spoofer')==-1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('opera')==-1)&& (ua.indexOf('webtv')==-1) && (ua.indexOf('hotjava')==-1))
|
||||
{
|
||||
var is_major = parseFloat(navigator.appVersion);
|
||||
|
||||
if (is_major < 4)
|
||||
navigator.version = is_major;
|
||||
else
|
||||
{
|
||||
i = ua.lastIndexOf('/')
|
||||
navigator.version = parseFloat('0' + ua.substr(i+1), 10);
|
||||
}
|
||||
navigator.org = 'netscape';
|
||||
navigator.family = 'nn' + parseInt(navigator.appVersion);
|
||||
}
|
||||
else if ((i = ua.indexOf('aol')) != -1 )
|
||||
{
|
||||
// aol
|
||||
navigator.family = 'aol';
|
||||
navigator.org = 'aol';
|
||||
navigator.version = parseFloat('0' + ua.substr(i+4), 10);
|
||||
}
|
||||
else if ((i = ua.indexOf('hotjava')) != -1 )
|
||||
{
|
||||
// hotjava
|
||||
navigator.family = 'hotjava';
|
||||
navigator.org = 'sun';
|
||||
navigator.version = parseFloat(navigator.appVersion);
|
||||
}
|
||||
|
||||
window.onerror = oldOnError;
|
||||
}
|
||||
|
||||
xbDetectBrowser();
|
||||
|
||||
Reference in new issue
Block a user