正在调试中!!"; ?> "; $backurl = "./hlr.php"; $sysId = '330_99_99'; $nGetComm = 0; $nSetComm = 3; $pubDb = "OMC_PUB"; $sqltable_sccp = 'OBJ_223.param_99'; $sqlSccpConf = 'OBJ_223.paramConf'; $sqltable = 'OBJ_330.param_99'; $sqlConf = 'OBJ_330.paramConf'; $sqltable_spc = 'OBJ_222.param_99'; $mtp3_sqlTable = 'OBJ_222.param_99'; $sysStatTable='OMC_PUB.sysStat'; $sysinfo = 'OMC_PUB.sysInfo'; $sysTypeNo = '322'; $NI_arr=array('International','International spare','National','National spare'); $sysId_arr=array( array('oid'=>'2.1.6', 'sysid'=> '223_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.2.0', 'sysid'=> '223_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.4.0', 'sysid'=> '223_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.11', 'sysid'=> '330_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.12', 'sysid'=> '330_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.13', 'sysid'=> '330_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.14', 'sysid'=> '330_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.15', 'sysid'=> '330_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.16', 'sysid'=> '330_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.17', 'sysid'=> '330_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.18', 'sysid'=> '330_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.20', 'sysid'=> '330_99_99', 'selectsysid'=>'-1'), ); $SaveArr=array( array('oidstr'=>'3.2', 'setvalue'=>'02' ,'sysid'=>'223_99_99') ); $getsql = "SELECT sysNo FROM $sysinfo where sysTypeNo = 330"; if($DEBUG) echo "getsql = $getsql
"; $Result = @mysqli_query($pubConn,$getsql); while($Rows = mysqli_fetch_array($Result)) { $hlrSysId = "330_".$Rows[sysNo]."_0"; $SaveArr[] = array('oidstr'=>'2.2.2', 'setvalue'=>'01' ,'sysid'=> $hlrSysId); } $spcTree_array = array( array('INT', '14-bit', 'spc_int_14', '2.3.1'), array('INT-S', '14-bit', 'spc_int_sp_14', '2.3.2'), array('NAT', '14-bit', 'spc_nat_14', '2.3.3'), array('NAT-S', '14-bit', 'spc_nat_sp_14', '2.3.4'), array('International', '24-bit', 'spc_int_24', '2.3.5'), array('International spare', '24-bit', 'spc_int_sp_24', '2.3.6'), array('National', '24-bit', 'spc_nat_24', '2.3.7'), array('National spare', '24-bit', 'spc_nat_sp_24', '2.3.8') ); $GTTtableConfArr=array( array('Start number', '03.0-12.7'), array('End number', '13.0-22.7'), array('On/off', '00.0-00.7'), array('Numbering plan', '01.0-01.7'), array('Network indicator', '23.0-23.7'), array('DPC', '24.0-26.7'), array('SSN', '27.0-27.7'), array('Route indicator', '28.0-28.7'), array('Address indicator', '29.0-29.7'), array('Replaced start digit', '30.0-30.7'), array('Replaced end digit', '31.0-31.7'), array('Outgoing number plan', '32.0-32.7'), array('Replacing digits', '33.0-42.7'), array('TT', '02.0-02.7') ); $hplmn_loc = array( 'start' => '05.0-10.7', 'end' => '11.0-16.7' ); //loading if($load_flag == 1) { echo "
Loading"; GetParam($sysId_arr,1);//1 means return to overview if getting parameters fails. echo ""; } $querysql = "select initValue from $sqltable_spc where level_1 = '2' and level_2 = '2' and level_3 = '0'"; $result = mysqli_query($pubConn,$querysql); $indicator = mysqli_fetch_array($result); echo mysqli_error($pubConn); if ($DEBUG )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 $sqltable_spc where $levelWhere "; $result = mysqli_query($pubConn,$getsql); $dpcRow[$i] = mysqli_fetch_array($result); $dpcRow[$i] = hexdec($dpcRow[$i][0]); if ($DEBUG ) { echo "
getsql = $getsql
"; echo "
spc_$i=$dpcRow[$i]"; } } $niTypeArr = getNiType(); echo ""; if(isset($doingOtherFlag)) { {//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"; //hlr if($setHlrGtt==1) { $oidStr = "2.1.6"; setParamValue($mss_ip[0],$sysId,$oidStr,3); setParamValue($mss_ip[1],$sysId,$oidStr,4); } }//end set system ip exit; } if($_SERVER['REQUEST_METHOD'] == "POST") { if(isset($setSys) || isset($getSys)) { if(isset($setSys)) { echo "
Setting parameters
"; SetParam($sysId_arr); session_register("hlrSetFlag"); $showType="Set"; echo "
Sending save command
"; SaveParam($SaveArr); echo ""; //exit(); } else { echo "
Getting parameters
"; session_register("GetFlag"); GetParam($sysId_arr); $showType="Get"; } } echo ""; exit(); } if ($DEBUG ) echo "delFlag = $delflag
"; if ($DEBUG ) echo "delNO = $delValue
"; if (isset($delflag)) { $delNoStr = rtrim($delNoStr,'.'); $delNoArr = explode('.',$delNoStr); $instNoWhereStr = ''; for($i=0; $i< sizeof($delNoArr); $i++) { if($i==0) $instNoWhereStr = "(instanceNo='$delNoArr[$i]'"; else $instNoWhereStr .= " or instanceNo='$delNoArr[$i]'" ; } $instNoWhereStr .= ')'; if($delflag=='Regional') { $getsql = "select initValue from $sqlConf where level_1 = '2' and level_2 = '1' and level_3 = '14'"; $rsl_org = @mysqli_query($pubConn,$getsql); $rsl_org = @mysqli_fetch_array($rsl_org); $rsl_org = $rsl_org[0]; echo mysqli_error($pubConn); if ($DEBUG ) echo "rsl_org = $rsl_org
"; $setsql = "update $sqltable set initValue = '$rsl_org' where level_1 = '2' and level_2 = '1' and level_3 = '14' and $instNoWhereStr "; mysqli_query($pubConn,$setsql); echo mysqli_error($pubConn); } elseif($delflag=='IMSIRange' || $delflag=='MSISDNRange') { $defSql = " SELECT initValue FROM $sqlSccpConf WHERE level_1 = '2' and level_2 = '2' and level_3 = '0'"; $defRes = @mysqli_query($pubConn,$defSql); $defrow = @mysqli_fetch_array($defRes); $setsql = "update $sqltable_sccp set initValue = '$defrow[initValue]' where level_1 = '2' and level_2 = '2' and level_3 = '0' and $instNoWhereStr "; mysqli_query($pubConn,$setsql); echo mysqli_error($pubConn); $defSql = " SELECT initValue FROM $sqlSccpConf WHERE level_1 = '2' and level_2 = '4' and level_3 = '0'"; $defRes = @mysqli_query($pubConn,$defSql); $defrow = @mysqli_fetch_array($defRes); $setsql = "update $sqltable_sccp set initValue = '$defrow[initValue]' where level_1 = '2' and level_2 = '4' and level_3 = '0' and $instNoWhereStr "; mysqli_query($pubConn,$setsql); echo mysqli_error($pubConn); } elseif($delflag=='VPLMNs') { $defSql = " SELECT initValue FROM paramConf WHERE level_1 = '2' and level_2 = '1' and level_3 = '12'"; $defRes = @mysqli_query($pubConn,$defSql); $defrow = @mysqli_fetch_array($defRes); $setsql = "update $sqltable set initValue = '$defrow[initValue]' where level_1 = '2' and level_2 = '1' and level_3 = '12' and $instNoWhereStr "; mysqli_query($pubConn,$setsql); echo mysqli_error($pubConn); } elseif($delflag=='USSDEAE') { $oidStr = "2.1.20.3"; $levelWhere = getLevelWhere($oidStr); $defSql = " SELECT initValue FROM paramConf WHERE $levelWhere"; $defRes = @mysqli_query($pubConn,$defSql); $defrow = @mysqli_fetch_array($defRes); $setsql = "update $sqltable set initValue = '$defrow[initValue]' where $levelWhere and $instNoWhereStr "; mysqli_query($pubConn,$setsql); echo mysqli_error($pubConn); } elseif($delflag=='faxGsmBcId') { $defSql = " SELECT initValue FROM paramConf WHERE level_1 = '2' and level_2 = '1' and level_3 = '17'"; $defRes = @mysqli_query($pubConn,$defSql); $defrow = @mysqli_fetch_array($defRes); $setsql = "update $sqltable set initValue = '$defrow[initValue]' where level_1 = '2' and level_2 = '1' and level_3 = '17' and instanceNo = '$delValue' "; mysqli_query($pubConn,$setsql); echo mysqli_error($pubConn); } elseif($delflag=='dataGsmBcId') { $defSql = " SELECT initValue FROM paramConf WHERE level_1 = '2' and level_2 = '1' and level_3 = '18'"; $defRes = @mysqli_query($pubConn,$defSql); $defrow = @mysqli_fetch_array($defRes); $setsql = "update $sqltable set initValue = '$defrow[initValue]' where level_1 = '2' and level_2 = '1' and level_3 = '18' and instanceNo = '$delValue' "; mysqli_query($pubConn,$setsql); echo mysqli_error($pubConn); } elseif($delflag=='RSA') { $getsql = "select initValue from $sqlConf where level_1 = '2' and level_2 = '1' and level_3 = '29'"; $rsl_org = @mysqli_query($pubConn,$getsql); $rsl_org = @mysqli_fetch_array($rsl_org); $rsl_org = $rsl_org[0]; echo mysqli_error($pubConn); if ($DEBUG ) echo "rsl_org = $rsl_org
"; $setsql = "update $sqltable set initValue = '$rsl_org' where level_1 = '2' and level_2 = '1' and level_3 = '29' and instanceNo = '$delValue' "; mysqli_query($pubConn,$setsql); echo mysqli_error($pubConn); } elseif($delflag=='ACS_DIGI') { if($DEBUG)echo "

Deleteing access digits instance $delValue of RA $delValue2"; //delete access_digits $setsql = "update $sqltable set initValue = '$access_digit_default' where level_1 = '2' and level_2 = '1' and level_3 = '30' and instanceNo = '$delValue'"; mysqli_query($pubConn,$setsql); echo mysqli_error($pubConn); //delete prefix delete_prefix_of_RA($delValue2); } } //========================================================== //输出并显示数据 //========================================================== echo "
"; echo ""; echo ""; echo ""; echo ""; echo "
"; echo "Configuration > Network > HLR"; echo ""; $helpId = '2.1.1.3'; showHelp($helpId); echo "
"; echo "
"; { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
 "; //echo "Home Location Register:  "; echo ""; echo ""; echo "   "; echo ""; echo ""; echo "

$strBack"; echo "

"; } ?> " ; echo ""; echo ""; echo ""; }//end Signaling point {//gtt $sysId = "223_99_99"; $oidStr = "2.1.6"; $instanceNo=0; echo "" ; echo ""; }//end gtt //========================================================== //取GTT数据 //========================================================== /*byte26: subsystem number (SSN), function with DPC for GTT over SCCP, 4=OMC, 6=HLR, 7=VLR, 8=MSC, 9=EIR, 10=AuC, 11=SMSC , 254=AIF, 147=PPSSCF */ $getsql = "select initValue from $sqltable_sccp where level_1 = '2' and level_2 = '1' and level_3 = '6' "; $result = @mysqli_query($pubConn,$getsql); $sccp_row = @mysqli_fetch_array($result); echo mysqli_error($pubConn); $ni_hlr= hexdec(getBitValue($sccp_row[0],"0.0-0.7")); $gtt = getBitValue($sccp_row[0],"1.0-10.7"); $gtt = str_replace('F','',$gtt); $setGttDPC=$dpcRow[$ni_hlr]; $getsql = "select initValue,instanceNo from $sqltable_sccp where level_1 = '2' and level_2 = '2' and level_3 = '0'"; $result = @mysqli_query($pubConn,$getsql); echo mysqli_error($pubConn); $n = 0; $m = 0; while($gtt_row = @mysqli_fetch_array($result)) { $flag = BinDec(getBitValue($gtt_row[0],'0.0-0.7')); $ssn = hexdec(getBitValue($gtt_row[0],'27.0-27.7')); $indicator = hexdec(getBitValue($gtt_row[0],'23.0-23.7')); $dpc = hexdec(getBitValue($gtt_row[0],'24.0-26.7')); if ($flag == 1 && $ssn == 6 && $indicator==$ni_hlr && $dpc==$dpcRow[$ni_hlr]) { $TT = hexdec(getBitValue($gtt_row[0],$GTTtableConfArr[13][1])); $numberPlan=hexdec(getBitValue($gtt_row[0],$GTTtableConfArr[3][1])); if($niTypeArr[$ni_hlr]==0)//ITU { $imsiFlag = ($numberPlan==6 || $numberPlan==7); $msisdnFlag = ($numberPlan==1); } else { $imsiFlag = ($TT == 9); $msisdnFlag = ($TT == 14 || $TT == 10||$TT == 142); } if($imsiFlag)//imsi { $imsi_inst[$n] = $gtt_row[instanceNo]; $imsi_start[$n] = getBitValue($gtt_row[0],'3.0-12.7'); $imsi_start[$n] = str_replace('F','',$imsi_start[$n]); if($imsi_start[$n] == '') $imsi_start[$n] = 0; $imsi_end[$n] = getBitValue($gtt_row[0],'13.0-22.7'); $imsi_end[$n] = str_replace('F','',$imsi_end[$n]); if($imsi_end[$n] == '') $imsi_end[$n] = 0; $n++; if ($DEBUG ) echo "imsi_start=$imsi_start
"; if ($DEBUG ) echo "imsi_end=$imsi_end
"; if ($DEBUG ) echo "imsi_no=$imsi_no
"; } else if($msisdnFlag) { $msisdn_inst[$m] = $gtt_row[instanceNo]; $msisdn_start[$m] = getBitValue($gtt_row[0],'3.0-12.7'); $msisdn_start[$m] = str_replace('F','',$msisdn_start[$m]); if($msisdn_start[$m] == '') $msisdn_start[$m] = 0; $msisdn_end[$m] = getBitValue($gtt_row[0],'13.0-22.7'); $msisdn_end[$m] = str_replace('F','',$msisdn_end[$m]); if($msisdn_end[$m] == '') $msisdn_end[$m] = 0; $m++; if ($DEBUG ) echo "msisdn_start=$msisdn_start
"; if ($DEBUG ) echo "msisdn_end=$msisdn_end
"; if ($DEBUG ) echo "msisdn_no=$msisdn_no
"; } $imsiFlag=$msisdnFlag=0; } } if ($DEBUG ) echo "imsi_no=$imsi_no
"; if ($DEBUG ) echo "msisdn_no=$msisdn_no
"; { {//imsi range $nrow = $n + 1; $getsql = "SELECT initValue,instanceNo from $sqltable_sccp where level_1 = '2' and level_2 = '2' and level_3 = '0' and initValue like '00%'"; $result = mysqli_query($pubConn,$getsql); echo "" ; echo ""; if($n == 0) { echo ""; } else { echo ""; } echo ""; }//end imsi range {//msisdn range $nrow = $m + 1; $getsql = "SELECT initValue,instanceNo from $sqltable_sccp where level_1 = '2' and level_2 = '2' and level_3 = '0' and initValue like '00%'"; //echo ""; $result = mysqli_query($pubConn,$getsql); echo "" ; echo ""; if($m == 0) { echo ""; } else { echo ""; } echo ""; }//end msisdn range } {//HPLMN SN Range $sysId = "330_99_99"; $oidStr = "2.1.11"; echo ""; echo ""; echo ""; echo ""; } //========================================================== //输出VPLMNs SN Range //========================================================== $objWhereStr = getLevelWhere('2.1.12'); $defSql = " SELECT initValue FROM paramConf WHERE $objWhereStr"; $defRes = @mysqli_query($pubConn,$defSql); $defrow = @mysqli_fetch_array($defRes); $getsql = "SELECT initValue,instanceNo from $sqltable where $objWhereStr AND initValue !='$defrow[initValue]'"; $result = mysqli_query($pubConn,$getsql); if($DEBUG) echo "
getsql:$getsql"; $n=0; while($vplmn_init = mysqli_fetch_array($result)) { $init = $vplmn_init[initValue]; $vp_insno[$n] = $vplmn_init[instanceNo]; $vp_CC[$n] = str_replace('E','',getBitValue($init,'00.0-01.7')); $vp_NDC[$n] = str_replace('E','',getBitValue($init,'02.0-04.7')); $vp_sn_start[$n] = str_replace('E','',getBitValue($init,$hplmn_loc['start'])); $vp_sn_end[$n] = str_replace('E','',getBitValue($init,$hplmn_loc['end'])); $n++; } $nrow = $n + 1; $getsql = "SELECT initValue,instanceNo from $sqltable where $objWhereStr AND initValue ='$defrow[initValue]'"; $result = mysqli_query($pubConn,$getsql); echo "" ; echo ""; if($n == 0) { echo ""; } else { $flag = 'VPLMNs'; echo ""; } echo ""; if(1) { //========================================================== //输出CSRR //========================================================== echo ""; echo ""; echo ""; echo ""; */ } echo "    "; //========================================================== //输出Regional subscription zone code list //========================================================== $getsql = "select initValue from $sqlConf where level_1 = '2' and level_2 = '1' and level_3 = '14' "; $reg_org = @mysqli_query($pubConn,$getsql); $reg_org = @mysqli_fetch_array($reg_org); $reg_def = $reg_org[0]; $getsql = "select initValue ,instanceNo from $sqltable where level_1 = '2' and level_2 = '1' and level_3 = '14' and initValue !='$reg_def' "; $reg_result = mysqli_query($pubConn,$getsql); echo mysqli_error($pubConn); $n = 0; while($reg_row = mysqli_fetch_array($reg_result)) { $cntryCode[$n] = str_replace('E','',getBitValue($reg_row[initValue],'00.0-01.7')); $nationalDesCode[$n] = str_replace('E','',getBitValue($reg_row[initValue],'02.0-04.7')); $zoneCode[$n] = hexdec(getBitValue($reg_row[initValue],'05.0-06.7')); $reg_ins[$n] = $reg_row[instanceNo]; $n++; } $nrow = $n + 2; $getsql = "select initValue ,instanceNo from $sqltable where level_1 = '2' and level_2 = '1' and level_3 = '14' and initValue ='$reg_def' "; $reg_new = mysqli_query($pubConn,$getsql); echo mysqli_error($pubConn); $regnew = mysqli_fetch_array($reg_new); echo "" ; echo ""; if($n == 0) { echo ""; } else { echo ""; } echo ""; } //========================================================== //输出CDR echo ""; echo ""; echo ""; echo ""; //========================================================== //输出USSD Format //========================================================== { echo ""; echo ""; echo ""; echo ""; }//end 输出USSD Format {//UG-CSI echo ""; echo ""; echo ""; echo ""; }//end UG-CSI //output ussd eae { //$relayTypeArr = array("SMPP","MAP"); $levelWhere = getLevelWhere("2.1.20.3"); $ussdEAE_defsql = "select initValue from $sqlConf where $levelWhere"; $ussdEAE_defresult = @mysqli_query($pubConn,$ussdEAE_defsql); $ussdEAE_defrow = @mysqli_fetch_array($ussdEAE_defresult); $ussdEAE_def = $ussdEAE_defrow[0]; $ussdEAE_sql = "select instanceNo,initValue from $sqltable where $levelWhere and initValue != '$ussdEAE_def'"; $ussdEAE_result = mysqli_query($pubConn,$ussdEAE_sql); $n=0; while($ussdEAE_row = mysqli_fetch_array($ussdEAE_result)) { $ussdEaeArr[$n][inst] = $ussdEAE_row[instanceNo]; $ussdEaeArr[$n][smppNumber] = toAscii(getBitValue($ussdEAE_row[initValue],'00.0-08.7')); $ussdEaeArr[$n][ussdCode] = toAscii(getBitValue($ussdEAE_row[initValue],'9.0-12.7')); //$ussdEaeArr[$n][relayType] = hexdec(getBitValue($ussdEAE_row[initValue],'14.0-14.7')); $n++; } $nrow = $n + 1; $getsql = "SELECT initValue,instanceNo from $sqltable where $levelWhere AND initValue = '$ussdEAE_def'"; $result = mysqli_query($pubConn,$getsql); echo "" ; echo ""; if($n == 0) { echo ""; } else { $flag = 'USSDEAE'; echo ""; } echo ""; }//end output ussd eae $getSql="SELECT detailStat FROM $sysStatTable WHERE sysTypeNo='330' 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],44,8)); $used_lic=hexdec(substr($rows[0],52,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 ""; echo ""; ?> "; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Signaling point code"; for($i=0; $i<4; $i++) echo ""; echo "
{$spcTree_array[$i][0]} : {$spcTree_array[$spc_index[$i]][1]} : $dpcRow[$i]
$strE164Number"; echo ""; echo ""; echo "
"; $doingOtherUlr="$PHP_SELF?doingOtherFlag=1&setHlrGtt=1"; showParameter($sysId,$oidStr,2,1,$instanceNo,$doingOtherUlr); echo ""; showParameter($sysId,$oidStr,1,1,$instanceNo,$doingOtherUlr); echo "
"; echo ""; echo ""; if($imsi_new = mysqli_fetch_array($result)){ echo ""; } echo "
IMSI range+
 --"; echo ""; $flag = 'IMSIRange'; echo ""; echo ""; echo ""; echo ""; echo ""; for($i=0; $i < $n; $i++) { $checkBoxName=$flag . 'checkBox_'.$i; $deleteNo = $flag . 'deleteno_'.$i; if($i>3) echo ""; else echo ""; //echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } //==============the more and hide button=================== if($n>4) { echo ""; echo ""; } echo "
No.StartEndDelete"; echo ""; echo "
 $i$imsi_start[$i]$imsi_end[$i]
More >>
Hide >>
$getsql
"; echo ""; echo ""; if($msisdn_new = mysqli_fetch_array($result)){ echo ""; } echo "
MSISDN range+
 --"; echo ""; $flag = 'MSISDNRange'; echo ""; echo ""; echo ""; echo ""; echo ""; for($i=0; $i < $m; $i++) { $checkBoxName=$flag . 'checkBox_'.$i; $deleteNo = $flag . 'deleteno_'.$i; if($i>3) echo ""; else echo ""; //echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } //===============more button============== if($m>4) { echo ""; echo ""; } echo "
No.StartEndDelete"; echo ""; echo "
 $i$msisdn_start[$i]$msisdn_end[$i]
More >>
Hide >>
VLR SN range"; echo ""; echo ""; echo "
Start: "; showParameter($sysId,$oidStr,3,1); echo "End: "; showParameter($sysId,$oidStr,4,1); echo "
"; echo ""; echo ""; if($vplmn_new = mysqli_fetch_array($result)){ echo ""; } echo "
VPLMNs+
 --"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; for($i=0; $i < $n; $i++) { $checkBoxName=$flag . 'checkBox_'.$i; $deleteNo = $flag . 'deleteno_'.$i; $vp_CC[$i] = strlen($vp_CC[$i])==0 ? '--' : $vp_CC[$i]; $vp_NDC[$i] = strlen($vp_NDC[$i])==0 ? '--' : $vp_NDC[$i]; $vp_sn_start[$i] = strlen($vp_sn_start[$i])==0 ? '--' : $vp_sn_start[$i]; $vp_sn_end[$i] = strlen($vp_sn_end[$i])==0 ? '--' : $vp_sn_end[$i]; if($i>3) echo ""; else echo ""; //echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } if($n>4) { echo ""; echo ""; } echo "
No.CCNDCStart SNEnd SNDelete"; echo ""; echo "
 $vp_insno[$i]$vp_CC[$i]$vp_NDC[$i]$vp_sn_start[$i]$vp_sn_end[$i]
More >>
Hide >>
"; echo "CSRR type
"; for ($i=0; $i < 8; $i++) { $getsql = "select initValue from $sqltable where level_1 = '2' and level_2 = '1' and level_3 = '13' and instanceNo ='$i' "; $result = @mysqli_query($pubConn,$getsql); $row = @mysqli_fetch_array($result); echo mysqli_error($pubConn); $row = $row[0]; echo " $i     "; /* echo ""; echo ""; echo ""; echo ""; echo "
 $i$row
"; echo "
"; echo ""; echo ""; echo ""; echo "
Regional subscription zone code list+
 --"; echo ""; $flag = 'Regional'; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; for($i=0; $i < $n; $i++) { $checkBoxName=$flag . 'checkBox_'.$i; $deleteNo = $flag . 'deleteno_'.$i; if($i>3) echo ""; else echo ""; //echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } //======more button======= if($n>4) { echo ""; echo ""; } echo "
No.CCNDCZCDelete"; echo ""; echo "
 $reg_ins[$i]$cntryCode[$i]$nationalDesCode[$i]$zoneCode[$i]
More >>
Hide >>
"; echo "CDR "; $sysId = "330_99_99"; $oidStr = "2.1.16"; showParameter($sysId,$oidStr,1,1); echo "
"; echo "USSD format "; $sysId = "330_99_99"; $oidStr = "2.1.20.1"; showParameter($sysId,$oidStr,1,3); echo "
"; echo "UG-CSI"; $sysId = "330_99_99"; $oidStr = "2.1.20.2"; echo ""; echo ""; echo ""; echo ""; echo "
Service Code "; showParameter($sysId,$oidStr,1,1); echo "Number Plan + MSISDN "; showParameter($sysId,$oidStr,2,1); echo "
"; echo ""; echo ""; if($USSDEAE_new = mysqli_fetch_array($result)){ echo ""; } echo "
USSDEAE+
 --"; echo ""; echo ""; echo ""; echo ""; echo ""; //echo ""; echo ""; echo ""; for($i=0; $i < $n; $i++) { $checkBoxName=$flag . 'checkBox_'.$i; $deleteNo = $flag . 'deleteno_'.$i; $ussdEaeArr[$i][smppNumber] = strlen($ussdEaeArr[$i][smppNumber]) == 0 ? '--' : $ussdEaeArr[$i][smppNumber]; $ussdEaeArr[$i][ussdCode] = strlen($ussdEaeArr[$i][ussdCode]) == 0 ? '--' : $ussdEaeArr[$i][ussdCode]; //$ussdEaeArr[$i][relayType]; $tmpInst = $ussdEaeArr[$i][inst]; if($i>3) echo ""; else echo ""; //echo ""; echo ""; echo ""; echo ""; /*echo "";*/ echo ""; echo ""; } //==more button======= if($n>4) { echo ""; echo ""; } echo "
No.SMPP NumberUSSD CodeRelay TypeDelete"; echo ""; echo "
 {$ussdEaeArr[$i][inst]}{$ussdEaeArr[$i][smppNumber]}{$ussdEaeArr[$i][ussdCode]}{$relayTypeArr[$ussdEaeArr[$i][relayType]]}
More >>
Hide >>
{$license_arr[0][0]} ${$license_arr[0][1]}
License control "; $sysId = '330_99_99'; $oidStr = "2.1.15"; showParameter($sysId,$oidStr,1,1,0,'','','Update'); echo "
Command"; echo ""; echo ""; echo ""; echo ""; echo "
HLR0LockHLR1Lock
"; echo "  "; echo ""; echo ""; echo "   "; echo ""; echo ""; echo "

$strBack"; echo "

"; } echo "
"; ?>