<?
include("dblib.inc");

include("clublib.inc");

checkAdmin();
$message = "";

include("Header.php"); 


?><title>Tracking Pagamenti</title>

<p><br></p>
<p><div align="center"></div>

<p>
<div align="center">
  <p><font class="FacetFormHeaderFont">Tracking Pagamenti Clienti </font></p>
</div>
<table width="100%"  border="1" cellspacing="0" cellpadding="1">
  <tr>
    <td class="FacetFieldCaptionTD" width="8%"><strong><font color="#999999">ID Pag </font></strong>      <div align="center"></div></td>
    <td class="FacetFieldCaptionTD" width="26%"><div align="center"><font color="#999999"><strong>Cliente</strong></font></div></td>
    <td class="FacetFieldCaptionTD" width="23%"><div align="center"><font color="#999999"><strong>Metodo Pagamento </strong></font></div></td>
    <td class="FacetFieldCaptionTD" width="13%"><div align="center"><font color="#999999"><strong>Importo &euro; </strong></font></div></td>
    <td class="FacetFieldCaptionTD" width="24%"><div align="center"><font color="#999999"><strong>Rif. Ordini </strong></font></div></td>
    <td class="FacetFieldCaptionTD" width="6%"><div align="center"><font color="#999999"><strong>Canc</strong></font></div></td>
  </tr>

 <?
$query = "SELECT * FROM pagam ";
$result = mysql_db_query("$Database", $query); 
if ($result) { 


while ($a_row = dbms_fetch_array($result))

	{

	
	
	print "<tr>";
	
	print "<td class=FacetDataTD>".$a_row["ID_Pag"]."</td>";	
    print "<td class=FacetDataTD>".$a_row["Ragione_Sociale"]."</td>";
	print "<td class=FacetDataTD>".$a_row["Banca"]." &nbsp;</td>";
	print "<td class=FacetDataTD>".$a_row["Total"]." &nbsp;</td>";
    print "<td class=FacetDataTD>".$a_row["Ordini"]." &nbsp;</td>";
    print "<td class=FacetDataTD><a href=\"Admin_Del_Tracking.php?ID_Pag=".$a_row["ID_Pag"]."\"><img src=\"images/x.gif\" alt=\"Cancella\" border=\"0\"></a></td>";
	print "</tr>";

	} 
	  
}
   ?>

</table>







</body>

</html>


   







