?> .php?id=<?php echo $selectedItemId; ?> '" value="<?php echo 'Edit ' . $Table; ?> " > </div> <table > </table> </div> <div id="secondColumn" > <center><h1><?php echo $index->toView($table) . ': ' . $index->showValue($selectedItemId, $table . '_id'); ?> </h1> </center> <SCRIPT language=JavaScript> function reload() { var selectedItemId = document.form.item.value; window.location='?selectedItemId='+selectedItemId ; } </script> <br><br><br> <form method="post" name="form" >
echo ' ' . $index->toView($mainTable) . ' '; ?> </label></center> </div> <form method="post" action="../applications/item/saveImages.php" name='form' id='form' enctype="multipart/form-data" onsubmit=""> <!-------------------------------------------------- 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;
} ?> </label></center> </div> <script language="javascript" > var extensions="<?php echo $extensions . ' '; ?> ";//added the space to be find index of ext.' ' without having inacurate results such as .xls and .xlsx </script> <form method="post" action="../applications/item/saveFiles.php" id='form' name='form' enctype="multipart/form-data" onsubmit=""> <table style="float:left;width:200px;" > <tr> <td> <?php echo $index->toView($T) . ' : ' . $index->toView($index->showValue($I, $T . '_id')); ?> <input type="hidden" name="APC_UPLOAD_PROGRESS" id="progress_key" value="0"/> </td> </tr> <?php for ($i = 0; $i < $all; $i++) { ?> <tr> <td> <input type="file" id="file_<?php echo $i; ?> " name="file_<?php echo $i; ?>