Beispiel #1
0
    echo "\t\t <option value=\"$counter\"  $selected >$counter</option>\n";
    }
echo "\t </select></td></tr>\n";
echo "<tr><td class=\"FacetFieldCaptionTD\">$script_transl[7]</td><td class=\"FacetDataTD\">\n";
echo "<select name=\"listin\" class=\"FacetSelect\">\n";
for ($lis = 1; $lis <= 3; $lis++) {
    $selected="";
    if ($form["listin"] == $lis) {
        $selected = " selected ";
    }
    echo "<option value=\"".$lis."\"".$selected.">".$lis."</option>\n";
}
echo "</select></td>\n";
echo "<td class=\"FacetFieldCaptionTD\">$script_transl[8]</td><td  class=\"FacetDataTD\">\n";
$select_pagame = new selectpagame("pagame");
$select_pagame -> addSelected($form["pagame"]);
$select_pagame -> output();
echo "</td><td class=\"FacetFieldCaptionTD\">$script_transl[9]</td><td  class=\"FacetDataTD\">\n";
$select_banapp = new selectbanapp("banapp");
$select_banapp -> addSelected($form["banapp"]);
$select_banapp -> output();
echo "</td></tr>\n";
echo "<tr>\n";
if (substr($form['tipdoc'],0,1) == 'A') { // documento d'acquisto ricevuto (non fiscale)
   echo "<td colspan=\"3\" class=\"FacetFieldCaptionTD\" align=\"right\">".$script_transl[0][$form['tipdoc']]." ".$script_transl[52]." </td>\n";
   echo "<td><input type=\"text\" name=\"numfat\" value=\"".$form['numfat']."\" maxlength=\"20\" size=\"20\"></td>\n";
   echo "<td class=\"FacetFieldCaptionTD\">$script_transl[6]</td>";
   echo "<td class=\"FacetDataTD\"><INPUT TYPE=\"text\" NAME=\"giotra\" VALUE=\"".$form['giotra']."\" size=\"2\">\n";
   echo "<INPUT TYPE=\"text\" NAME=\"mestra\" VALUE=\"".$form['mestra']."\" size=\"2\">\n";
   echo "<INPUT TYPE=\"text\" NAME=\"anntra\" VALUE=\"".$form['anntra']."\" size=\"2\">\n";
   echo "<A HREF=\"#\" onClick=\"cal.showCalendar('anchor','".$form['mestra']."/".$form['giotra']."/".$form['anntra']."'); return false;\" TITLE=\" cambia la data! \" NAME=\"anchor\" ID=\"anchor\">\n";
Beispiel #2
0
    echo "\t\t <option value=\"$counter\"  $selected >$counter</option>\n";
    }
echo "\t </select></td></tr>\n";
echo "<tr><td class=\"FacetFieldCaptionTD\">$script_transl[7]</td><td class=\"FacetDataTD\">\n";
echo "<select name=\"listin\" class=\"FacetSelect\">\n";
for ($lis = 1; $lis <= 3; $lis++) {
    $selected="";
    if ($form['listin'] == $lis) {
        $selected = " selected ";
    }
    echo "<option value=\"".$lis."\"".$selected.">".$lis."</option>\n";
}
echo "</select></td>\n";
echo "<td class=\"FacetFieldCaptionTD\">$script_transl[8]</td><td  class=\"FacetDataTD\">\n";
$select_pagame = new selectpagame("pagame");
$select_pagame -> addSelected($form['pagame']);
$select_pagame -> output();
echo "</td><td class=\"FacetFieldCaptionTD\">$script_transl[9]</td><td  class=\"FacetDataTD\">\n";
$select_banapp = new selectbanapp("banapp");
$select_banapp -> addSelected($form['banapp']);
$select_banapp -> output();
echo "</td></tr>\n";
echo "<tr>\n";
echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['print_total']."</td><td  class=\"FacetDataTD\">\n";
$gForm->variousSelect('print_total',$script_transl['print_total_value'],$form['print_total']);
echo "\t </td>\n";
echo "<td class=\"FacetFieldCaptionTD\" title=\"".$script_transl['day_of_validity']."\">".$script_transl['day_of_validity']."</td>
      <td class=\"FacetDataTD\" title=\"".$script_transl['day_of_validity']."\"><input type=\"text\" value=\"".$form['day_of_validity']."\" name=\"day_of_validity\" maxlength=\"3\" size=\"3\" /></td>\n";
echo "<td class=\"FacetFieldCaptionTD\" title=\"".$script_transl['delivery_time']."\">".$script_transl['delivery_time']."</td>
      <td class=\"FacetDataTD\" title=\"".$script_transl['delivery_time']."\"><input type=\"text\" value=\"".$form['delivery_time']."\" name=\"delivery_time\" maxlength=\"3\" size=\"3\" /></td>\n";
echo "</tr>\n";