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 "| Signaling point code | ";
echo "";
for($i=0; $i<4; $i++)
echo "| {$spcTree_array[$i][0]} : {$spcTree_array[$spc_index[$i]][1]} : $row[$i] | ";
echo "
| ";
echo "
";
{//gtt
$sysId = "223_99_99";
$oidStr = "2.1.10";
$instanceNo=0;
echo "" ;
echo "| $strE164Number | ";
echo "| ";
showParameter($sysId,$oidStr,2,1);
echo " | ";
echo "";
showParameter($sysId,$oidStr,1,1);
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 "| {$license_arr[0][0]} | ";
echo " ${$license_arr[0][1]} | ";
echo "
";
/*
{//license
echo "" ;
echo "| License control | ";
echo " ";
$sysId = '340_99_99';
$oidStr = "2.2.3";
showParameter($sysId,$oidStr,1,1,0,'','','Update');
echo " | ";
echo "
";
}//end license
*/
//==========================================================
//输出Command
//==========================================================
/*
echo "| Command | ";
echo "";
echo "| AC0 | ";
echo "Lock | ";
echo "AC1 | ";
echo "Lock | ";
echo "
|
";
*/
echo "
";
?>
";
?>