正在调试中!!"; ?> '2.2.3', 'sysid'=> '340_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.10', 'sysid'=> '223_99_99', 'selectsysid'=>'-1'), ); $NI_arr=array('International','International spare','National','National spare'); $SaveArr=array( array('oidstr'=>'2.2.2', 'setvalue'=>'01' ,'sysid'=>'340_99_99'), array('oidstr'=>'3.2', 'setvalue'=>'02' ,'sysid'=>'223_99_99') ); $backurl = "./auc.php"; //loading if($load_flag == 1) { echo "
Loading"; GetParam($sysId_arr,1);//1 means return to overview if getting parameters fails. echo ""; } {//set system ip for($i=0; $i < 2; $i++) { $getsql = "SELECT ip FROM $sysinfo where sysTypeNo = $sysTypeNo and sysNo = '$i'"; if($DEBUG) echo "getsql = $getsql
"; $ip_init = @mysqli_query($pubConn,$getsql); $ip_init = mysqli_fetch_array($ip_init); $ip_init = $ip_init[0]; $ip_array = explode('.',$ip_init); for($j = 0;$j < sizeof($ip_array);$j++) { $ip = $ip_array[$j]; $mss_ip[$i] .= omc_keep_length(dechex($ip),'0','2'); } } $mss_ip[0] = strtoupper(omc_keep_length($mss_ip[0],'0','8')); $mss_ip[1] = strtoupper(omc_keep_length($mss_ip[1],'0','8')); if($DEBUG) { echo "
mss0_ip = $mss_ip[0]
"; echo "mss1_ip = $mss_ip[1]
"; } $sysId = "223_99_99"; //auc $oidStr = "2.1.10"; setParamValue($mss_ip[0],$sysId,$oidStr,3); setParamValue($mss_ip[1],$sysId,$oidStr,4); }//end set system ip if($_SERVER['REQUEST_METHOD'] == "POST") { if(isset($setSys) || isset($getSys)) { if(isset($setSys)) { // echo "
Getting parameters
"; // GetParam(0,1); echo "
Setting parameters
"; SetParam($sysId_arr); session_register("acSetFlag"); $showType="Set"; echo "
Sending save command
"; SaveParam($SaveArr); echo ""; //exit(); } else { echo "
Getting parameters
"; session_register("GetFlag"); GetParam($sysId_arr); $showType="Get"; } } // elseif(isset($undoSet)) // { // echo "
Setting parameters
"; // SetParam(1); // session_unregister("acSetFlag"); // // } echo ""; exit(); } //========================================================== //输出并显示数据 //========================================================== echo "
"; ?> "; echo ""; echo ""; echo "Configuration > Network > AUC"; echo ""; $helpId = '2.1.1.4'; showHelp($helpId); echo ""; echo ""; echo ""; echo "
"; { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
 "; //echo "Authentication Center:  "; echo ""; echo ""; echo "   "; echo ""; echo ""; echo "

$strBack"; echo "

"; } echo "
"; ?> indicator = {$indicator[0]}
"; for($i = 0; $i < 4; $i++) { $flag = getBitValue($indicator[0],"0.$i"); if ($flag == 0) $spc_index[$i] = $i; else $spc_index[$i] = $i+4; } for($i = 0; $i < 4; $i ++) { $levelWhere = getLevelWhere($spcTree_array[$spc_index[$i]][3]); $getsql = "select initValue from $mtp3_sqlTable where $levelWhere"; $result = mysqli_query($pubConn,$getsql); $row[$i] = mysqli_fetch_array($result); $row[$i] = hexdec($row[$i][0]); if($DEBUG)echo "getsql = $getsql
"; if($DEBUG)echo "spc_$i=$row[$i]
"; } } echo "" ; echo ""; echo ""; echo ""; {//gtt $sysId = "223_99_99"; $oidStr = "2.1.10"; $instanceNo=0; echo "" ; echo ""; }//end gtt $getSql="SELECT detailStat FROM $sysStatTable WHERE sysTypeNo='340' ORDER BY sysNo,subSysNo"; if($DEBUG) echo "
getSql=$getSql"; $result =mysqli_query($pubConn,$getSql); $rows=mysqli_fetch_array($result); $max_lic=hexdec(substr($rows[0],62,8)); $used_lic=hexdec(substr($rows[0],70,8)); $license_arr=array( array('Subscriber', 'used_lic'), array('License', 'max_lic') ); if($DEBUG) { echo "
Max = $max_lic
"; echo "Used = $used_lic
"; } echo ""; echo ""; echo ""; echo ""; /* {//license echo "" ; echo ""; echo ""; echo ""; }//end license */ //========================================================== //输出Command //========================================================== /* echo ""; echo ""; */ echo "
Signaling point code"; for($i=0; $i<4; $i++) echo ""; echo "
{$spcTree_array[$i][0]} : {$spcTree_array[$spc_index[$i]][1]} : $row[$i]
$strE164Number"; echo ""; echo ""; echo "
"; showParameter($sysId,$oidStr,2,1); echo ""; showParameter($sysId,$oidStr,1,1); echo "
{$license_arr[0][0]} ${$license_arr[0][1]}
License control "; $sysId = '340_99_99'; $oidStr = "2.2.3"; showParameter($sysId,$oidStr,1,1,0,'','','Update'); echo "
Command"; echo ""; echo ""; echo ""; echo ""; echo "
AC0LockAC1Lock
"; ?> "; ?>