download table_horaire_session.php
Language: PHP
License: GPL
Copyright: (C) 2001, 2002 Bertand Pallie, Loc Dayot - Mairie Pierrefitte-sur-Seine
LOC: 370
Project Info
epnadmin
Server: Savannah NonGNU
Type: cvs
...epnadmin\epnadmin\epnadmin\
   6cartes.inc.php
   add_message.sh
   add_message_file.sh
   animateur.php
   ...eurs-disponibilites.php
   animateurs-horaires.php
   animateurs.inc.php
   autoeval.js
   barcode.inc.php
   basdepage.inc.php
   camembert.inc.php
   cartes.inc.php
   common.initial.sql
   config.php
   configuration.php
   constantes.inc.php
   courriel.php
   dateheure.inc.php
   debug.inc.php
   domaines.php
   en.lang.inc.php
   entete.inc.php
   epnadmin.css
   epnadminv.css
   exemple.sql
   fonctions.inc.php
   footer.inc.php
   fr.initial.sql
   fr.lang.inc.php
   header.inc.php
   horaires.php
   i25object.inc.php
   image.inc.php
   index.php
   initial.sql
   initiations.inc.php
   initiations.php
   inscription_session.php
   localisations.php
   logiciels.php
   materiels.php
   menu2.js
   mysql.inc.php
   parcours.inc.php
   parcours.php
   positionnement.php
   prets.php
   print.php
   questions.php
   remove_message.sh
   reservations.inc.php
   reservations.php
   session.php
   sessions.inc.php
   siteweb.inc.php
   siteweb.php
   stats.php
   structure.sql
   structures.inc.php
   structures.php
   table_horaire.php
   table_horaire_session.php
   tableaux.inc.php
   tarifs.php
   themes.php
   usagers.inc.php
   usagers.php
   usages.php

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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
<?php
/*
    Copyright (C) 2001, 2002 Bertand Pallie, Loc Dayot - Mairie Pierrefitte-sur-Seine

    EPNadmin - Version 0.6

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

    http://epnadmin.pierrefitte93.fr/
*/

require_once("header.inc.php");
if (!defined("FCT_SESSIONS"))
{
  echo $fctnonactive;
  exit;
}

require_once("constantes.inc.php");             // dfinition des constantes
//require_once("fonctions.inc.php");              // concernant des fonctions transversales inclassables
require_once("mysql.inc.php");                  // concernant mysql
require_once("sessions.inc.php");             // concernant les sessions et initiations
//require_once("usagers.inc.php");              // concernant la gestion des usagers
//require_once("reservations.inc.php");         // concernant les rservations des postes en accs individuel par des usagers
require_once("tableaux.inc.php");             // Concernant l'affichage transpos d'un tableau
//require_once("siteweb.inc.php");              // concernant les pages perso des usagers et les sites web des structures
require_once("dateheure.inc.php");            // concernant la manipulation des heures et des dates, formulaire, conversion...
require_once("structures.inc.php");           // concernant les structures
//require_once("initiations.inc.php");          // concernant les initiations et les thmes
//require_once("parcours.inc.php");             // concernant les parcours des usagers et leur positionnement

$ptitr=$stablehorairesession;
$titr = $stitreplanningsession;
$datemaj="4 mai 2003";
define("COULEUR", COULEUR_SESSIONS);
require("entete.inc.php");
      
