<?php
# ---------------------------------------
# Paperasse (c) 2006 Guillaume BETTAYEB
# mail and documents management web page
# hide@address.com
# ---------------------------------------
include_once('paperasse.conf.php');
extract($HTTP_POST_VARS);
$montant = "$euros.$centimes";
$date = date('Y-m-d');
$datefacture = "$annee-$mois-$jour";
$sql = "REPLACE INTO `factures` (`id`, `contact`, `utilisateur`, `dossier`, `montant`, `date`, `datefacture`) VALUES ('$id', '$contact', '$utilisateur', '$dossier', '$montant', '$date', '$datefacture');";
$query = mysql_query($sql) OR die(mysql_error());
?>
<div align="center"><a href="index.php"><img src="ok.jpg" border="0"></a></div>