// select dell'ora echo "\t <select name=\"initra_I\" class=\"FacetText\" >\n"; for( $counter = 0; $counter <= 59; $counter++ ) { $selected = ""; if($counter == $form['initra_I']) $selected = "selected"; echo "\t\t <option value=\"".sprintf('%02d',$counter)."\" $selected >".sprintf('%02d',$counter)."</option>\n"; } echo "\t </select>\n"; echo "</td></tr><tr>\n"; echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['traspo'].' '.$admin_aziend['symbol']."</td>\n"; echo "\t<td class=\"FacetDataTD\"><input type=\"text\" name=\"traspo\" value=\"".$form['traspo']."\" align=\"right\" maxlength=\"6\" size=\"3\" onChange=\"this.form.total.value=summa(this);\" />\n"; echo "\t </td>\n"; echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['pagame']."</td><td class=\"FacetDataTD\">\n"; $gForm->selectFromDB('pagame','pagame','codice',$form['pagame'],'codice',1,' ','descri'); echo "\t </td>\n"; echo '<td class="FacetFieldCaptionTD">'.$script_transl['destin']."</td>\n"; echo "<td class=\"FacetDataTD\"><textarea rows=\"1\" cols=\"30\" name=\"destin\" class=\"FacetInput\">".$form['destin']."</textarea></td>\n"; echo "</tr><tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['id_agente']."</td>"; echo "<td class=\"FacetDataTD\">\n"; $select_agente = new selectAgente("id_agente"); $select_agente -> addSelected($form["id_agente"]); $select_agente -> output(); echo "</td>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['spediz']."</td>\n"; echo "<td class=\"FacetDataTD\"><input type=\"text\" name=\"spediz\" value=\"".$form["spediz"]."\" maxlength=\"50\" size=\"25\" class=\"FacetInput\">\n"; $select_spediz = new SelectValue("spedizione"); $select_spediz -> output('spediz', 'spediz'); echo "</td>\n";
echo "</tr>\n"; echo "<tr>\n"; echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['capspe']." * </td>\n"; echo "\t<td colspan=\"2\" class=\"FacetDataTD\"> <input type=\"text\" name=\"capspe\" id=\"search_location-capspe\" value=\"".$form['capspe']."\" align=\"right\" maxlength=\"10\" size=\"5\" /></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['citspe']." * </td>\n"; echo "\t<td class=\"FacetDataTD\"> <input type=\"text\" name=\"citspe\" id=\"search_location\" value=\"".$form['citspe']."\" align=\"right\" maxlength=\"50\" size=\"50\" /></td>\n"; echo "\t<td class=\"FacetDataTD\"> <input type=\"text\" name=\"prospe\" id=\"search_location-prospe\" value=\"".$form['prospe']."\" align=\"right\" maxlength=\"2\" size=\"2\" /></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['country']."</td><td colspan=\"2\" class=\"FacetDataTD\">\n"; $gForm->selectFromDB('country','country','iso',$form['country'],'iso',0,' - ','name'); echo "</td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['id_language']."</td><td colspan=\"2\" class=\"FacetDataTD\">\n"; $gForm->selectFromDB('languages','id_language','lang_id',$form['id_language'],'lang_id',1,' - ','title_native'); echo "</td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['id_currency']."</td><td colspan=\"2\" class=\"FacetDataTD\">\n"; $gForm->selectFromDB('currencies','id_currency','id',$form['id_currency'],'id',1,' - ','curr_name'); echo "</td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['sedleg']." </td>\n"; echo "\t<td colspan=\"2\" class=\"FacetDataTD\">
echo "<input type=\"image\" name=\"in_submit\" src=\"../../library/images/vbut.gif\" title=\"".$script_transl['submit'].$script_transl['thisrow']."!\" tabindex=\"26\">\n"; echo "\t </td>\n"; echo "\t </tr>\n"; echo "\t<tr class=\"FacetColumnTD\">\n"; echo "\t<td colspan=\"3\">".$script_transl['tiprig'].": \n"; $gForm->variousSelect('in_tiprig',$script_transl['tiprig_value'],$form['in_tiprig']); echo $script_transl['codric'].": \n"; $select_codric = new selectconven("in_codric"); $select_codric->addSelected($form['in_codric']); $select_codric->output(substr($form['in_codric'],0,1)); echo "% ".$script_transl['sconto'].": \n"; echo "<input type=\"text\" value=\"".$form['in_sconto']."\" maxlength=\"4\" size=\"1\" name=\"in_sconto\">\n"; echo $script_transl['provvigione']."\n"; echo "<input type=\"text\" value=\"".$form['in_provvigione']."\" maxlength=\"6\" size=\"1\" name=\"in_provvigione\">\n"; echo $script_transl['vat_constrain']."\n"; $gForm->selectFromDB('aliiva','in_codvat','codice',$form['in_codvat'],'codice',true,'-','descri'); echo "\t </td>\n"; echo "\t </tr>\n"; echo "</table>\n"; if ($next_row>0) { echo '<div class="FacetSeparatorTD" align="center">'.$script_transl['body_title']."</div>\n"; echo "<table class=\"Tlarge\">\n"; echo "\t<tr class=\"FacetColumnTD\" align=\"center\">\n"; echo "\t<td></td>\n"; echo "\t<td>".$script_transl['codart']."</td>\n"; echo "\t<td>".$script_transl['descri']."</td>\n"; echo "\t<td>".$script_transl['unimis']."</td>\n"; echo "\t<td>".$script_transl['quanti']."</td>\n"; echo "\t<td>".$script_transl['prezzo']."</td>\n"; echo "\t<td>".$script_transl['sconto']."</td>\n"; echo "\t<td>".$script_transl['provvigione']."</td>\n";