";
echo "| ";
echo $thisTableConf[$i][Name];
echo " | ";
if(strstr($thisTableConf[$i][RawName],"Entries"))
{
$nextLevel=$table_level+1;
echo "{$recordData[$ni]} | ";
}
else if(strstr($thisTableConf[$i][Desc],"RelationPoint"))
{
$tmp1=strstr($thisTableConf[$i][Desc],"RelationPoint:");
$tmp2=explode(";",$tmp1);
$tmp3=explode("RelationPoint:",$tmp2[0]);
$rTableOid=$tmp3[1];
$showvalue=$recordData[$ni];
echo "";
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($objConn,$rsql);
$rnum=mysqli_num_rows($rres);
//echo "$rsql";
if($rnum == 0)
echo "--";
else
{
$new_table_level=getTableLevel($rTableOid,$sysTypeNo);
$tmp1=explode(".",$rTableOid);
$new_table_id=$tmp1[1]-1;
//echo "rInstanceNo=$rInstanceNo,rTableOid=$rTableOid,new_table_level=$new_table_level,new_table_id=$new_table_id";
echo "$showvalue";
}
}
echo " | ";
}
else if($thisTableConf[$i][MaxAccess] == ACCESS_READ_ONLY)
{
$showValue=translateValueToOpt($thisTableConf[$i][Style],$thisTableConf[$i][ValueType],$thisTableConf[$i][Template],$recordData[$ni]);
echo "{$showValue} | ";
}
else if($thisTableConf[$i][ValueType] == VALUE_OPAQUE)
{
echo "";
if(stristr($thisTableConf[$i][RawName],"NITZ"))
{
$mscTable="OBJ_320.param_99";
$levels=getLevelWhere($thisTableConf[$i][OID]);
$sql="SELECT * FROM $mscTable WHERE $levels AND instanceNo=$instanceNo";
$res=mysqli_query($objConn,$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,$thisTableConf[$i][OID],$instanceNo);
}
echo " | ";
}
else
{
echo "";
showParameterAdv($sysId,$thisTableConf[$i][OID],$instanceNo);
echo " | ";
}
echo "
";
}
echo "