1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
/head>
<div id="loading" style="position:absolute; width:100%; text-align:center; top:300px;"><img src="./images/page-en-cours-de-chargement.gif" border=0></div>
<body>
<?php
if(isset($_GET['mot1'])){
$mot1=$_GET['mot1'];
}
else{
$mot1="";
}
if(isset($_GET['mot2'])){
$mot2=$_GET['mot2'];
}
else{
$mot2="";
}
if(isset($_GET['mot3'])){
$mot3=$_GET['mot3'];
}
else{
$mot3="";
}
if(isset($_GET['mot4'])){
$mot4=$_GET['mot4'];
}
else{
$mot4="";
}
if(isset($_GET['mot5'])){
$mot5=$_GET['mot5'];
}
else{
$mot5="";
}
if(isset($_GET['mot6'])){
$mot6=$_GET['mot6'];
}
else{
$mot6="";
}
[...]
echo "<script>";
echo "document.getElementById('loading').style.display = \"block\";";
echo "</script>";
ob_flush();
flush();
ob_flush();
flush();
echo "<div style=\"font-size:10px\">";
if(($mot1=="" && $mot2=="" && $mot3=="" && $mot4=="" && $mot5=="" && $mot6=="" && $mot7=="" && $mot8=="" && $mot9=="" && $mot10=="") || $adr==""){
echo"<table><tr><td> <img src=\"../images/erreur.gif\" width=50 height=50 alt=\"Erreur\"> </td><td>";
echo "<strong> Données manquantes ou incorrectes.</strong>";
echo"</td></tr></table>";
}
else{
include("../fonctions.php");
echo "<table align=center style=\"border:1px groove #c0c0c0;font-family:arial;\">";
[...]
echo "<script>";
echo "document.getElementById('loading').style.display = \"none\";";
echo "</script>";
?>
</body>
</html> |