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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
|
<? include("connexionphp.php");?>
<html>
<head><title>Gestion de flux à l'accueil</title>
<!-- DEBUT DU SCRIPT DATE -->
<script language="JavaScript">
function VersionNavigateur(Netscape, Explorer)
{
if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') || (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
return true;
else return false;
}
function Semaine()
{
this[0] = "Dimanche";
this[1] = "Lundi";
this[2] = "Mardi";
this[3] = "Mercredi";
this[4] = "Jeudi";
this[5] = "Vendredi";
this[6] = "Samedi";
}
function Mois()
{
this[0] = "Janvier";
this[1] = "Février";
this[2] = "Mars";
this[3] = "Avril";
this[4] = "Mai";
this[5] = "Juin";
this[6] = "Juillet";
this[7] = "Août";
this[8] = "Septembre";
this[9] = "Octobre";
this[10] = "Novembre";
this[11] = "Décembre";
}
today = new Date;
function date()
{
var semaine=new Semaine();
var mois=new Mois();
var myDate=new Date();
annee = today.getFullYear();
var result=semaine[myDate.getDay()]+" "+myDate.getDate()+" "+mois[myDate.getMonth()]+" "+annee;
document.writeln(result);
}
function openWin( windowURL, windowName, windowFeatures )
{
return window.open( windowURL, windowName, windowFeatures ) ;
}
</script>
<!-- FIN DU SCRIPT DATE -->
</head>
<body>
<table border="0" cellpadding="3" cellspacing="0" width="100%">
<tbody>
<tr><td colspan="2"><img src="logosemacomplet.jpg"></td>
<td colspan="3" align="center"><!-- DEBUT DU SCRIPT DATE-->
Aujourd'hui nous sommes le <script language="JavaScript">date();</script><!-- FIN DU SCRIPT DATE-->
<form action="EnregistreStatistique.php" method="post" name="Form1">
</td></tr>
<tr bgcolor="#92adba">
<td style="font-family: Arial; color: rgb(255, 255, 255); font-weight: bold;" align="center">SEXE</td>
<td style="font-family: Arial; color: rgb(255, 255, 255); font-weight: bold;" align="center">AGE</td>
<td style="font-family: Arial; color: rgb(255, 255, 255); font-weight: bold;" align="center">LIEU</td>
<td style="font-family: Arial; color: rgb(255, 255, 255); font-weight: bold;" align="center">STATUT</td>
<td style="font-family: Arial; color: rgb(255, 255, 255); font-weight: bold;" align="center">SECTEUR</td>
</tr>
<tr>
<td style="font-family: Arial; color: rgb(255, 255, 255);" bgcolor="#73005f">
HOMME : <input name="sexe" value="M" type="radio"><br>
FEMME : <input name="sexe" value="F" type="radio">
</td>
<td style="font-family: Arial; color: rgb(255, 255, 255);" bgcolor="#1e3782">
+ 26 ANS : <input name="age" value="+26" type="radio"><br>
- 26 ANS : <input name="age" value="-26" type="radio">
</td>
<td style="font-family: Arial; color: rgb(255, 255, 255);" bgcolor="#009bb4">
CAMSA : <input name="lieu" value="camsa" type="radio"><br>
AUTRE : <input name="lieu" value="non camsa" type="radio">
</td>
<td style="font-family: Arial; color: rgb(255, 255, 255);" bgcolor="#a4d24b">
D.E : <input name="statut" value="de" type="radio"><br>
AUTRE : <input name="statut" value="nonde" type="radio">
</td>
<td align="center" bgcolor="#f6c51b">
<select name="secteur">
<option value="enseignement">Enseignement</option>
<option value="metiers">Métiers</option>
<option value="emploi">Emploi</option>
<option value="formation">Formation permanente</option>
<option value="vie pratique">Vie pratique</option>
<option value="loisirs">Loisirs</option>
<option value="vacances">Vacances</option>
<option value="etranger">Dom Tom et étranger</option>
<option value="sports">Sports</option>
</select>
</td>
</tr>
<tr bgcolor="#cecece">
<td colspan="5" align="center">
<input value="Envoyer" type="submit">
</td>
</tr>
</form>
</table>
</tbody>
<form action="CreeHistogramme.php" method="post" name="Form2">
<table border="0" cellpadding="3" cellspacing="0" width="100%">
<tr>
<td align="center" valign="top">
<object border=5 width=490 height=380 NAME="name_iframe" data="CreeHistogramme.php" type="text/html">
</object>
</td>
</tr>
<tr>
<td colspan="5" align="center">
<input value="Voir les Stats" type="submit">
</td>
</tr>
<tr>
<td colspan="5" align="center">
<input name="sexe" type="hidden" value="<?php echo $_POST['sexe'] ?>">
</td>
</tr>
<tr>
<td colspan="5" align="center">
<input name="age" value="<?php echo $_POST['age']; ?>" type="hidden">
</td>
</tr>
<tr>
<td colspan="5" align="center">
<input name="lieu" value="<?php echo $_POST['lieu']; ?>" type="hidden">
</td>
</tr>
<tr>
<td colspan="5" align="center">
<input name="statut" value="<?php echo $_POST['statut']; ?>" type="hidden">
</td>
</tr>
<tr>
<td colspan="5" align="center">
<input name="secteur" value="<?php echo $_POST['secteur']; ?>" type="hidden">
</td>
</tr>
</table>
</form>
</body>
</html> |
Partager