// affiche de courtes informations concernant une session
function infoReservation($reservation)
{ // $reservation est un objet enregistrement de la table session
global $id_structure;
  if ($reservation->nom_session>"")
  { // il s'agit d'une session exceptionnelle
     $rep="";
     if ($reservation->etat=="pr-rservation")
       $rep.="<i>pr-rservation</i> ";
     // rcuprer les informations sur l'organisateur
     $res1=recherche("structures", "id", $reservation->id_structure);
     $structure=fetch_object($res1);
     // rcuprer la structure de la localisation
     $res2=recherche("localisations", "id", $reservation->id_localisation);
     $localisation=fetch_object($res2);
     // N'a le droit d'diter la session que le super-administrateur
     // ou bien si la structure identifie hberge la session
     // ou encore si c'est la structure identifie qui organise
     if (SESSIONS_AUTRES>="r" || (SESSIONS_MOI>="r" &&
           ($localisation->id_structure==$id_structure || $id_structure==$reservation->id_structure)
           ))
       $rep.="<a href=\"session.php?operation=2&id_session=$reservation->id\">$reservation->nom_session</a> ($structure->structure)
              <a href=\"inscription_session.php?id_session=$reservation->id\">bilan</a>";
     else
       $rep.="$reservation->nom_session ($structure->structure)";
  }
  else
  { // Il s'agit d'une initiation connue, sur inscription...
    $rep="";
    if ($reservation->etat=="pr-rservation")
      $rep.="<i>pr-rservation</i> ";

    // rcuprer les informations sur l'organisateur
    $res1=recherche("structures", "id", $reservation->id_structure);
    $structure=fetch_object($res1);

    // rcuprer la structure de la localisation
    $res2=recherche("localisations", "id", $reservation->id_localisation);
    $localisation=fetch_object($res2);

    // on recherche l'intitul de l'initiation
    $res3=recherche("initiations", "id", $reservation->id_initiation);
    $initiation=fetch_object($res3);

    // N'a le droit d'diter la session que le super-administrateur
    // ou bien si la structure identifie hberge la session
    // ou encore si c'est la structure identifie qui organise
     if (SESSIONS_AUTRES>="r" || (SESSIONS_MOI>="r" &&
           ($localisation->id_structure==$id_structure || $id_structure==$reservation->id_structure)
           ))
    {
      // on regarde si le bilan quantitatif a t fait.
      $req1 = "SELECT COUNT(*) as nb
                    FROM parcours
                    WHERE id_session='$reservation->id'
                    GROUP BY id_session";
      $res1 = executeRequete($req1);
      $parc = fetch_object($res1);
      $nb = 0 + $parc->nb;
      $bilan= "<table><tr><td";
      if ($nb<2) $bilan.= " bgcolor=\"#88000\"";
      elseif ($nb<3) $bilan.= " bgcolor=\"#888811\"";
      // recherche du nombre maximum de participants  la session selon l'initiation et la localisation
      $nbmax=nbmaxparticipants($reservation->id);
      $bilan.="><a href=\"inscription_session.php?id_session=$reservation->id\">$nb/$nbmax</a>";
      $bilan.="</td></tr></table>";
       $rep.="<a href=\"session.php?operation=2&id_session=$reservation->id\">
              $initiation->initiation</a>
              $bilan&nbsp;($structure->structure)";
    }
    else
      $rep.="$initiation->initiation ($structure->structure)";
  }
  return $rep;
}

