<?php
include('../config_db.php');
include ('../config.php');
$retour = mysql_query("SELECT * FROM systeme WHERE id='1'");
$donnees = mysql_fetch_array($retour);

$emaildemander = $_POST['email'];
$quotacrash = $donnees['quotacrash'];

$emailadd = $quotacrash + $emaildemander;
mysql_query("INSERT INTO habcontrol VALUES('', '<b><font color=\"pink\">[QuotaCrash]</font></b> " . $emaildemander ." email on etait ajouter au quota', '" . time() . "')");
mysql_query("UPDATE systeme SET quotacrash='".$emailadd."'");
?>
<meta http-equiv="refresh" content="0; URL=confighotel.php">