예제 #1
0
<table border="0" cellpadding="3" cellspacing="1" class="FacetFormTABLE" align="center">

  <!-- BEGIN Error -->

   <tr>

    <td colspan="4" class="FacetDataTD"><?php 
print $message;
?>
</td></tr>

   <tr>
<?php 
$headers_fatture = array("N. Fattura" => "N_Fattura", "Ragione Sociale" => "Ragione_Sociale", "Data Fattura" => "Data_Fattura", "Data Scadenza" => "Scadenza", "Totale" => "Totale", "Cancella" => "");
$headerFatture = new linkHeaders($headers_fatture);
$headerFatture->output();
?>
 
   </tr>

<?php 
$result = dynQuery('*', $spl_invoices_table, $session['where'], $orderby, $session['limit'], $session['passo']);
while ($a_row = dbms_fetch_array($result)) {
    print "<tr>";
    print "<td class=\"FacetDataTD\"><a href=\"Admin_Upd_Fattura_Fornitore.php?ID_Fattura_Acquisto=" . $a_row['ID_Fattura_Acquisto'] . "\">" . $a_row["N_Fattura"] . "</a> &nbsp;</td>";
    print "<td class=\"FacetDataTD\">" . $a_row["Ragione_Sociale"] . " &nbsp;</td><td class=\"FacetDataTD\">" . formatDate($a_row["Data_Fattura"]) . " &nbsp;</td><td class=\"FacetDataTD\">" . formatDate($a_row["Scadenza"]) . " &nbsp;</td><td class=\"FacetDataTD\">" . $a_row['Totale'] . "&nbsp;</td>";
    print "<td class=\"FacetDataTD\"><a href=\"Admin_Del_Fattura_Fornitore.php?ID_Fattura_Acquisto=" . $a_row['ID_Fattura_Acquisto'] . "\"><img src=\"images/x.gif\" alt=\"Cancella\" border=\"0\"></a></td>";
    print "</tr>";
}
?>
예제 #2
0
echo "\" maxlength=\"6\" size=\"3\" tabindex=\"1\" class=\"FacetInput\"></td>\n";
echo "<td><input type=\"submit\" name=\"search\" value=\"".$script_transl['search']."\" tabindex=\"1\" onClick=\"javascript:document.report.all.value=1;\"></td>\n";
echo "<td><input type=\"submit\" name=\"all\" value=\"".$script_transl['vall']."\" onClick=\"javascript:document.report.all.value=1;\"></td></tr>\n";
$result = gaz_dbi_dyn_query ('*',$gTables['files']." LEFT JOIN ".$gTables['artico']." ON ".$gTables['files'].".item_ref = ".$gTables['artico'].".codice", $where, $orderby, $limit, $passo);
// creo l'array (header => campi) per l'ordinamento dei record
$headers_mov = array  (
            "ID" => "id_doc",
            $script_transl['item'] => "item_ref",
            $script_transl['table_name_ref'] => "table_name_ref",
            $script_transl['note'] => "title",
            $script_transl['ext'] => "extension",
            'Download' => "",
            $script_transl['delete'] => ""
            );
$linkHeaders = new linkHeaders($headers_mov);
$linkHeaders -> output();
$recordnav = new recordnav($gTables['files'], $where, $limit, $passo);
$recordnav -> output();
while ($a_row = gaz_dbi_fetch_array($result)) {
    if(!isset($_GET['all']) and !empty($a_row["image"])){
         $boxover = "title=\"cssbody=[FacetInput] cssheader=[FacetButton] header=[".$a_row['annota']."] body=[<center><img src='../root/view.php?table=artico&value=".$a_row['item_ref']."'>] fade=[on] fadespeed=[0.03] \"";
    } else {
         $boxover = "title=\"cssbody=[FacetInput] cssheader=[FacetButton] header=[".$a_row['annota']."]  fade=[on] fadespeed=[0.03] \"";
    }
    print "<tr>\n";
    print "<td class=\"FacetDataTD\" align=\"right\"><a href=\"admin_document.php?id_doc=".$a_row["id_doc"]."&Update\" title=\"".ucfirst($script_transl['update'])."!\">".$a_row["id_doc"]."</a> &nbsp</td>";
    print "<td class=\"FacetDataTD\" align=\"center\" $boxover >".$a_row["item_ref"]."</td>\n";
    print "<td class=\"FacetDataTD\" align=\"center\">".$a_row["table_name_ref"]."</td>\n";
    print "<td class=\"FacetDataTD\" align=\"center\">".$a_row["title"]."</td>\n";
    print "<td class=\"FacetDataTD\" align=\"center\">".$a_row["extension"]."</td>\n";
    print "<td class=\"FacetDataTD\" align=\"center\"><a href=\"../root/retrieve.php?id_doc=".$a_row["id_doc"]."\"><img src=\"../../library/images/vis.gif\" title=\"".$script_transl['view']."!\" border=\"0\"></a></td>\n";
예제 #3
0
<table border="0" cellpadding="3" cellspacing="1" class="FacetFormTABLE" align="center">

  <!-- BEGIN Error -->

   <tr>

    <td colspan="4" class="FacetDataTD"><?php 
print $message;
?>
</td></tr>

   <tr>
<?php 
$headers_note = array("N. Nota" => "ID_Nota", "Cliente" => "Ragione_Sociale", "Data Nota" => "Data_Nota", "Iva" => "Iva", "Totale" => "Totale");
$headerNote = new linkHeaders($headers_note);
$headerNote->output();
?>
 
   </tr>

<?php 
$result = dynQuery('*', $credit_notes_table, $session['where'], $orderby, $session['limit'], $session['passo']);
while ($a_row = dbms_fetch_array($result)) {
    print "<tr>";
    print "<td class=\"FacetDataTD\"><a href=\"Admin_Stampa_Nota.php?ID_Nota=" . $a_row['ID_Nota'] . "\">" . $a_row["Prog_Nota_Annuo"] . "</a> &nbsp;</td>";
    print "<td class=\"FacetDataTD\">" . $a_row["Ragione_Sociale"] . " &nbsp;</td>\r\n\t<td class=\"FacetDataTD\">" . formatDate($a_row["Data_Nota"]) . " &nbsp;</td>\r\n\t<td class=\"FacetDataTD\">" . $a_row['Iva'] . "% &nbsp;</td>\r\n\t<td class=\"FacetDataTD\">" . $a_row['Totale'] . "&nbsp;</td>";
    print "</tr>";
}
?>

 </table>