function AfficheDisponibilitsSalle($lieuv, $datev, $sens)
{
global $info, $programmer, $deprogrammer, $modifier, $ajouter,
         $unitehoraire, $id_structure,
				 $spasdesalleselectionnee;

  while(date("w", strtotime($datev))!=1)
      $datev=date("Y-m-d",strtotime("-1 day",strtotime($datev)));

  $datef=date("Y-m-d", strtotime("+6 days", strtotime($datev)));

  // Construction de la requte pour le lieu et la date
  $req = "SELECT DISTINCT structures.ville AS ville,
                          structures.structure AS structure,
                          structures.id AS id_structure, ";
  $req.=" localisations.id AS id_localisation ";
  //                        localisations.salle AS salle,      // plus besoin car utilisation de
  //                        localisations.id AS id_localisation, // fonction localisation();
  //                        localisations.image AS image
  $req.="   FROM localisations
            LEFT JOIN structures ON structures.id=localisations.id_structure ";
  if (defined("FCT_HORAIRES"))
    $req.=" LEFT JOIN calendrier ON calendrier.id_localisation=localisations.id ";
  $req.="   WHERE ((\"$lieuv\"=\"*\") OR
                   (CONCAT(\"V\",ville)=\"$lieuv\") OR
                   (CONCAT(\"S\",id_structure)=\"$lieuv\") OR
                   (CONCAT(\"L\",localisations.id)=\"$lieuv\")) ";
	//if (defined("FCT_HORAIRES"))
	//  $req.="   AND (calendrier.date>=\"$datev\") AND (calendrier.date<=\"$datef\") ";
  $req.=" ORDER BY structures.ville, structures.structure, localisations.salle";
  // retir le 16 juillet 2002               AND (ouverture=\"activits collectives\")
  // parce que le planning est celui de la salle et pas seulement celui des sessions collectives.

  // LD : Ajout du 14 mai 2003
  // Affichage des liens vers chaque salle
  $res = executeRequete($req);
  echo "<p>";
  while ($reponse=fetch_object($res))
  {
    if ($ville!=$reponse->ville)
    {
      echo "<br><b>$reponse->ville</b>";
      $ville=$reponse->ville;
    }
    if ($structure!=$reponse->structure)
    {
      echo "<br>$reponse->structure ";
      $structure=$reponse->structure;
    }
    echo " - <a href=\"#$reponse->id_localisation\">".localisation($reponse->id_localisation)."</a>";
  }
  echo "</p>";

  // Affichage de chaque salle
  $res = executeRequete($req);
  $unlieu=false;

  // On a un tableau par ville, structure, salle ou groupe d'ordinateurs
  while ($reponse = fetch_object($res))
  {  // Il y a sans doute une ouverture de la salle.
     $unlieu=true;
     //echo "<hr>\n";
     echo "<a name=\"$reponse->id_localisation\">";
     echo cadre_debut(localisation($reponse->id_localisation,
		 		TRUE,  // image
		    TRUE)  // lien vers le parc
			);
			//	."</h3>\n";
     //echo "<img src=\"$reponse->image\" alt=\"$reponse->salle\" align=\"left\" width=\"80\">";
     //echo "<h3>$reponse->salle de $reponse->structure  $reponse->ville</h3>\n";

     // Affichage des disponibilits en fonction du calendrier et des rservations
     // L, il faudrait afficher le planning de la salle concerne.
     // on a id_localisation et on sait qu'il y a une ouverture. Vrifier disponibilit.

     // on regarde les horaires d'ouverture  
		if (defined("FCT_HORAIRES"))
		{
			$minhoraire="23:59";
			$maxhoraire="00:01";
			$req1 = "SELECT * FROM calendrier
								WHERE (calendrier.date>=\"$datev\") AND (calendrier.date<=\"$datef\")
											AND (id_localisation=\"$reponse->id_localisation\")
								ORDER BY date, debut";
			$res1 = executeRequete($req1);
			$ntranche=0;
			while ($tranchehoraireouverture = fetch_object($res1))
			{  // il y a des crneaux d'ouverture, alors on regarde l'amplitude maxi
				$tranche[$ntranche]=array( "debut" => $tranchehoraireouverture->debut,
																	"fin" => $tranchehoraireouverture->fin);
				if ($tranche[$ntranche]["debut"]<$minhoraire)
					$minhoraire=date("H:00:00", strtotime($tranche[$ntranche]["debut"]));
				if ($tranche[$ntranche]["fin"]>$maxhoraire)
					$maxhoraire=$tranche[$ntranche]["fin"];
				$ntranche++;
			}
			free_result($res1);
			// On ajoute une heure avant et aprs ce qui a t trouv dans les horaires d'ouverture
			$minhoraire=differenceheure($minhoraire, "01:00");
			$maxhoraire=additionheure($maxhoraire, "01:00");
		} // id defined
		//else           // Mais en fait, on ne tient pas compte des horaires d'ouverture, on prend large.
		{
			$minhoraire=MINHORAIRE;
			$maxhoraire=MAXHORAIRE;
		}
     // On peut commencer le tableau.
     echo "<table align=center border=1>\n";

     // On stocke dans un tableau plutt que d'afficher de suite,
     // en esprant trouver un moyen de faire le transpos d'un tableau HTML.
     $i=0;  // indice des lignes
     $j=0;  // indicie des colonnes

     // Ligne des horaires
     $tableau[$i][$j]["contenu"]="";
     $j++;
     //echo "<tr><td></td>";
     $nbcolparheure = 60/$unitehoraire;
     for ($heure=$minhoraire;
          $heure<$maxhoraire;
          //$heure=date("H:i:00", strtotime("+ 1 hour", strtotime($heure)))
					$heure=additionHeure($heure, "01:00")
          )
     {
         $tableau[$i][$j]["param"]= " colspan=$nbcolparheure";
         $tableau[$i][$j]["contenu"]= date("H", strtotime($heure))."h"." - ".
																			date("H", strtotime("+ 1 hour", strtotime($heure)))."h";
         $j++;
     }  // fin du for $heure

     $i++; $j=0;
     //echo "</tr>\n";

     // Ensuite, on fait une ligne par jour...

     for($datecur=$datev;
       $datecur<=$datef;
       $datecur=date("Y-m-d",strtotime("+1 day",strtotime($datecur))))
     {
       $tableau[$i][$j]["param"]=""; // width=\"110\"";
       $tableau[$i][$j]["contenu"]="<b>".datetodate($datecur)."</b>";
       $j++;

       // Une colonne par horaire
       $heure=$minhoraire;
       while ($heure<$maxhoraire)
       {
         // On regarde tout d'abord si on est dans les horaires d'ouverture
         unset($tranchehoraireouverture);
				 if (defined("FCT_HORAIRES"))
				 {
					$req3 = "SELECT * FROM calendrier
												WHERE date=\"$datecur\"
												AND id_localisation=\"$reponse->id_localisation\"
												AND debut<=\"$heure\" AND \"$heure\"<fin";
					$res3 = executeRequete($req3);
					$tranchehoraireouverture = fetch_object($res3);
				 }
         if (! $tranchehoraireouverture)
         { // on n'est pas ouvert
           $tableau[$i][$j]["param"]=" bgcolor=\"#C0C0C0\" align=center";  // gris
           // Il faut quand meme regarder s'il n'y a pas une session programme
           $req4 = "SELECT * FROM sessions
                    WHERE date=\"$datecur\" AND id_localisation=\"$reponse->id_localisation\"
                      AND (debut<=\"$heure\" AND \"$heure\"<fin)
                      AND (etat<>\"annule\" AND etat<>\"non tenue\")";
           $res4 = executeRequete($req4);
           if (! ($reservation = fetch_object($res4))) // pas de rservation
           {
             $tableau[$i][$j]["contenu"]="<a href=\"session.php?operation=1&datev=$datecur&debutv=$heure&id_localisation=$reponse->id_localisation\">
               $programmer</a>";
             // on passe au crneau suivant
             $heure=additionHeure($heure, "00:".$unitehoraire);
           }
           else // il y a bien une session prvue sur ce crneau l.
           {
             $tableau[$i][$j]["param"]=" bgcolor=\"#C0E0C0\" align=center";  // gris
             $tableau[$i][$j]["contenu"]=infoReservation($reservation);
             $nbminres=60*(date("H",strtotime($reservation->fin))-date("H",strtotime($reservation->debut)))
                        + (date("i",strtotime($reservation->fin))-date("i",strtotime($reservation->debut)));
             $nbuniteres = $nbminres / $unitehoraire;
             $tableau[$i][$j]["param"].=" colspan=$nbuniteres";

						 // on passe au crneau suivant (duree variable)
             $heure=additionHeure($heure, "00:".$nbminres);
             free_result($res4);
           }
           $j++;
         }
         else
         {   // C'est ouvert...
           // on regarde quel type d'ouverture
           // on regarde si ce n'est pas de l'accs individuel
           if ($tranchehoraireouverture->ouverture=="accs individuels")
           {
             $nbminres=60*(date("H",strtotime($tranchehoraireouverture->fin))-date("H",strtotime($tranchehoraireouverture->debut)))
                        + (date("i",strtotime($tranchehoraireouverture->fin))-date("i",strtotime($tranchehoraireouverture->debut)));
             $nbuniteres = $nbminres / $unitehoraire;
             $tableau[$i][$j]["param"]=" colspan=$nbuniteres align=center bgcolor=\"".COULEUR_UTILISATIONS."\""; // vert
             if ( UTILISATIONS_AUTRES>="r" || (UTILISATIONS_MOI>="r" && $id_structure==$reponse->id_structure) )
               $tableau[$i][$j]["contenu"]="<a href=\"table_horaire.php?datev=$tranchehoraireouverture->date&lieuv=S$reponse->id_structure\">Accs individuel</a>";
             else
               $tableau[$i][$j]["contenu"]="Accs individuel";
             $j++;

             $heure=additionHeure($heure, "00:".$nbminres);
           }
           else
           { // c'est une activit collective
             // on regarde si la salle n'est pas dj rserve
             $req5 = "SELECT * FROM sessions
                    WHERE date=\"$datecur\" AND id_localisation=\"$reponse->id_localisation\"
                      AND (debut<=\"$heure\" AND \"$heure\"<fin)
                      AND (etat<>\"annule\" AND etat<>\"non tenue\")";
             $res5 = executeRequete($req5);
             if (! ($reservation = fetch_object($res5)))
             {     // pas de rservation
               $tableau[$i][$j]["param"]=" align=center bgcolor=\"".COULEUR_SESSIONS."\"";  // bleu
               $tableau[$i][$j]["contenu"]="<a href=\"session.php?operation=1&datev=$datecur&debutv=$heure&id_localisation=$reponse->id_localisation\">
                   $programmer</a>";

               // on passe au crneau suivant
               $heure=additionHeure($heure, "00:".$unitehoraire);
             }
             else
             { // il y a bien une session prvue sur ce crneau l.
               $tableau[$i][$j]["param"]=" bgcolor=\"".COULEUR_SESSIONS."\" align=center";
               $tableau[$i][$j]["contenu"]=infoReservation($reservation);
               $nbminres=60*(date("H",strtotime($reservation->fin))-date("H",strtotime($reservation->debut)))
                               + (date("i",strtotime($reservation->fin))-date("i",strtotime($reservation->debut)));
               $nbuniteres = $nbminres / $unitehoraire;
               $tableau[$i][$j]["param"].=" colspan=$nbuniteres";

               // on passe au crneau suivant (duree variable)
               $heure=additionHeure($heure, "00:".$nbminres);
               $tableau[$i][$j]["contenu"]=infoReservation($reservation);
               free_result($res5);
             }
             $j++;
           } // fin du else
         } // fin de if c'est ouvert
				if (defined("FCT_HORAIRES"))
				 	free_result($res3);
       } // while $heure

      $i++; $j=0;
      //echo "</tr>\n";
    } // for $datecur, pour les jours

  Affiche_tableau($tableau, $sens);
  unset($tableau);
  echo "</table>\n";
	echo cadre_fin();

  } // for pour les salles ou  groupes d'ordinateurs

  if (!$unlieu)
    echo "<p>$spasdesalleselectionnee</p>\n";
} // function AfficheDisponibilitsSalle($lieuv, $datev, $sens)


function ChoixSemaine($datev)
{
  while (date("w", strtotime($datev))!="1")
    $datev=date("Y-m-d", strtotime("-1 day", strtotime($datev)));

  echo "<td><select name=\"datev\">";
  for ($nd=10 ; $nd>0; $nd--)
  {
    $ndate=date("Y-m-d", strtotime("-".$nd." weeks", strtotime($datev)));
    echo "<option value=\"$ndate\"";
    if ($datev==$ndate) echo " selected";
    echo ">".jourSemaine(date("w",strtotime($ndate))).
         " ".date("d",strtotime($ndate)).
         " ".nomMois(date("m",strtotime($ndate))).
         " ".date("Y",strtotime($ndate)).
         "</option>\n";
  }
  for ($nd=0 ; $nd<=30; $nd++)
  {
    $ndate=date("Y-m-d", strtotime("+".$nd." weeks", strtotime($datev)));
    echo "<option value=\"$ndate\"";
    if ($datev==$ndate) echo " selected";
    echo ">".jourSemaine(date("w",strtotime($ndate))).
         " ".date("d",strtotime($ndate)).
         " ".nomMois(date("m",strtotime($ndate))).
         " ".date("Y",strtotime($ndate)).
         "</option>\n";
  }
  echo "</select>
        </td>\n";
}

function formChoixLieuDate($lieuv, $datev, $sens, $operation)
{
global $PHP_SELF;
	echo "<form name=\"formlieudate\" method=\"post\" action=\"$PHP_SELF\">
				<input type=\"hidden\" name=\"operation\" value=\"$operation\">
				<table border=1 align=center>";
	echo "	<tr>
	 					<td>Lieu</td>
						<td>";  choix_Lieu($lieuv); echo "</td>";
	echo "		<td rowspan=\"2\">
	 						<table>
								<tr>
									<td>Disposition</td>
									<td>"; choixSensTableau($sens);
	echo "					</td>
								</tr>
	 						</table>
						</td>
					</tr>
	 				<tr><td>Date</td>
						<td>
							<table>
								<tr>
									<td>
										<a href=\"$PHP_SELF?operation=$operation&datev=".date("Y-m-d",strtotime("-7 day",strtotime($datev)))."&lieuv=$lieuv&sens=$sens\">&lt;&lt;</a>
									</td>";
	choixSemaine($datev);
	echo "					<td>
										<a href=\"$PHP_SELF?operation=$operation&datev=".date("Y-m-d",strtotime("+7 day",strtotime($datev)))."&lieuv=$lieuv&sens=$sens\">&gt;&gt;</a>
									</td>
								</tr>
							</table>
						</td>\n";
	echo "	</tr>
	 				<tr>
						<td align=center colspan=3>
							<input type=\"submit\" name=\"Recherche disponibilits\" value=\"Recherche disponibilits\">
						</td>
					</tr>
				</table>
				</form>\n";
}

if (SESSIONS<="~")
{
  echo $pasledroit;
  exit();
}
// Dbut du contenu de la page
switch ($operation)
{
case 1 : // pr-rservation d'une salle par une structure

default :
  if($datev=="")
    if($day=="" | $month=="" | $year=="")
        $datev = date("Y-m-d");
    else
        $datev = date("Y-m-d",strtotime($month."/".$day."/".$year));
  if ($lieuv=="" || !$lieuv)
    $lieuv="S$id_structure";

  // formulaire de slection du lieu et de la semaine
	echo cadre_debut($sselectionplanningsession);
  formChoixLieuDate($lieuv, $datev, $sens, $operation);
	echo cadre_fin();
  // affichage du tableau des plannings des salles
  AfficheDisponibilitsSalle($lieuv, $datev, $sens);
  // rptition du formulaire
  /*echo "<hr>\n";
  formChoixLieuDate($lieuv, $datev, $sens, $operation); */
  break;
} // fin du switch operation

include("basdepage.inc.php");
echo "</body></html>\n";
require("footer.inc.php");
?>

About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us