"; echo "
| {$showName} | "; echo ""; if($objects[$index]['valueType'] == VALUE_OPAQUE) showParameter($sysId,$objects[$index]['oid'],$instanceNo); else showParameterAdv($sysId,$objects[$index]['oid'],$instanceNo); echo " | "; echo "
| {$showName} | "; //get the entry value //get the table name $tb=$objects[$index][name_1]; $tlen=strlen($tb); $fg=0; $tb1=""; for($ti=0;$ti<$tlen;$ti++) { if($tb[$ti] >= 'A' && $tb[$ti] <= 'Z') $fg=1; if($fg==1) $tb1.=$tb[$ti]; } $tb2=explode("Entries",$tb1); $tb3=$tb2[0]; $entriesOid=findRelationOid($tb3,TABLE_ENTRY,$sysTypeNo); //PrintInfo($entriesOid); echo ""; $value=getParamValue($sysId,$objects[$index]['oid'],$instanceNo); echo "$value"; echo " | "; //$nextTableOid= } else { $showName=getShowNameOfField($objects[$index]['name_1'],$index); //title=\"{$objects[$index]['note_1']}\" echo "{$showName} | "; echo ""; if($objects[$index]['valueType'] == VALUE_OPAQUE) { if(stristr($objects[$index]['name_1'],"NITZ")) { $mscTable="OBJ_320.param_99"; $levels=getLevelWhere($objects[$index]['oid']); $sql="SELECT * FROM $mscTable WHERE $levels AND instanceNo=$instanceNo"; $res=mysqli_query($pubConn,$sql); $rows=@mysqli_fetch_array($res); $initValue=$rows[initValue]; $readValue=$rows[readValue]; if($initValue == '') $initValue="--"; echo ""; if(strlen($initValue)>8) $showValue=substr($initValue,0,8); if($initValue == $readValue) echo "$showValue"; else echo "$showValue"; echo ""; } else { showParameter($sysId,$objects[$index]['oid'],$instanceNo); } } else if(strstr($objects[$index]['name_1'],"Index")) { $value=getParamValue($sysId,$objects[$index]['oid'],$instanceNo); echo "$value"; } else if(strstr($objects[$index]['desc_1'],"RelationPoint")) { $tmp1=strstr($objects[$index]['desc_1'],"RelationPoint:"); $tmp2=explode(";",$tmp1); $tmp3=explode("RelationPoint:",$tmp2[0]); $rTableOid=$tmp3[1]; $showvalue=getParamValue($sysId,$objects[$index]['oid'],$instanceNo); if(trim($showvalue) == "--" || trim($showvalue)=="") { echo "--"; } else { $tmp1=explode(" ",$showvalue); $tmp2=$tmp1[1]; $tmp3=explode("-",$tmp2); $tmp4=omc_keep_length($tmp3[0],'0',4); $tmp5=omc_keep_length($tmp3[1],'0',4); $rInstanceNo=$tmp4.".".$tmp5; $rWhere=getLevelWhere($rTableOid); $rsql="select * from $paraTable where instanceNo='$rInstanceNo' and $rWhere "; $rres=mysqli_query($pubConn,$rsql); $num=mysqli_num_rows($rres); //echo "$rsql"; if($num == 0) echo "--"; else echo "$showvalue"; } } else showParameterAdv($sysId,$objects[$index]['oid'],$instanceNo); echo " | "; } echo "
============================test========================
";
echo "keyId=$keyId
";
$test_oid_flag=1;
$test_name_flag=1;
$test_nest_flag=1;
$test_type_flag=1;
for($i=0;$i<$keyId;$i++)
{
//if($objects[$i]['type'] != LEAF_TYPE && $objects[$i]['type'] != ENTRY_TYPE)
{
echo "$i-";
if($test_oid_flag)
echo "oid-{$objects[$i]['oid']}, ";
if($test_name_flag)
echo "name-{$objects[$i]['name_1']}, ";
if($test_nest_flag)
echo "nestNum-{$objects[$i]['nest_num']}, ";
if($test_type_flag)
echo "type-{$type_label[$objects[$i]['type']]}, ";
echo "
";
}
}
}
//lock and unlock
if($lock_unlock_flag == 1)
{
echo "";
echo " ";
echo "";
echo " ";
echo "";
}
if($podUpdateToPod_flag == 1)
{
echo "";
echo " ";
echo "";
}
//get all
echo "";
echo " ";
echo "";
echo " ";
echo "";
echo "";
echo "";
echo "";
echo "";
adjust_content_tail("down");
?>