Current Path : /web/htdocs/www.entinoprofit.org/home/database/cofapi/
Upload File :
Current File : /web/htdocs/www.entinoprofit.org/home/database/cofapi/Admin_Vat.php

<?php

include("dblib.inc");

include("clublib.inc");

checkAdmin();

$message = "";

?>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">



<html>

<head>

	<title>Codici IVA</title>

	<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>



<body bgcolor="#FFFFFF" link="#504C43" alink="#000000" vlink="#504C43" text="#000000">

<?php 

include("Header.php"); 
include("confignav.php");
?>


<p><br></p>
<p><div align="center"><font class="FacetFormHeaderFont"><a href="Admin_Nuovo_Vat.php">Inserisci Nuovo Codice IVA</a></font></div>

<p><div align="center"><font class="FacetFormHeaderFont">Tabella IVA</font></div>
<?php
$last = recordCount($vat_table)-(recordCount($vat_table) % $_SESSION['passo']); // (recordcount - modulo del numero di record diviso il passo)
// barra di navigazione record
include "recordnav.php"
?>
<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_clienti = array(
		"Percentuale" => "Percentuale",
		"Descrizione" => "Descrizione",
		"Cancella" => ""
		);
	$headerFatture = new linkHeaders($headers_clienti);
	$headerFatture -> output();	
?>
   </tr>

<?php


$result = dynQuery ('*', $vat_table, $_SESSION['where'], $orderby, $_SESSION['limit'], $_SESSION['passo']);



while ($a_row = dbms_fetch_array($result))

	{

	print "<tr>";

	print "<td class=\"FacetDataTD\">".$a_row["Percentuale"]." &nbsp;</td>";
	print "<td class=\"FacetDataTD\">".$a_row["Descrizione"]." &nbsp;</td>";
	if ($a_row["Percentuale"]=='0')
		print "<td class=\"FacetDataTD\" align='center'>&nbsp;</td>";
	else
		print "<td class=\"FacetDataTD\" align='center'><a href=\"Admin_Del_Vat.php?ID_Code=".$a_row["Percentuale"]."\"><img src=\"images/x.gif\" alt=\"Cancella\" border=\"0\"></a></td>";
	print "</tr>";

	}   

   ?>

 </table>



</body>

</html>