date("Y")-18) { header("Location: http://www.erotissima.com/index.php?err=1"); exit(); } else if ($_POST["ttAnnee"]=date("Y")-18) { if($_POST["ttMois"]>date("m")) { header("Location: http://www.erotissima.com/index.php?err=1"); exit(); } else if($_POST["ttMois"]=date("m")) { if ($_POST["ttJour"]>date("d")) { header("Location: http://www.erotissima.com/index.php?err=1"); exit(); } else { header("Location: http://www.erotissima.com/catalog/index.php"); exit(); } } else { header("Location: http://www.erotissima.com/catalog/index.php"); exit(); } } else { header("Location: http://www.erotissima.com/catalog/index.php"); exit(); } } ?>