if (!empty($msg)) { echo '<tr><td colspan="3" class="FacetDataTDred">'.$gForm->outputErrors($msg,$script_transl['errors'])."</td></tr>\n"; } echo "<tr>\n"; echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['codice']."* </td>\n"; echo "\t<td colspan=\"2\" class=\"FacetDataTD\"> <input type=\"text\" name=\"codice\" value=\"".$form['codice']."\" align=\"right\" maxlength=\"15\" size=\"15\" /></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['descri']."* </td>\n"; echo "\t<td colspan=\"2\" class=\"FacetDataTD\"> <input type=\"text\" name=\"descri\" value=\"".$form['descri']."\" align=\"right\" maxlength=\"255\" size=\"70\" /></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['lot_or_serial']."</td><td colspan=\"2\" class=\"FacetDataTD\">\n"; $gForm->variousSelect('lot_or_serial',$script_transl['lot_or_serial_value'],$form['lot_or_serial']); echo "\t </td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['barcode']." </td>\n"; echo "\t<td colspan=\"2\" class=\"FacetDataTD\"> <input type=\"text\" name=\"barcode\" value=\"".$form['barcode']."\" align=\"right\" maxlength=\"13\" size=\"13\" /></td>\n"; echo "</tr>\n"; echo "<tr><td class=\"FacetFieldCaptionTD\"><img src=\"../root/view.php?table=artico&value=".$form['codice']."\" width=\"100\"></td>\n"; echo "<td colspan=\"2\" class=\"FacetFieldCaptionTD\">".$script_transl['image']." <input name=\"userfile\" type=\"file\">"; echo "</td></tr>"; echo "<tr>\n"; echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['unimis']." </td>\n"; echo "\t<td colspan=\"2\" class=\"FacetDataTD\"> <input type=\"text\" name=\"unimis\" value=\"".$form['unimis']."\" align=\"right\" maxlength=\"3\" size=\"3\" /></td>\n"; echo "</tr>\n";
echo "<input type=\"hidden\" value=\"".$form['hidden_req']."\" name=\"hidden_req\" />\n"; echo "<input type=\"hidden\" value=\"".$form['ritorno']."\" name=\"ritorno\" />\n"; $gForm = new magazzForm(); echo "<div align=\"center\" class=\"FacetFormHeaderFont\">".$script_transl['title']; echo "</div>\n"; echo "<table class=\"Tsmall\">\n"; if (!empty($msg)) { echo '<tr><td colspan="2" class="FacetDataTDred">'.$gForm->outputErrors($msg,$script_transl['errors'])."</td></tr>\n"; } echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['date']."</td><td class=\"FacetDataTD\">\n"; $gForm->CalendarPopup('this_date',$form['this_date_D'],$form['this_date_M'],$form['this_date_Y'],'FacetSelect',1); echo "</tr>\n"; echo "<tr>\n"; echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['listino']."</td><td class=\"FacetDataTD\">\n"; $gForm->variousSelect('listino',$script_transl['listino_value'],$form['listino'],'FacetSelect',false); echo "\t </td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['cm_ini']."</td><td class=\"FacetDataTD\">\n"; $gForm->selectFromDB('catmer','cm_ini','codice',$form['cm_ini'],false,false,'-','descri','cm_ini'); echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['cm_fin']."</td><td class=\"FacetDataTD\">\n"; $gForm->selectFromDB('catmer','cm_fin','codice',$form['cm_fin'],false,false,'-','descri','cm_fin'); echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['art_ini']."</td><td class=\"FacetDataTD\">\n"; $gForm->selItem('art_ini',$form['art_ini'],$form['search']['art_ini'],$script_transl['mesg'],$form['hidden_req']); echo "</tr>\n"; echo "<tr>\n";
require("../../library/include/header.php"); $script_transl=HeadMain(); echo "<form method=\"POST\" name=\"select\">\n"; echo "<input type=\"hidden\" value=\"".$form['hidden_req']."\" name=\"hidden_req\" />\n"; echo "<input type=\"hidden\" value=\"".$form['ritorno']."\" name=\"ritorno\" />\n"; $gForm = new magazzForm(); echo "<div align=\"center\" class=\"FacetFormHeaderFont\">".$script_transl['title']; echo "</div>\n"; echo "<table class=\"Tsmall\">\n"; if (!empty($msg)) { echo '<tr><td colspan="2" class="FacetDataTDred">'.$gForm->outputErrors($msg,$script_transl['errors'])."</td></tr>\n"; } echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['lis_obj']."</td><td class=\"FacetDataTD\">\n"; $gForm->variousSelect('lis_obj',$script_transl['listino_value'],$form['lis_obj'],'FacetSelect',false); echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['cm_ini']."</td><td class=\"FacetDataTD\">\n"; $gForm->selectFromDB('catmer','cm_ini','codice',$form['cm_ini'],false,false,'-','descri','cm_ini'); echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['cm_fin']."</td><td class=\"FacetDataTD\">\n"; $gForm->selectFromDB('catmer','cm_fin','codice',$form['cm_fin'],false,false,'-','descri','cm_fin'); echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['art_ini']."</td><td class=\"FacetDataTD\">\n"; $gForm->selItem('art_ini',$form['art_ini'],$form['search']['art_ini'],$script_transl['mesg'],$form['hidden_req']); echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['art_fin']."</td><td class=\"FacetDataTD\">\n";