root / index.php @ 3d5328c499ae7f4e1f9f3ae2b2819a65a3f2358f
Historique | Voir | Annoter | Télécharger (10,02 ko)
| 1 | 52a3c866 | Romuald | <?php
|
|---|---|---|---|
| 2 | 52a3c866 | Romuald | /*
|
| 3 | 3a9db70f | Romuald | * index.php - Visualisation des congés |
| 4 | 52a3c866 | Romuald | * Copyright (C) 2011 Romuald DELAVERGNE <delavergne@free.fr> |
| 5 | 52a3c866 | Romuald | * |
| 6 | 52a3c866 | Romuald | * This source code is licensed under the GNU General Public License, |
| 7 | 52a3c866 | Romuald | * Version 2. See the file COPYING for more details. |
| 8 | e464d4d0 | Romuald | * |
| 9 | 3a9db70f | Romuald | * Le système de fichiers doit être au même encodage |
| 10 | 3a9db70f | Romuald | * que les chaîne de caractère de PHP (default_charset). |
| 11 | 52a3c866 | Romuald | */ |
| 12 | 52a3c866 | Romuald | |
| 13 | dfb6ddbf | Romuald | function jourFeries($ts) { |
| 14 | dfb6ddbf | Romuald | $annee = date("Y", $ts); |
| 15 | dfb6ddbf | Romuald | $mois = date("m", $ts); |
| 16 | dfb6ddbf | Romuald | $jour = date("d", $ts); |
| 17 | dfb6ddbf | Romuald | if ($mois == "01" && $jour == "01") return "jour de l'an"; |
| 18 | dfb6ddbf | Romuald | if ($mois == "05" && $jour == "01") return "fête du travail"; |
| 19 | dfb6ddbf | Romuald | if ($mois == "05" && $jour == "08") return "victoire 1945"; |
| 20 | dfb6ddbf | Romuald | if ($mois == "07" && $jour == "14") return "fête Nationale"; |
| 21 | dfb6ddbf | Romuald | if ($mois == "08" && $jour == "15") return "l'Assomption"; |
| 22 | dfb6ddbf | Romuald | if ($mois == "11" && $jour == "01") return "la Toussaint"; |
| 23 | dfb6ddbf | Romuald | if ($mois == "11" && $jour == "11") return "armistice 1918"; |
| 24 | dfb6ddbf | Romuald | if ($mois == "12" && $jour == "25") return "Noël"; |
| 25 | dfb6ddbf | Romuald | $tsPaques = easter_date($annee); |
| 26 | dfb6ddbf | Romuald | if ($mois == date("m", $tsPaques) && $jour == date("d", $tsPaques)) return "Pâques"; |
| 27 | dfb6ddbf | Romuald | $ts = strtotime("-7 days", $tsPaques); |
| 28 | dfb6ddbf | Romuald | if ($mois == date("m", $ts) && $jour == date("d", $ts)) return "les Rameaux"; |
| 29 | dfb6ddbf | Romuald | $ts = strtotime("+1 day", $tsPaques); |
| 30 | dfb6ddbf | Romuald | if ($mois == date("m", $ts) && $jour == date("d", $ts)) return "lundi de Pâques"; |
| 31 | dfb6ddbf | Romuald | $ts = strtotime("+39 days", $tsPaques); |
| 32 | dfb6ddbf | Romuald | if ($mois == date("m", $ts) && $jour == date("d", $ts)) return "l'Ascension"; |
| 33 | dfb6ddbf | Romuald | $ts = strtotime("+49 days", $tsPaques); |
| 34 | dfb6ddbf | Romuald | if ($mois == date("m", $ts) && $jour == date("d", $ts)) return "la Pentecôte"; |
| 35 | dfb6ddbf | Romuald | $ts = strtotime("+50 days", $tsPaques); |
| 36 | dfb6ddbf | Romuald | if ($mois == date("m", $ts) && $jour == date("d", $ts)) return "lundi de Pentecôte"; |
| 37 | dfb6ddbf | Romuald | return ""; |
| 38 | dfb6ddbf | Romuald | } |
| 39 | dfb6ddbf | Romuald | |
| 40 | 52a3c866 | Romuald | function getConges($path, &$employes, &$conges) { |
| 41 | 52a3c866 | Romuald | $employes = array(); |
| 42 | 52a3c866 | Romuald | $conges = array(); |
| 43 | 52a3c866 | Romuald | if ($dir = opendir($path)) { |
| 44 | 52a3c866 | Romuald | while (($file = readdir($dir)) !== FALSE) { |
| 45 | 52a3c866 | Romuald | if (is_file("$path/$file")) { |
| 46 | e464d4d0 | Romuald | $employes[] = $file; |
| 47 | 52a3c866 | Romuald | $dates = file("$path/$file"); |
| 48 | 52a3c866 | Romuald | foreach ($dates as $date) $conges[$file][] = rtrim($date); |
| 49 | 52a3c866 | Romuald | } |
| 50 | 52a3c866 | Romuald | } |
| 51 | 52a3c866 | Romuald | closedir($dir); |
| 52 | 52a3c866 | Romuald | } |
| 53 | 52a3c866 | Romuald | } |
| 54 | 52a3c866 | Romuald | |
| 55 | 52a3c866 | Romuald | function setConges($path, $nom, $conges) { |
| 56 | 52a3c866 | Romuald | $fh = @fopen("$path/$nom", 'w'); |
| 57 | 52a3c866 | Romuald | if ($fh) { |
| 58 | 52a3c866 | Romuald | if ($conges[$nom]) { |
| 59 | 52a3c866 | Romuald | asort($conges[$nom]); |
| 60 | 52a3c866 | Romuald | foreach ($conges[$nom] as $str_date) { |
| 61 | 52a3c866 | Romuald | fwrite($fh, "$str_date\n"); |
| 62 | 52a3c866 | Romuald | } |
| 63 | 52a3c866 | Romuald | } |
| 64 | 52a3c866 | Romuald | fclose($fh); |
| 65 | 52a3c866 | Romuald | } else {
|
| 66 | 3a9db70f | Romuald | echo "ERROR d'écriture dans $path/$nom"; |
| 67 | 52a3c866 | Romuald | } |
| 68 | 52a3c866 | Romuald | } |
| 69 | 52a3c866 | Romuald | |
| 70 | 52a3c866 | Romuald | $str_date = $_POST['str_date']; |
| 71 | 52a3c866 | Romuald | $nom = $_POST['nom']; |
| 72 | 52a3c866 | Romuald | getConges("datas", $employes, $conges); |
| 73 | 52a3c866 | Romuald | if ($_POST['action'] == 'add') { |
| 74 | 52a3c866 | Romuald | if (!$conges[$nom] || !in_array($str_date, $conges[$nom])) { |
| 75 | 179d8f27 | Romuald | if ($conges[$nom]) { |
| 76 | 179d8f27 | Romuald | # On supprime l'autre demi-journée au cas où
|
| 77 | 179d8f27 | Romuald | $key = array_search("$str_date AM", $conges[$nom]); |
| 78 | 179d8f27 | Romuald | if ($key !== FALSE) unset($conges[$nom][$key]); |
| 79 | 179d8f27 | Romuald | $key = array_search("$str_date PM", $conges[$nom]); |
| 80 | 179d8f27 | Romuald | if ($key !== FALSE) unset($conges[$nom][$key]); |
| 81 | 179d8f27 | Romuald | } |
| 82 | 3d5328c4 | Romuald | $conges[$nom][] = $str_date; |
| 83 | 52a3c866 | Romuald | setConges('datas', $nom, $conges); |
| 84 | 52a3c866 | Romuald | } |
| 85 | 4b5c5da9 | Romuald | } elseif ($_POST['action'] == 'del') { |
| 86 | 52a3c866 | Romuald | if ($conges[$nom] && in_array($str_date, $conges[$nom])) { |
| 87 | 52a3c866 | Romuald | $key = array_search($str_date, $conges[$nom]); |
| 88 | 52a3c866 | Romuald | unset($conges[$nom][$key]); |
| 89 | 52a3c866 | Romuald | setConges('datas', $nom, $conges); |
| 90 | 52a3c866 | Romuald | } |
| 91 | 52a3c866 | Romuald | } |
| 92 | 52a3c866 | Romuald | |
| 93 | 52a3c866 | Romuald | $vue = $_GET['vue']; |
| 94 | 52a3c866 | Romuald | $date = $_GET['date']; |
| 95 | 52a3c866 | Romuald | if (!$date) { |
| 96 | 52a3c866 | Romuald | $ts = time(); |
| 97 | 52a3c866 | Romuald | } else {
|
| 98 | 52a3c866 | Romuald | $ts = strtotime($date); |
| 99 | 52a3c866 | Romuald | } |
| 100 | 52a3c866 | Romuald | |
| 101 | 52a3c866 | Romuald | switch ($_GET['action']) { |
| 102 | 52a3c866 | Romuald | case '<<': |
| 103 | 52a3c866 | Romuald | $ts = strtotime("-1 month", $ts); |
| 104 | 52a3c866 | Romuald | break;
|
| 105 | 52a3c866 | Romuald | case '>>': |
| 106 | 52a3c866 | Romuald | $ts = strtotime("+1 month", $ts); |
| 107 | 52a3c866 | Romuald | break;
|
| 108 | 52a3c866 | Romuald | case 'mois': |
| 109 | 52a3c866 | Romuald | case 'trimestre': |
| 110 | 3a9db70f | Romuald | case 'année': |
| 111 | 52a3c866 | Romuald | $vue = $_GET['action']; |
| 112 | 52a3c866 | Romuald | break;
|
| 113 | 52a3c866 | Romuald | } |
| 114 | 52a3c866 | Romuald | |
| 115 | 52a3c866 | Romuald | if (!$vue) $vue = "mois"; |
| 116 | 52a3c866 | Romuald | $date = date("Y/m/d", $ts); |
| 117 | 52a3c866 | Romuald | |
| 118 | 52a3c866 | Romuald | /*
|
| 119 | 52a3c866 | Romuald | echo "<pre>\n"; |
| 120 | 52a3c866 | Romuald | print_r($_POST); |
| 121 | 52a3c866 | Romuald | //print_r($employes); |
| 122 | 52a3c866 | Romuald | print_r($conges); |
| 123 | 52a3c866 | Romuald | echo "</pre>\n"; |
| 124 | 52a3c866 | Romuald | */ |
| 125 | 52a3c866 | Romuald | |
| 126 | 52a3c866 | Romuald | ?>
|
| 127 | 52a3c866 | Romuald | <html>
|
| 128 | 52a3c866 | Romuald | <head>
|
| 129 | e464d4d0 | Romuald | <title>Gestion de congés</title> |
| 130 | 3a9db70f | Romuald | <meta http-equiv="Content-Type" content="text/html; charset=utf8" /> |
| 131 | 52a3c866 | Romuald | <meta http-equiv="Content-language" content="fr" /> |
| 132 | 3a9db70f | Romuald | <meta name="copyright" content="Tous droits réservés - All Rights Reserved" /> |
| 133 | 52a3c866 | Romuald | <meta name="author" content="Romuald DELAVERGNE"> |
| 134 | 3d5328c4 | Romuald | <style type="text/css"> |
| 135 | 3d5328c4 | Romuald | td a {
|
| 136 | 3d5328c4 | Romuald | display: block; |
| 137 | 3d5328c4 | Romuald | width: 100%; |
| 138 | 3d5328c4 | Romuald | background-color: white; |
| 139 | 3d5328c4 | Romuald | color: black; |
| 140 | 3d5328c4 | Romuald | text-decoration: none; |
| 141 | 3d5328c4 | Romuald | text-align: center; |
| 142 | 3d5328c4 | Romuald | font-family: Arial, Helvetica, sans-serif; |
| 143 | 3d5328c4 | Romuald | font-weight: bold; |
| 144 | 3d5328c4 | Romuald | cursor: pointer; |
| 145 | 3d5328c4 | Romuald | } |
| 146 | 3d5328c4 | Romuald | td a:hover {
|
| 147 | 3d5328c4 | Romuald | background-color: gray; |
| 148 | 3d5328c4 | Romuald | color: white; |
| 149 | 3d5328c4 | Romuald | } |
| 150 | 3d5328c4 | Romuald | </style>
|
| 151 | 52a3c866 | Romuald | <script language=JavaScript> |
| 152 | 3d5328c4 | Romuald | var ie = document.all; |
| 153 | 3d5328c4 | Romuald | var ns6 = document.getElementById&&!document.all; |
| 154 | 3d5328c4 | Romuald | var isMenu = false; |
| 155 | 3d5328c4 | Romuald | var overpopupmenu = false; |
| 156 | 3d5328c4 | Romuald | var selectNom = ''; |
| 157 | 3d5328c4 | Romuald | var selectDate = ''; |
| 158 | 3d5328c4 | Romuald | |
| 159 | 3d5328c4 | Romuald | function $(id) {
|
| 160 | 3d5328c4 | Romuald | return document.getElementById(id); |
| 161 | 3d5328c4 | Romuald | } |
| 162 | 3d5328c4 | Romuald | |
| 163 | 3d5328c4 | Romuald | function updateConges(nom, str_date, action) {
|
| 164 | 4b5c5da9 | Romuald | document.forms["update"].action.value = action; |
| 165 | 52a3c866 | Romuald | document.forms["update"].nom.value = nom; |
| 166 | 52a3c866 | Romuald | document.forms["update"].str_date.value = str_date; |
| 167 | 52a3c866 | Romuald | document.forms["update"].submit(); |
| 168 | 52a3c866 | Romuald | } |
| 169 | 3d5328c4 | Romuald | |
| 170 | 3d5328c4 | Romuald | function mouseSelect(e) {
|
| 171 | 3d5328c4 | Romuald | var obj = ns6 ? e.target.parentNode : e.srcElement.parentElement; |
| 172 | 3d5328c4 | Romuald | //var obj = ns6 ? e.target : e.srcElement; |
| 173 | 3d5328c4 | Romuald | if (isMenu) {
|
| 174 | 3d5328c4 | Romuald | if (overpopupmenu == false) {
|
| 175 | 3d5328c4 | Romuald | isMenu = false; |
| 176 | 3d5328c4 | Romuald | overpopupmenu = false; |
| 177 | 3d5328c4 | Romuald | $('popupMenu').style.display = "none";
|
| 178 | 3d5328c4 | Romuald | if (obj.id == 'AM' || obj.id == 'PM' ) {
|
| 179 | 3d5328c4 | Romuald | updateConges(selectNom, selectDate+' '+obj.id, 'add'); |
| 180 | 3d5328c4 | Romuald | } |
| 181 | 3d5328c4 | Romuald | selectNom = ''; |
| 182 | 3d5328c4 | Romuald | selectDate = ''; |
| 183 | 3d5328c4 | Romuald | return true; |
| 184 | 3d5328c4 | Romuald | } |
| 185 | 3d5328c4 | Romuald | return true; |
| 186 | 3d5328c4 | Romuald | } |
| 187 | 3d5328c4 | Romuald | return false; |
| 188 | 3d5328c4 | Romuald | } |
| 189 | 3d5328c4 | Romuald | |
| 190 | 3d5328c4 | Romuald | function ItemSelMenu(e, nom, strDate) {
|
| 191 | 3d5328c4 | Romuald | if (e.target.className != 'menu') return false; |
| 192 | 3d5328c4 | Romuald | if (ns6) {
|
| 193 | 3d5328c4 | Romuald | $('popupMenu').style.left = e.clientX+document.body.scrollLeft;
|
| 194 | 3d5328c4 | Romuald | $('popupMenu').style.top = e.clientY+document.body.scrollTop;
|
| 195 | 3d5328c4 | Romuald | } else {
|
| 196 | 3d5328c4 | Romuald | $('popupMenu').style.pixelLeft = event.clientX + document.body.scrollLeft;
|
| 197 | 3d5328c4 | Romuald | $('popupMenu').style.pixelTop = event.clientY + document.body.scrollTop;
|
| 198 | 3d5328c4 | Romuald | } |
| 199 | 3d5328c4 | Romuald | $('popupMenu').style.display = "";
|
| 200 | 3d5328c4 | Romuald | $('AM').style.backgroundColor = 'white';
|
| 201 | 3d5328c4 | Romuald | $('PM').style.backgroundColor = 'white';
|
| 202 | 3d5328c4 | Romuald | $('annuler').style.backgroundColor = 'white';
|
| 203 | 3d5328c4 | Romuald | isMenu = true; |
| 204 | 3d5328c4 | Romuald | selectNom = nom; |
| 205 | 3d5328c4 | Romuald | selectDate = strDate; |
| 206 | 3d5328c4 | Romuald | return false; |
| 207 | 3d5328c4 | Romuald | } |
| 208 | 3d5328c4 | Romuald | |
| 209 | 3d5328c4 | Romuald | document.onmousedown = mouseSelect; |
| 210 | 52a3c866 | Romuald | </script>
|
| 211 | 52a3c866 | Romuald | </head>
|
| 212 | 52a3c866 | Romuald | <html>
|
| 213 | 52a3c866 | Romuald | <body>
|
| 214 | 52a3c866 | Romuald | <form id="update" method="post"> |
| 215 | 52a3c866 | Romuald | <input type="hidden" name="nom" value="" /> |
| 216 | 52a3c866 | Romuald | <input type="hidden" name="str_date" value="" /> |
| 217 | 52a3c866 | Romuald | <input type="hidden" name="action" value="" /> |
| 218 | 52a3c866 | Romuald | </form>
|
| 219 | 52a3c866 | Romuald | <form method="get"> |
| 220 | 52a3c866 | Romuald | <input type="hidden" name="date" value="<?=$date?>" /> |
| 221 | 52a3c866 | Romuald | <input type="hidden" name="vue" value="<?=$vue?>" /> |
| 222 | 52a3c866 | Romuald | <table>
|
| 223 | 52a3c866 | Romuald | <tr>
|
| 224 | 52a3c866 | Romuald | <td align="left"><input type="submit" name="action" value="<<" /></td> |
| 225 | 52a3c866 | Romuald | <td align="center"> |
| 226 | 52a3c866 | Romuald | <input type="submit" style="border:0; background:transparent; color:blue; cursor:pointer; text-decoration:underline;" name="action" value="mois"> | |
| 227 | 52a3c866 | Romuald | <input type="submit" style="border:0; background:transparent; color:blue; cursor:pointer; text-decoration:underline;" name="action" value="trimestre"> | |
| 228 | 52a3c866 | Romuald | <input type="submit" style="border:0; background:transparent; color:blue; cursor:pointer; text-decoration:underline;" name="action" value="année"> |
| 229 | 52a3c866 | Romuald | <td align="right"><input type="submit" name="action" value=">>" /></td> |
| 230 | 52a3c866 | Romuald | </tr>
|
| 231 | 52a3c866 | Romuald | <?php
|
| 232 | 3a9db70f | Romuald | for ($v = 0; $v == 0 || ($vue == "trimestre" && $v < 3) || ($vue == "année" && $v < 12); $v++) { |
| 233 | 52a3c866 | Romuald | $ts2 = strtotime("+$v month", $ts); |
| 234 | 52a3c866 | Romuald | $date_annee = date("Y", $ts2); |
| 235 | 52a3c866 | Romuald | $date_mois = date("m", $ts2); |
| 236 | 52a3c866 | Romuald | $nom_mois = date("F", $ts2); |
| 237 | 52a3c866 | Romuald | $nb_jours = date("t", $ts2); |
| 238 | 52a3c866 | Romuald | ?>
|
| 239 | 52a3c866 | Romuald | <tr><td colspan="3"> |
| 240 | 52a3c866 | Romuald | <table border="1" width="100%"> |
| 241 | 52a3c866 | Romuald | <tr>
|
| 242 | 52a3c866 | Romuald | <th rowspan="2"> </th> |
| 243 | a92b1e97 | Romuald | <th colspan="<?=2*$nb_jours?>" align="center"><?=$nom_mois?> <?=$date_annee?></th> |
| 244 | 52a3c866 | Romuald | </tr>
|
| 245 | 52a3c866 | Romuald | <tr>
|
| 246 | 52a3c866 | Romuald | <?php for ($n = 1; $n <= $nb_jours; $n++) { ?> |
| 247 | a92b1e97 | Romuald | <th colspan="2"><?=sprintf("%02d", $n)?></th> |
| 248 | 52a3c866 | Romuald | <?php } ?> |
| 249 | 52a3c866 | Romuald | </tr>
|
| 250 | 52a3c866 | Romuald | <?php foreach ($employes as $nom) { ?> |
| 251 | 52a3c866 | Romuald | <tr>
|
| 252 | 52a3c866 | Romuald | <td align="right"><?=$nom?></td> |
| 253 | 52a3c866 | Romuald | <?php for ($n = 1; $n <= $nb_jours; $n++) { |
| 254 | 52a3c866 | Romuald | $date_jour = sprintf("%02d", $n); |
| 255 | 52a3c866 | Romuald | $str_date = "$date_annee/$date_mois/$date_jour"; |
| 256 | dfb6ddbf | Romuald | $ts3 = strtotime($str_date); |
| 257 | dfb6ddbf | Romuald | $jour_semaine = date("w", $ts3); |
| 258 | dfb6ddbf | Romuald | $libOnClick = ""; |
| 259 | dfb6ddbf | Romuald | $libTitle = ""; |
| 260 | 3d5328c4 | Romuald | $menu = ""; |
| 261 | dfb6ddbf | Romuald | if (($libFerie = jourFeries($ts3))) { |
| 262 | dfb6ddbf | Romuald | $color = "gray"; |
| 263 | dfb6ddbf | Romuald | $libTitle = " title=\"$libFerie\""; |
| 264 | dfb6ddbf | Romuald | } elseif ($jour_semaine == 0 || $jour_semaine == 6) { |
| 265 | 52a3c866 | Romuald | $color = "lightgray"; |
| 266 | 52a3c866 | Romuald | } else if (isset($conges[$nom]) && in_array($str_date, $conges[$nom])) { |
| 267 | 52a3c866 | Romuald | $color = "blue"; |
| 268 | 3d5328c4 | Romuald | $libOnClick = " onClick=\"updateConges('$nom', '$str_date', 'del')\""; |
| 269 | a92b1e97 | Romuald | } else if (isset($conges[$nom]) && in_array("$str_date AM", $conges[$nom])) { |
| 270 | 00cab91c | Romuald | $colorAM = "blue"; |
| 271 | 00cab91c | Romuald | $colorPM = "white"; |
| 272 | 3d5328c4 | Romuald | $libOnClickAM = " onClick=\"updateConges('$nom', '$str_date AM', 'del')\""; |
| 273 | 3d5328c4 | Romuald | $libOnClickPM = " onClick=\"updateConges('$nom', '$str_date', 'add')\""; |
| 274 | a92b1e97 | Romuald | } else if (isset($conges[$nom]) && in_array("$str_date PM", $conges[$nom])) { |
| 275 | 00cab91c | Romuald | $colorAM = "white"; |
| 276 | 00cab91c | Romuald | $colorPM = "blue"; |
| 277 | 3d5328c4 | Romuald | $libOnClickAM = " onClick=\"updateConges('$nom', '$str_date', 'add')\""; |
| 278 | 3d5328c4 | Romuald | $libOnClickPM = " onClick=\"updateConges('$nom', '$str_date PM', 'del')\""; |
| 279 | 52a3c866 | Romuald | } else {
|
| 280 | 52a3c866 | Romuald | $color = "white"; |
| 281 | 3d5328c4 | Romuald | $libOnClick = " onClick=\"updateConges('$nom', '$str_date', 'add')\""; |
| 282 | 3d5328c4 | Romuald | $menu = " class=\"menu\" onContextMenu=\"ItemSelMenu(event, '$nom', '$str_date'); return false;\""; |
| 283 | 52a3c866 | Romuald | } |
| 284 | 52a3c866 | Romuald | ?>
|
| 285 | a92b1e97 | Romuald | <?php
|
| 286 | 00cab91c | Romuald | if (isset($conges[$nom]) && (in_array("$str_date AM", $conges[$nom]) || in_array("$str_date PM", $conges[$nom]))) { |
| 287 | a92b1e97 | Romuald | ?>
|
| 288 | 00cab91c | Romuald | <td style="cursor: pointer; background-color: <?=$colorAM?>"<?=$libOnClickAM?><?=$libTitle?>> </td> |
| 289 | 00cab91c | Romuald | <td style="cursor: pointer; background-color: <?=$colorPM?>"<?=$libOnClickPM?><?=$libTitle?>> </td> |
| 290 | a92b1e97 | Romuald | <?php } else {?> |
| 291 | 3d5328c4 | Romuald | <td colspan="2" style="cursor: pointer; background-color: <?=$color?>"<?=$libOnClick?><?=$menu?><?=$libTitle?>> </td> |
| 292 | a92b1e97 | Romuald | <?php } ?> |
| 293 | 52a3c866 | Romuald | <?php } ?> |
| 294 | 52a3c866 | Romuald | </tr>
|
| 295 | 52a3c866 | Romuald | <?php
|
| 296 | 52a3c866 | Romuald | } |
| 297 | 52a3c866 | Romuald | ?>
|
| 298 | 52a3c866 | Romuald | </td></tr> |
| 299 | 52a3c866 | Romuald | </table>
|
| 300 | 52a3c866 | Romuald | <?php
|
| 301 | 52a3c866 | Romuald | } |
| 302 | 52a3c866 | Romuald | ?>
|
| 303 | 52a3c866 | Romuald | </table>
|
| 304 | 52a3c866 | Romuald | </form>
|
| 305 | 3d5328c4 | Romuald | <div id="popupMenu" style="position: absolute; display: none; top: 0px; left: 0px; z-index: 10000;" onMouseOver="javascript:overPopupMenu=true;" onMouseOut="javascript:overPopupMenu=false;"> |
| 306 | 3d5328c4 | Romuald | <table border="0" bgcolor="lightgray"> |
| 307 | 3d5328c4 | Romuald | <tr><td id="AM"><a href="#">Matin</a></td></tr> |
| 308 | 3d5328c4 | Romuald | <tr><td id="PM"><a href="#">Après-midi</a></td></tr> |
| 309 | 3d5328c4 | Romuald | <tr><td id="annuler"><a href="#">Annuler</a></td></tr> |
| 310 | 3d5328c4 | Romuald | </table>
|
| 311 | 3d5328c4 | Romuald | </div>
|
| 312 | 52a3c866 | Romuald | </body>
|
| 313 | 52a3c866 | Romuald | </html> |