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

<?php
include("dblib.inc");
include("clublib.inc");
checkAdmin();
$message = "Sei sicuro di voler rimuovere il codice IVA?";
if (isset($_POST['actionflag']) && $_POST['actionflag']=="Delete")
	{
	
		$result = delRow($vat_table, "Percentuale", $_POST['ID_Code']);
		header("Location: Admin_Vat.php");
		exit;	
	}
		
$_POST = getRow ( $vat_table, "Percentuale", $_GET['ID_Code']);
//$_POST["E_Mail"]=$_SESSION["E_Mail"];
?>


<html>
<head>
<title>Elimina Codice IVA</title>

<?php 
include("Header.php"); 

?>
<!-- BEGIN Record pws_clienti -->
<form method="post" action="<?php print $_SERVER['PHP_SELF'];?>" >
<!-- flag di invio del modulo -->
<input type="Hidden" name="actionflag" value="Delete">
<input type="Hidden" name="ID_Code" value="<?php print $_REQUEST['ID_Code']?>">
<div align="center"><font class="FacetFormHeaderFont">Dati Codice IVA</font></div>
<table border="0" cellpadding="3" cellspacing="1" class="FacetFormTABLE" align="center">
  <!-- BEGIN Error -->
  <tr>
    <td colspan="2" class="FacetDataTD">
	<?php
	if (! $message == "")
	{
	print "$message";
	}
	?>
	</td>
  </tr>
  <!-- END Error -->
  <tr>
    <td class="FacetFieldCaptionTD">Codice IVA *&nbsp;</td>
    <td class="FacetDataTD"><input type="text" name="Percentuale" disabled value="<?php print $_POST["Percentuale"] ?>" maxlength="2" size="2" class="FacetInput"> %&nbsp;</td>
  <tr>
    <td class="FacetFieldCaptionTD">Descrizione *&nbsp;</td>
    <td class="FacetDataTD"><input type="text" name="Descrizione" disabled value="<?php print $_POST["Descrizione"] ?>" maxlength="60" size="50" class="FacetInput">&nbsp;</td>
  </tr>
  
    <td colspan="2" align="right" nowrap class="FacetFooterTD">
      <!-- BEGIN Button Insert --><input name="Insert" type="submit" value="Delete" class="FacetButton"><!-- END Button Insert -->

    </td>
  </tr></table>
</form>
<!-- END Record pws_clienti -->


</body>
</html>