コード例 #1
0
ファイル: select_filerb.php プロジェクト: andreabia/gazie
echo "<div align=\"center\" class=\"FacetFormHeaderFont\">".$script_transl['title'];
echo "</div>\n";
echo "<table class=\"Tmiddle\">\n";
if (!empty($msg)) {
    echo '<tr><td class="FacetDataTDred">'.$gForm->outputErrors($msg,$script_transl['errors'])."</td></tr>\n";
}
echo "<tr>\n";
echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['date_emi']."</td><td class=\"FacetDataTD\">\n";
$gForm->CalendarPopup('date_emi',$form['date_emi_D'],$form['date_emi_M'],$form['date_emi_Y'],'FacetSelect',1);
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class=\"FacetFieldCaptionTD\">".$script_transl['bank']."</td><td  class=\"FacetDataTD\">\n";
$select_bank = new selectconven("bank");
$select_bank -> addSelected($form['bank']);
$select_bank -> output($admin_aziend['masban']);
if ($form['bank']>0){
    $bank_data = $anagrafica->getPartner($form['bank']);
    if ($bank_data['addbol']=='N'){
        $form['eof']= ''; 
    } else {
        $form['eof']= 'eof'; 
    }
}
echo " ".$script_transl['eof'];
$gForm->selCheckbox('eof',$form['eof'],$script_transl['eof_title']);
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "\t<td class=\"FacetFieldCaptionTD\">".$script_transl['reprint']."</td><td  class=\"FacetDataTD\">\n";
$gForm->variousSelect('reprint',$script_transl['reprint_value'],$form['reprint'],'FacetSelect',0,'reprint');
コード例 #2
0
ファイル: admin_broven.php プロジェクト: andreabia/gazie
    if(isset($form["in_artsea"]) and $form["in_artsea"] == $k) {
        $selected = " selected ";
    }
    echo "<option value=\"$k\" $selected > $v </option>";
}
echo "</select>\n";
echo "</TD><TD class=\"FacetColumnTD\">$script_transl[16]: <input type=\"text\" value=\"".$form['in_quanti']."\" maxlength=\"11\" size=\"7\" name=\"in_quanti\" tabindex=\"5\" accesskey=\"q\">\n";
echo "</TD><TD class=\"FacetColumnTD\" align=\"right\"><input type=\"image\" name=\"in_submit\" src=\"../../library/images/vbut.gif\" tabindex=\"6\" title=\"".$script_transl['submit'].$script_transl['thisrow']."!\">\n";
echo "</td></tr>\n";
echo "<tr><td class=\"FacetColumnTD\">\n";
echo "\n$script_transl[17]:";
$gForm->selTypeRow('in_tiprig',$form['in_tiprig']);
echo $script_transl[18].": ";
$select_codric = new selectconven("in_codric");
$select_codric -> addSelected($form['in_codric']);
$select_codric -> output(substr($form['in_codric'],0,1));
echo " %$script_transl[24]: <input type=\"text\" value=\"".$form['in_sconto']."\" maxlength=\"4\" size=\"1\" name=\"in_sconto\">";
echo " %$script_transl[56]: <input type=\"text\" value=\"".$form['in_provvigione']."\" maxlength=\"6\" size=\"1\" name=\"in_provvigione\">";
echo "</TD><TD class=\"FacetColumnTD\">". $script_transl['vat_constrain'];
$select_in_codvat = new selectaliiva("in_codvat");
$select_in_codvat -> addSelected($form['in_codvat']);
$select_in_codvat -> output();
echo "</td><TD class=\"FacetColumnTD\"></TD></tr>\n";
echo "</table>\n";
echo "<table class=\"Tlarge\">\n";
echo "<tr><td class=\"FacetFieldCaptionTD\">$script_transl[20]</td>
          <td colspan=\"2\" class=\"FacetFieldCaptionTD\">$script_transl[21]</td>
          <td class=\"FacetFieldCaptionTD\">$script_transl[22]</td>
          <td class=\"FacetFieldCaptionTD\">$script_transl[16]</td>
          <td class=\"FacetFieldCaptionTD\">$script_transl[23]</td>
          <td class=\"FacetFieldCaptionTD\">%".substr($script_transl[24],0,2).".</td>
コード例 #3
0
ファイル: admin_contract.php プロジェクト: andreabia/gazie
echo "\t </td>\n";
echo "<td>\n";
echo "<input type=\"text\" style=\"text-align:right\" value=\"".$form['in_discount']."\" maxlength=\"4\" size=\"1\" name=\"in_discount\">";
echo "\t </td>\n";
echo "<td align=\"right\">\n";
echo "<input type=\"image\" name=\"in_submit\" src=\"../../library/images/vbut.gif\" title=\"".$script_transl['submit'].$script_transl['thisrow']."!\">\n";
echo "\t </td>\n";
echo "\t </tr>\n";
echo "\t<tr class=\"FacetColumnTD\">\n";
echo "<td colspan=\"7\">\n";
echo $script_transl['vat_code'].' :';
$gForm->selectFromDB('aliiva','in_vat_code','codice',$form['in_vat_code'],'codice',0,' - ','descri');
echo $script_transl['cod_revenue'].' :';
$select_cod_revenue = new selectconven("in_cod_revenue");
$select_cod_revenue -> addSelected($form['in_cod_revenue']);
$select_cod_revenue -> output(substr($form['in_cod_revenue'],0,1));
echo "\t </td>\n";
echo "\t </tr>\n";
if ($next_row>0) {
    echo "<tr class=\"FacetFieldCaptionTD\"><td colspan=\"8\">".$script_transl['insrow']." :</td></tr>\n";
    foreach ($form['rows'] as $k=>$val) {
            $nr=$k+1;
            $aliiva = gaz_dbi_get_row($gTables['aliiva'],'codice',$val['vat_code']);
            echo "<input type=\"hidden\" value=\"".$val['status']."\" name=\"rows[$k][status]\">\n";
            echo "<input type=\"hidden\" value=\"".$val['vat_code']."\" name=\"rows[$k][vat_code]\">\n";
            echo "<input type=\"hidden\" value=\"".$val['cod_revenue']."\" name=\"rows[$k][cod_revenue]\">\n";
            echo "<tr class=\"FacetFieldCaptionTD\">\n";
            echo "<td colspan=\"3\">$nr<input type=\"text\" name=\"rows[$k][descri]\" value=\"".$val['descri']."\" maxlength=\"100\" size=\"50\" />
                  ".$script_transl['cod_revenue'].": ".$val['cod_revenue']." - ".$aliiva['descri']."</td>\n";
            echo "<td><input type=\"text\" name=\"rows[$k][unimis]\" value=\"".$val['unimis']."\" maxlength=\"3\" size=\"3\" /></td>\n";
            echo "<td><input type=\"text\" style=\"text-align:right\" name=\"rows[$k][quanti]\" value=\"".$val['quanti']."\" maxlength=\"11\" size=\"7\" /></td>\n";