<!-------------------------------------------------- load more input from table ------------------------------------------------> <?php $table = "image_to_" . $T; $cols = $index->getGeneralColums($table); $cols = $cols['keys']; ?> <table style="float:left;width:200px;!important" > <tr><td><b><?php echo $index->toView($T) . ' :</b></td><td> ' . $index->toView($index->showValue($I, $T . '_id')); ?> </td></tr> <?php if ($cols != '0') { foreach ($cols as $id => $value) { $type = $index->getColType($id, $table); if ($index->isOptional($id, $table)) { $optional = '_optional'; $star = ''; } else { $optional = ''; $star = ' <font color="red" >*</font>'; } if ($id == 'status') { $showStat = true; } else { $showStat = false; } $par = true; // ************* removed this because there is no parent here to hide its combo and set automatic /* foreach($seq[$table] as $ind2=>$parent)