summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--maquette/Templates/modele1.dwt55
-rw-r--r--maquette/Untitled-1.html255
-rw-r--r--maquette/details_reunion_admin.php70
-rw-r--r--maquette/iCal/iCal2.ics16
-rw-r--r--maquette/iCal/iCal3.ics16
-rw-r--r--maquette/images/add.gifbin718 -> 0 bytes
-rw-r--r--maquette/images/addP.gifbin363 -> 0 bytes
-rw-r--r--maquette/images/button_del.pngbin1429 -> 0 bytes
-rw-r--r--maquette/images/button_del_old.pngbin1881 -> 0 bytes
-rw-r--r--maquette/images/button_ok.pngbin1679 -> 0 bytes
-rw-r--r--maquette/images/button_ok_old.pngbin1995 -> 0 bytes
-rw-r--r--maquette/images/del.gifbin882 -> 0 bytes
-rw-r--r--maquette/images/details.pngbin237 -> 0 bytes
-rw-r--r--maquette/images/edit.pngbin451 -> 0 bytes
-rw-r--r--maquette/images/editCreneau.gifbin707 -> 0 bytes
-rw-r--r--maquette/images/editCreneau2.gifbin865 -> 0 bytes
-rw-r--r--maquette/images/logo old.pngbin6629 -> 0 bytes
-rw-r--r--maquette/images/logo.pngbin5040 -> 0 bytes
-rw-r--r--maquette/images/masque.pngbin415 -> 0 bytes
-rw-r--r--maquette/images/masque_ancien.pngbin404 -> 0 bytes
-rw-r--r--maquette/images/ok.gifbin340 -> 0 bytes
-rw-r--r--maquette/images/ongletBeige.pngbin454 -> 0 bytes
-rw-r--r--maquette/images/ongletNoir.pngbin455 -> 0 bytes
-rw-r--r--maquette/images/question.gifbin640 -> 0 bytes
-rw-r--r--maquette/images/titre.pngbin23658 -> 0 bytes
-rw-r--r--maquette/index_.html (renamed from maquette/index.html)0
-rw-r--r--maquette/newstyle_Awor.css146
-rw-r--r--maquette/newstyle_Ice.css181
-rw-r--r--maquette/popcreneau.php119
-rw-r--r--maquette/popfixer.php6
-rw-r--r--maquette/poppersonne.php71
-rw-r--r--maquette/poppersonneliste.php22
-rw-r--r--maquette/script old.js36
-rw-r--r--maquette/script.js88
-rw-r--r--maquette/style1.css179
-rw-r--r--maquette/style2.css175
-rw-r--r--maquette/styleOLD.css186
-rw-r--r--maquette/testGet.php18
-rw-r--r--maquette/test_html_tab.php31
-rw-r--r--maquette/titre.psdbin97838 -> 0 bytes
-rw-r--r--test/ajax/ajax_simple.js72
-rw-r--r--test/awor1.txt34
42 files changed, 343 insertions, 1433 deletions
diff --git a/maquette/Templates/modele1.dwt b/maquette/Templates/modele1.dwt
deleted file mode 100644
index 691461f..0000000
--- a/maquette/Templates/modele1.dwt
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<!-- TemplateBeginEditable name="doctitle" -->
-<title>Awor : liste des r&eacute;unions</title>
-<!-- TemplateEndEditable -->
-<link href="style1.css" rel="stylesheet" type="text/css" />
-<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
-</head>
-<body>
-<script language="javascript" type="text/javascript">
-var newWin = null;
-function closeWin(){
-if (newWin != null){
-if(!newWin.closed)
-newWin.close();
-}
-}
-function popUp(strURL,strType,strHeight,strWidth) {
-closeWin();
-var strOptions="";
-if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
-if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
-if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,
-height="+strHeight+",width="+strWidth;
-newWin = window.open(strURL, 'newWin', strOptions);
-newWin.focus();
-}
-</script>
-<table class="main">
-<tr>
-<td><h2>AWOR</h2></td>
-<td>&nbsp;</td>
-</tr>
-<tr>
-<td class="menu">
-<a href="menu1.php">R&eacute;unions</a>
-<a href="listes.php">Listes</a>
-<a href="ical.php">iCal</a></td>
-<td class="menu"><p class="deconnexion"><a href="deco.php">D&eacute;connexion</a></p></td>
-</tr>
-<tr>
-<td>
-<p class="arbre">&gt; <a href="index.html">Accueil</a> &gt; <a href="listeReunion.php">Réunions</a> &gt; Liste des réunions</p>
-<!-- TemplateBeginEditable name="RegionPrincipale" -->ici<!-- TemplateEndEditable --></td>
-<td class="aide">
-<div class="titre_aide">Aide</div>
-<div class="corps_aide"><!-- TemplateBeginEditable name="RegionAide" -->RegionAide<!-- TemplateEndEditable --></div>
-</td>
-</tr>
-</table>
-</body>
-
-</html>
diff --git a/maquette/Untitled-1.html b/maquette/Untitled-1.html
deleted file mode 100644
index cc82b4d..0000000
--- a/maquette/Untitled-1.html
+++ /dev/null
@@ -1,255 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Document sans nom</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-</head>
-
-<body>
-<table width="96%" border="0" cellspacing="0" cellpadding="0">
-<tr>
-<td colspan="2">
-<div align="center">
-<h2>Titre r&eacute;union</h2>
-</div>
-</td>
-</tr>
-<tr>
-<td valign="top">
-<strong>Lieu :</strong> toulouse<br />
-<strong>Ordre du jour :</strong> skfkdfdsp sdjfsqdj df sjf df qfd fsjf pdsf psqdd si fsqd pjdsjdj qpdq dsds fds.<br />
-<strong>Remarques : </strong>dsf spzope aiuz azieuazo iepzopz demswmqd.<br />
-<br />
-<input type="submit" name="Submit4" value="Annuler la réunion" />
-<br />
-</td>
-<td width="50%" valign="top">Fichiers de la r&eacute;union
-<ul>
-<li><a href="sdfdsfs">blabla.txt</a></li>
-<li><a href="fsdfsdf">tartampio.jpg</a></li>
-</ul>
-<a href="dsfsdf">Ajouter un fichier</a></td>
-</tr>
-</table>
-<br />
-<table width="96%" cellspacing="1" cellpadding="0">
-<tr>
-<td bgcolor="#CCCCCC">
-<div align="center">Mail</div>
-</td>
-<td bgcolor="#CCCCCC">Personnes/Creneaux</td>
-<td colspan="2" bgcolor="#CCCCCC">
-<div align="center">12/05/90<br />
-8h15 - 10h15 </div>
-</td>
-<td colspan="2" bgcolor="#CCCCCC">
-<div align="center">12/05/90<br />
-8h15 - 10h15 </div>
-</td>
-<td colspan="2" bgcolor="#CCCCCC">
-<div align="center">12/05/90<br />
-8h15 - 10h15 </div>
-</td>
-<td bgcolor="#CCCCCC">
-<div align="center">
-<input type="submit" name="Submit" value="Ajouter un creneau" />
-</div>
-</td>
-</tr>
-<tr>
-<td bgcolor="#CCCCCC">
-<div align="center"></div>
-</td>
-<td bgcolor="#CCCCCC">&nbsp;</td>
-<td bgcolor="#CCCCCC">
-<div align="center">Accepter</div>
-</td>
-<td bgcolor="#CCCCCC">
-<div align="center">Refuser</div>
-</td>
-<td bgcolor="#CCCCCC">
-<div align="center">Accepter</div>
-</td>
-<td bgcolor="#CCCCCC">
-<div align="center">Refuser</div>
-</td>
-<td bgcolor="#CCCCCC">
-<div align="center">Accepter</div>
-</td>
-<td bgcolor="#CCCCCC">
-<div align="center">Refuser</div>
-</td>
-<td bgcolor="#CCCCCC">
-<div align="center"></div>
-</td>
-</tr>
-<tr>
-<td bgcolor="#CCCCCC">
-<div align="center">
-<input type="checkbox" name="checkbox2" value="checkbox" />
-</div>
-</td>
-<td bgcolor="#CCCCCC">Ludo</td>
-<td bgcolor="#FF0000">
-<div align="center">
-<input type="radio" name="radiobutton" value="radiobutton" />
-</div>
-</td>
-<td bgcolor="#FF0000">
-<div align="center">
-<input name="radiobutton" type="radio" value="radiobutton" checked="checked" />
-</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">
-<input name="radiobutton" type="radio" value="radiobutton" checked="checked" />
-</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">
-<input type="radio" name="radiobutton" value="radiobutton" />
-</div>
-</td>
-<td bgcolor="#0000FF">
-<div align="center">
-<input type="radio" name="radiobutton" value="radiobutton" />
-</div>
-</td>
-<td bgcolor="#0000FF">
-<div align="center">
-<input type="radio" name="radiobutton" value="radiobutton" />
-</div>
-</td>
-<td bgcolor="#CCCCCC">&nbsp;</td>
-</tr>
-<tr>
-<td bgcolor="#CCCCCC">
-<div align="center">
-<input type="checkbox" name="checkbox3" value="checkbox" />
-</div>
-</td>
-<td bgcolor="#CCCCCC">J&eacute;r&eacute;mie</td>
-<td bgcolor="#00FF00">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#CCCCCC">&nbsp;</td>
-</tr>
-<tr>
-<td bgcolor="#CCCCCC">
-<div align="center">
-<input type="checkbox" name="checkbox4" value="checkbox" />
-</div>
-</td>
-<td bgcolor="#CCCCCC">Julien</td>
-<td bgcolor="#FF0000">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#FF0000">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#FF0000">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#FF0000">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#CCCCCC">&nbsp;</td>
-</tr>
-<tr>
-<td bgcolor="#CCCCCC">
-<div align="center">
-<input type="checkbox" name="checkbox5" value="checkbox" />
-</div>
-</td>
-<td bgcolor="#CCCCCC">Andriana</td>
-<td bgcolor="#FF0000">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#FF0000">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#FF0000">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#FF0000">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#00FF00">
-<div align="center">&nbsp;</div>
-</td>
-<td bgcolor="#CCCCCC">&nbsp;</td>
-</tr>
-<tr>
-<td bgcolor="#CCCCCC">
-<div align="center">
-<input type="submit" name="Submit3" value="Envoyer" />
-</div>
-</td>
-<td bgcolor="#CCCCCC">
-<input type="submit" name="Submit2" value="Ajouter un participant" />
-</td>
-<td colspan="2" bgcolor="#CCCCCC">&nbsp;</td>
-<td colspan="2" bgcolor="#CCCCCC">&nbsp;</td>
-<td colspan="2" bgcolor="#CCCCCC">&nbsp;</td>
-<td bgcolor="#CCCCCC">&nbsp;</td>
-</tr>
-<tr>
-<td bgcolor="#CCCCCC">
-<div align="center"></div>
-</td>
-<td bgcolor="#CCCCCC">Personnes presentes </td>
-<td colspan="2" bgcolor="#CCCCCC">
-<div align="center">1</div>
-</td>
-<td colspan="2" bgcolor="#CCCCCC">
-<div align="center">2</div>
-</td>
-<td colspan="2" bgcolor="#CCCCCC">
-<div align="center">3</div>
-</td>
-<td bgcolor="#CCCCCC">&nbsp;</td>
-</tr>
-<tr>
-<td bgcolor="#CCCCCC">
-<div align="center"></div>
-</td>
-<td bgcolor="#CCCCCC">Personnes absentes </td>
-<td colspan="2" bgcolor="#CCCCCC">
-<div align="center">3</div>
-</td>
-<td colspan="2" bgcolor="#CCCCCC">
-<div align="center">2</div>
-</td>
-<td colspan="2" bgcolor="#CCCCCC">
-<div align="center">3</div>
-</td>
-<td bgcolor="#CCCCCC">&nbsp;</td>
-</tr>
-</table>
-<p>&nbsp; </div>
-</body>
-</html>
diff --git a/maquette/details_reunion_admin.php b/maquette/details_reunion_admin.php
index 8449080..014a670 100644
--- a/maquette/details_reunion_admin.php
+++ b/maquette/details_reunion_admin.php
@@ -30,12 +30,12 @@ Vous pouvez modifier votre disponibilit&eacute; en fonction des cr&eacute;neaux
Il est possible &agrave; tout instant de se d&eacute;connecter en cliquant sur le bouton D&eacute;connexion situ&eacute; en haut &agrave; droite de l'&eacute;cran.<br />
<br />
Ajouter ou Supprimer un cr&eacute;neau<br />
-en appuyant sur le bouton <a href="#" onclick="loadpop('popcreneau.php?idR=2','popcreneau');popon('popcreneau');"><img src="./images/editCreneau2.gif" alt="Ajouter une personne" title="Ajouter un creneau" width="22" height="21" /></a><br />
+en appuyant sur le bouton <a href="#" onclick="loadid('popcreneau.php?idR=2','popcreneau',true);popon('popcreneau');"><img src="./images/editCreneau2.gif" alt="Ajouter une personne" title="Ajouter un creneau" width="22" height="21" /></a><br />
<br />
Fixer un Cr&eacute;neau, en cliquant dessus et confirmer l'action (aucune modification ne sera possible apr&egrave;s)<br />
<br />
Ajouter ou Supprimer un
-participant en appuyant sur le bouton <a href="#" onclick="popon('poppersonne');"><img src="images/addP.gif" alt="Ajouter une personne" title="Ajouter une personne" width="19" height="17"/></a><br />
+participant en appuyant sur le bouton <a href="#poppersonne" onclick="loadid('poppersonne.php?idR=2','poppersonne',true);popon('poppersonne');"><img src="images/addP.gif" alt="Ajouter une personne" title="Ajouter une personne" width="19" height="17"/></a><br />
<br />
Ajouter
<br />
@@ -80,10 +80,10 @@ Astuce : gr&acirc;ce &agrave; AWOR, vous pouvez transferer vos r&eacute;unions s
<tr>
<th>Mail</th>
<th>Personnes/Creneaux</th>
-<th><a href="#" onclick="loadpop('popfixer.php?idC=4','popfixer');popon('popfixer');">12/04/07<br/>8h15 - 10h15</a></th>
-<th><a href="#" onclick="loadpop('popfixer.php?idC=5','popfixer');popon('popfixer');">03/05/07<br/>10h15 - 12h15</a></th>
-<th><a href="#" onclick="loadpop('popfixer.php?idC=6','popfixer');popon('popfixer');">22/05/07<br/>14h15 - 16h15</a></th>
-<th><a href="#" onclick="loadpop('popcreneau.php?idR=2','popcreneau');popon('popcreneau');"><img src="./images/editCreneau2.gif" alt="Editer les creneaux" title="Editer les creneaux" width="22" height="21" /></a></th>
+<th><a href="#popfixer" onclick="loadid('popfixer.php?idC=4&idR=2','popfixer',true);popon('popfixer');">12/04/07<br/>8h15 - 10h15</a></th>
+<th><a href="#popfixer" onclick="loadid('popfixer.php?idC=5&idR=2','popfixer',true);popon('popfixer');">03/05/07<br/>10h15 - 12h15</a></th>
+<th><a href="#popfixer" onclick="loadid('popfixer.php?idC=6&idR=2','popfixer',true);popon('popfixer');">22/05/07<br/>14h15 - 16h15</a></th>
+<th><a href="#popcreneau" onclick="loadid('popcreneau.php?idR=2','popcreneau',true);popon('popcreneau');"><img src="./images/editCreneau2.gif" alt="Editer les creneaux" title="Editer les creneaux" width="22" height="21" /></a></th>
</tr>
</thead>
<tr>
@@ -120,7 +120,7 @@ Astuce : gr&acirc;ce &agrave; AWOR, vous pouvez transferer vos r&eacute;unions s
</tr>
<tr>
<td><input type="submit" name="Submit32" value="Envoyer" /></td>
-<td><a href="#"><img src="images/addP.gif" alt="Ajouter une personne" title="Ajouter une personne" width="19" height="17"/></a></td>
+<td><a href="#poppersonne" onclick="loadid('poppersonne.php?idR=2','poppersonne',true);popon('poppersonne');"><img src="images/addP.gif" alt="Ajouter une personne" title="Ajouter une personne" width="19" height="17"/></a></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
@@ -172,59 +172,7 @@ Astuce : gr&acirc;ce &agrave; AWOR, vous pouvez transferer vos r&eacute;unions s
<div class="popup_creneau" id="popcreneau"></div>
-<div id="poppersonne" class="popup_personne">
-<h2>Participants de la r&eacute;union PPP AWOR1</h2>
-<div class="popup_contenu">
-<form id="formpersonne" action="details_reunion_admin.php" method="get">
-<table>
-<tr>
-<td>Contacts disponibles </td>
-<td>&nbsp;</td>
-<td>Participants </td>
-</tr>
-<tr>
-<td>
-<select name="listeDispo" id="listeDispo">
-<option>Tous</option>
-<option>Liste prof</option>
-<option>PPP</option>
-<option>Specialiste language C</option>
-<option>Pro-linux</option>
-<option>Pro-windows</option>
-</select>
-</td>
-<td>&nbsp;</td>
-<td>&nbsp;</td>
-</tr>
-<tr>
-<td>
-<select name="contactDispo" size="10" id="contactDispo">
-<option value="A" ondblclick="addPers(this.form);">Andriana</option>
-<option value="J" ondblclick="addPers(this.form);">J&eacute;r&eacute;mie Denoyer</option>
-</select>
-</td>
-<td><input name="AjouterParticipant" type="button" id="AjouterParticipant" value="Ajouter" onclick="addPers(this.form);"/>
-<br/>
-<br/>
-<input name="supprimerParticipant" type="button" id="supprimerParticipant" value="Retirer" onclick="removePers(this.form);"/></td>
-<td>
-<select name="participants" size="10" id="participants">
-<option>Andriana</option>
-<option>Ludovic Pouzenc</option>
-</select>
-</td>
-</tr>
-<tr>
-<td>&nbsp;</td>
-<td>&nbsp;</td>
-<td><a href="#popnew" class="pop">Ajouter une personne</a></td>
-</tr>
-</table>
-<br/>
-<input type="submit" name="Submit" value="Valider" /><input type="button" value="Fermer" onclick="popoff('poppersonne');" />
-</form>
-</div>
-</div>
+<div id="poppersonne" class="popup_personne"></div>
<div id="popcommentaire" class="popup_commentaire">
<h2>Editer votre commentaire</h2>
@@ -259,6 +207,6 @@ Courriel : <input name="courriel" type="text" size="30" id="courriel"/>
</div>
</div>
-<div id="masque" class="masque"></div>
+<div id="masque"></div>
</body>
</html>
diff --git a/maquette/iCal/iCal2.ics b/maquette/iCal/iCal2.ics
deleted file mode 100644
index b385782..0000000
--- a/maquette/iCal/iCal2.ics
+++ /dev/null
@@ -1,16 +0,0 @@
-BEGIN:VCALENDAR
-VERSION:2.0
-BEGIN:VEVENT
-UID:2.2
-SUMMARY:PPP AWOR1 (julien.sere@free.fr)
-DTSTART:20070522T141500
-DTEND:20070522T161500
-LOCATION:Salle 209
-DESCRIPTION:Le SNI
-ATTENDEE:mailto:julien.sere@free.fr
-ATTENDEE:mailto:jeremie.denoyer@free.fr
-ATTENDEE:mailto:lpouzenc@wanadoo.fr
-ATTENDEE:mailto:semoucht@wanadoo.fr
-URL:http://awor.free.fr/
-END:VEVENT
-END:VCALENDAR
diff --git a/maquette/iCal/iCal3.ics b/maquette/iCal/iCal3.ics
deleted file mode 100644
index 001a585..0000000
--- a/maquette/iCal/iCal3.ics
+++ /dev/null
@@ -1,16 +0,0 @@
-BEGIN:VCALENDAR
-VERSION:2.0
-BEGIN:VEVENT
-UID:3.2
-SUMMARY:PPP AWOR1 (julien.sere@free.fr)
-DTSTART:20070522T141500
-DTEND:20070522T161500
-LOCATION:Salle 209
-DESCRIPTION:Le SNI
-ATTENDEE:mailto:julien.sere@free.fr
-ATTENDEE:mailto:jeremie.denoyer@free.fr
-ATTENDEE:mailto:lpouzenc@wanadoo.fr
-ATTENDEE:mailto:semoucht@wanadoo.fr
-URL:http://awor.free.fr/
-END:VEVENT
-END:VCALENDAR
diff --git a/maquette/images/add.gif b/maquette/images/add.gif
deleted file mode 100644
index 1678eb5..0000000
--- a/maquette/images/add.gif
+++ /dev/null
Binary files differ
diff --git a/maquette/images/addP.gif b/maquette/images/addP.gif
deleted file mode 100644
index aa77bef..0000000
--- a/maquette/images/addP.gif
+++ /dev/null
Binary files differ
diff --git a/maquette/images/button_del.png b/maquette/images/button_del.png
deleted file mode 100644
index 899b785..0000000
--- a/maquette/images/button_del.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/button_del_old.png b/maquette/images/button_del_old.png
deleted file mode 100644
index 1368996..0000000
--- a/maquette/images/button_del_old.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/button_ok.png b/maquette/images/button_ok.png
deleted file mode 100644
index 229550e..0000000
--- a/maquette/images/button_ok.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/button_ok_old.png b/maquette/images/button_ok_old.png
deleted file mode 100644
index 4e32f00..0000000
--- a/maquette/images/button_ok_old.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/del.gif b/maquette/images/del.gif
deleted file mode 100644
index cc89b0b..0000000
--- a/maquette/images/del.gif
+++ /dev/null
Binary files differ
diff --git a/maquette/images/details.png b/maquette/images/details.png
deleted file mode 100644
index 11982cc..0000000
--- a/maquette/images/details.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/edit.png b/maquette/images/edit.png
deleted file mode 100644
index 05711a0..0000000
--- a/maquette/images/edit.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/editCreneau.gif b/maquette/images/editCreneau.gif
deleted file mode 100644
index c4dc82d..0000000
--- a/maquette/images/editCreneau.gif
+++ /dev/null
Binary files differ
diff --git a/maquette/images/editCreneau2.gif b/maquette/images/editCreneau2.gif
deleted file mode 100644
index ba90a82..0000000
--- a/maquette/images/editCreneau2.gif
+++ /dev/null
Binary files differ
diff --git a/maquette/images/logo old.png b/maquette/images/logo old.png
deleted file mode 100644
index 6b0c3eb..0000000
--- a/maquette/images/logo old.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/logo.png b/maquette/images/logo.png
deleted file mode 100644
index a768d45..0000000
--- a/maquette/images/logo.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/masque.png b/maquette/images/masque.png
deleted file mode 100644
index 45a6027..0000000
--- a/maquette/images/masque.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/masque_ancien.png b/maquette/images/masque_ancien.png
deleted file mode 100644
index 64aee18..0000000
--- a/maquette/images/masque_ancien.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/ok.gif b/maquette/images/ok.gif
deleted file mode 100644
index 1935a84..0000000
--- a/maquette/images/ok.gif
+++ /dev/null
Binary files differ
diff --git a/maquette/images/ongletBeige.png b/maquette/images/ongletBeige.png
deleted file mode 100644
index ac86a89..0000000
--- a/maquette/images/ongletBeige.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/ongletNoir.png b/maquette/images/ongletNoir.png
deleted file mode 100644
index 07137d2..0000000
--- a/maquette/images/ongletNoir.png
+++ /dev/null
Binary files differ
diff --git a/maquette/images/question.gif b/maquette/images/question.gif
deleted file mode 100644
index d57516b..0000000
--- a/maquette/images/question.gif
+++ /dev/null
Binary files differ
diff --git a/maquette/images/titre.png b/maquette/images/titre.png
deleted file mode 100644
index d8d9ce6..0000000
--- a/maquette/images/titre.png
+++ /dev/null
Binary files differ
diff --git a/maquette/index.html b/maquette/index_.html
index c119c08..c119c08 100644
--- a/maquette/index.html
+++ b/maquette/index_.html
diff --git a/maquette/newstyle_Awor.css b/maquette/newstyle_Awor.css
deleted file mode 100644
index 4482235..0000000
--- a/maquette/newstyle_Awor.css
+++ /dev/null
@@ -1,146 +0,0 @@
-img { border : none ; }
-body {
- color: #000000;
- background-color:#C1C6FD;
- font-family: Verdana, Arial, Helvetica, sans-serif;
- padding:0px;
- margin:0px;
- min-width:750px; /*Pour eviter le chevauchement pour FireFox, ne change rien pour IE (qui gere pas trop mal sans ca) */
-}
-table {
- border-spacing:0px;
- margin: auto;
- padding: 0px;
- width:98%;
- text-align:center;
- border: thin solid #000000;
- border-collapse:collapse; /* Imite le cellspacing=0 et fonctionne sous IE */
- background-color:#FFFF99;
-}
-th {
- border-right:none;
- font-weight: bold;
- color: #FFFFFF;
- background-color: #000000;
- font-size: small;
-}
-td {
- border-bottom-width: thin;
- border-bottom-style: solid;
- border-bottom-color: #000000;
-}
-th a:link, th a:visited {
- font-size: x-small;
- color: #FFFFFF;
-}
-h1 {
- font-weight: bold;
- color: #9999FF;
- text-align: center;
-}
-h2 {
- color: #5C5CFF;
- margin: 0px;
-}
-select { width:auto; }
-/***** Titre *****/
-#titre h2 {
- color: #6666FF;
- margin-left: 70px;
-}
-#titre {
- padding: 10px 0px 10px;
- clear:left;
- background-color:#FFFF99;
- background-image:url(images/logo.png);
- background-position:left;
- background-repeat:no-repeat;
-}
-
-/*****************/
-/***** Menu *****/
-#menu {
- padding:0px;
- margin:0px;
- width:100%;
- height:20px;
- background-color:#000000;
-}
-#menu a {
- text-decoration:none;
- display:block;
- font-weight:bold;
- text-align:center;
- color:#FFFFFF;
-}
-#menu a:hover {
- color:#000000;
- background-color:#FFFFFF;
-}
-/* Pour IE5/MAC \*/#menu a{float:none;}/**/
-#menu li {
- list-style: none;
- float:left;
- padding:0;
- margin:0;
- width:120px;
- white-space:nowrap;/*Evite l'étalement sur deux ligne*/
- vertical-align:middle;
-}
-#menu #deconnection {
- float:right;
-}
-
-#main_menu {
-
-}
-/*********************/
-/***** Sous Menu *****/
-#sous_menu {
- clear:left;
- padding-top:5px;
- padding-bottom:3px;
- padding-left:15px;
- border-bottom:1px solid #000000;
-}
-/* -------------- Arbre -------------------*/
-p.arbre {
- font-size: small;
- color: #1F1FFF;
- text-align: left;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- margin-left: 0px;
-}
-p.arbre a:link, p.arbre a:visited {color:#1F1FFF; }
-
-/*******************/
-/***** Contenu *****/
-#contenu {
- padding-top:10px;
- padding-bottom:20px;
- padding-left:5px;
- padding-right:22%;/*225px;*/ /*200 + 5*2 + 2*2 + (pour ie 5*2) */
- background-color:#FFFF99;
-}
-#aide {
- text-align:justify;
- color:#000000;
- float:right;
- margin:5px;
- padding:5px;
- border:2px solid #000000;
- background-color:#FFFFFF;
- font-size:small;
- width:18%;
-}
-#aide h2
-{
- text-align:center;
- font-size:medium;
- color:#FFFFFF;
- background-color:#000000;
- margin-top:0;
- margin-bottom:10px;
-} \ No newline at end of file
diff --git a/maquette/newstyle_Ice.css b/maquette/newstyle_Ice.css
deleted file mode 100644
index 60269f7..0000000
--- a/maquette/newstyle_Ice.css
+++ /dev/null
@@ -1,181 +0,0 @@
-img { border : none ; }
-body {
- color: #000000;
- background-color:#F5F5DC;
- font-family: Verdana, Arial, Helvetica, sans-serif;
- padding:0px;
- margin:0px;
- min-width:750px; /*Pour eviter le chevauchement pour FireFox, ne change rien pour IE (qui gere pas trop mal sans ca) */
-}
-table {
- border-spacing:0px;
- margin: auto;
- padding: 0px;
- width:98%;
- text-align:center;
- border: thin solid #E0E0E0;
- border-collapse:collapse; /* Imite le cellspacing=0 et fonctionne sous IE */
- background-color:#F7F7F7;
-}
-th {
- border-right:none;
- font-weight: bold;
- color: #FFFFFF;
- background-color: #551A8B;
-}
-td {
- border-bottom-width: thin;
- border-bottom-style: solid;
- border-bottom-color: #E0E0E0;
-}
-th a:link, th a:visited {
- font-size: x-small;
- color: #FFFFFF;
-}
-h1 {
- font-weight: bold;
- color: #9999FF;
- text-align: center;
-}
-h2 {
- color: #5C5CFF;
- margin: 0px;
-}
-select { width:auto; }
-/***** Titre *****/
-#titre h2 {
- color: #551A8B;
- margin-left:50px;
- height:50px;
- width:200px;
- background-image:url(images/titre.png);
- background-position:left;
- background-repeat:no-repeat;
- color:#FFFFFF;
- font-size:0px;
-}
-#titre {
- height:50px;
- clear:left;
- background-color:#FFFFFF;
- background-image:url(images/logo.png);
- background-position:left;
- background-repeat:no-repeat;
-}
-
-/*****************/
-/***** Menu *****/
-#menu {
- padding:0px;
- margin:0px;
- width:100%;
- height:20px;
- background-color:#551A8B;
-}
-#menu a {
- text-decoration:none;
- display:block;
- font-weight:bold;
- text-align:center;
- color:#FFFFFF;
-}
-#menu a:hover {
- color:#000000;
- background-color:#FFFFFF;
-}
-/* Pour IE5/MAC \*/#menu a{float:none;}/**/
-#menu li {
- list-style: none;
- float:left;
- padding:0;
- margin:0;
- width:120px;
- white-space:nowrap;/*Evite l'étalement sur deux ligne*/
- vertical-align:middle;
-}
-#menu #deconnection {
- float:right;
-}
-
-#main_menu {
-
-}
-/*********************/
-/***** Sous Menu *****/
-#sous_menu {
- clear:left;
- padding-top:5px;
- padding-bottom:3px;
- padding-left:15px;
- border-bottom:1px solid #000000;
- background-color:#8470FF;
-}
-/* -------------- Arbre -------------------*/
-p.arbre {
- font-size: small;
- color: #FFFFFF;
- text-align: left;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- margin-left: 0px;
-}
-p.arbre a:link, p.arbre a:visited {color:#FFFFFF; }
-
-/*******************/
-/***** Contenu *****/
-#contenu {
- padding-top:10px;
- padding-bottom:20px;
- padding-left:5px;
- padding-right:22%;/*225px;*/ /*200 + 5*2 + 2*2 + (pour ie 5*2) */
-}
-#aide {
- text-align:justify;
- color:#000000;
- float:right;
- margin:5px;
- padding:5px;
- border:thin solid #000000;
- background-color:#F7F7F7;
- font-size:small;
- width:18%;
-}
-#aide h2
-{
- text-align:center;
- font-size:medium;
- color:#FFFFFF;
- background-color:#551A8B;
- margin-top:0;
- margin-bottom:10px;
-}
-
-
-#pop1 {
- display: none;
- position: absolute;
- left:50%;
- top:50%;
- width: 20em;
- height: 5em;
- margin-top: -2.5em ;/*moitié de height */
- margin-left: -10em ;/*moitié de width */
- border: 3px solid #E0E0E0;
- background-color: #8470FF;
- z-index: 500;
- font-size: 80%;
- text-align:center;
-}
-
-#pop1 h2
-{
- background:#551A8B;
- color:#FFFFFF;
- font-size:small;
-}
-
-#pop1 p
-{
- vertical-align:middle;
-} \ No newline at end of file
diff --git a/maquette/popcreneau.php b/maquette/popcreneau.php
index 8202d7e..0ef7a34 100644
--- a/maquette/popcreneau.php
+++ b/maquette/popcreneau.php
@@ -1,43 +1,58 @@
<?php
- if (isset($_GET['idR']))
- {
- include ('connect.inc.php');
- echo '<h2>Cr&eacute;neaux de la r&eacute;union </h2>';
- echo '<div class="popup_contenu">';
- echo '<form id="formcreneau" method="get" action="'.$_GLOBAL['php_self'].'" onsubmit="return dataListe(\'creneaux\',\'dataCreneaux\');">';
- echo '<table>';
- echo '<tr>';
- echo '<td>Cr&eacute;er un cr&eacute;neau </td>';
- echo '<td>&nbsp;</td>';
- echo '<td>Cr&eacute;neaux</td>';
- echo '</tr>';
- echo '<tr>';
- echo '<td>Date : ';
- echo '<select name="day">';
+function generate_html_div_popfixer($idC)
+{
+ require_once ('connect.inc.php');
+ ?>
+ <h2>Cr&eacute;neaux de la r&eacute;union </h2>
+ <div class="popup_contenu">
+ <form id="formcreneau" method="get" action="<?php $_GLOBAL['php_self']; ?>" onsubmit="return dataListe('creneaux','dataCreneaux');">
+ <table>
+ <tr>
+ <td>Cr&eacute;er un cr&eacute;neau </td>
+ <td>&nbsp;</td>
+ <td>Cr&eacute;neaux</td>
+ </tr>
+ <tr>
+ <td>Date&nbsp;:&nbsp;
+ <select name="day">
+ <?php
for ($i=1;$i<=31;$i++) {$i = "0$i"; $i = substr($i,-2); echo "<option value=\"$i\">$i</option>"; }
- echo '</select>/';
- echo '<select name="month">';
+ ?>
+ </select>/
+ <select name="month">
+ <?php
for ($i=1;$i<=12;$i++) {$i = "0$i"; $i = substr($i,-2); echo "<option value=\"$i\">$i</option>"; }
- echo '</select>/';
- echo '<select name="year">';
+ ?>
+ </select>/
+ <select name="year">
+ <?php
for ($i=date('Y');$i<=((int)date('Y')+4);$i++) echo "<option value=\"$i\">$i</option>";
- echo '</select><br />D&eacute;but : ';
- echo '<select name="hourStart">';
+ ?>
+ </select><br />D&eacute;but&nbsp;: &nbsp;
+ <select name="hourStart">
+ <?php
for ($i=0;$i<=23;$i++) {$i = "0$i"; $i = substr($i,-2); echo "<option value=\"$i\">$i</option>"; }
- echo '</select>:';
- echo '<select name="minuteStart">';
+ ?>
+ </select>:
+ <select name="minuteStart">
+ <?php
for ($i=0;$i<=59;$i++) {$i = "0$i"; $i = substr($i,-2); echo "<option value=\"$i\">$i</option>"; }
- echo '</select><br />Fin : ';
- echo '<select name="hourEnd">';
+ ?>
+ </select><br />Fin&nbsp;:&nbsp;
+ <select name="hourEnd">
+ <?php
for ($i=0;$i<=23;$i++) {$i = "0$i"; $i = substr($i,-2); echo "<option value=\"$i\">$i</option>"; }
- echo '</select>:';
- echo '<select name="minuteEnd">';
+ ?>
+ </select>:
+ <select name="minuteEnd">
+ <?php
for ($i=0;$i<=59;$i++) {$i = "0$i"; $i = substr($i,-2); echo "<option value=\"$i\">$i</option>"; }
- echo '</select></td>';
- echo '<td><input name="AjouterCreneau" type="button" value="Ajouter" onclick="addcreneau(this.form);"/><br/><br/>';
- echo '<input name="supprimerCreneau" type="button" value="Retirer" onclick="removecreneau(this.form);"/></td>';
- echo '<td><select name="creneaux" size="10" id="creneaux">';
-
+ ?>
+ </select></td>
+ <td><input name="AjouterCreneau" type="button" value="Ajouter" onclick="addcreneau(this.form);"/><br/><br/>
+ <input name="supprimerCreneau" type="button" value="Retirer" onclick="removecreneau(this.form);"/></td>
+ <td><select name="creneaux" size="10" id="creneaux">
+ <?php
$result = mysql_query("SELECT UNIX_TIMESTAMP(dateHeure),duree FROM Creneau WHERE idR=".$_GET['idR']);
if (mysql_num_rows($result)>0)
{
@@ -46,23 +61,29 @@
$row = mysql_fetch_array($result);
$date_deb =$row[0];
$date_fin = $date_deb + 60 * $row[1];
- echo '<option>' . date('H:i',$date_deb) . ' -&gt; ' . date('H:i',$date_fin) . ' ' . date('d/m/Y',$date_deb);
+ echo '<option value="'.date('Hi',$date_deb).'.'.date('Hi',$date_fin).'.'.date('d.m.Y',$date_deb).'">' . date('H:i',$date_deb) . ' -&gt; ' . date('H:i',$date_fin) . ' ' . date('d/m/Y',$date_deb);
}
}
-
- echo '</select></td></tr></table><br/>';
- echo '<input type="hidden" id="dataCreneaux" name="dataCreneaux" />';
- echo '<input type="submit" value="Valider" name="action" /><input type="button" value="Fermer" onclick="popoff(\'popcreneau\')"/>';
- echo '</form>';
- echo '</div>';
- }
- else
- {
- echo '<div class="popup_contenu">';
- echo 'Erreur - pas d\'identifiant de r&eacute;union !';
- echo '<form id="formcreneau" method="get" action="'.$_GLOBAL['php_self'].'">';
- echo '<input type="button" value="Fermer" onclick="popoff(\'popcreneau\')"/>';
- echo '</form>';
- echo '</div>';
- }
+ ?>
+ </select></td></tr></table><br/>
+ <input type="hidden" name="idR" value="<?php echo $_GET['idR'];?>" />
+ <input type="submit" value="Valider" name="action" /><input type="button" value="Fermer" onclick="popoff('popcreneau')"/>
+ </form>
+ </div>
+<?php
+}
+
+if (isset($_GET['idR']))
+{
+ generate_html_div_popfixer($_GET['idR']);
+}
+else
+{
+ echo '<div class="popup_contenu">';
+ echo 'Erreur - pas d\'identifiant de r&eacute;union !';
+ echo '<form id="formcreneau" method="get" action="'.$_GLOBAL['php_self'].'">';
+ echo '<input type="button" value="Fermer" onclick="popoff(\'popcreneau\')"/>';
+ echo '</form>';
+ echo '</div>';
+}
?>
diff --git a/maquette/popfixer.php b/maquette/popfixer.php
index 33032ed..7ef7f5f 100644
--- a/maquette/popfixer.php
+++ b/maquette/popfixer.php
@@ -18,8 +18,10 @@
echo '<br/><br/>';
echo '<form id="formfixer" method="get" action="'.$_GLOBAL['php_self'].'">';
- echo '<input type="submit" value="Valider" name="action"/>';
- echo '<input type="button" value="Fermer" onclick="popoff(\'popfixer\')"/>';
+ echo '<input type="hidden" name="idC" value="'.$_GET['idC'].'" />';
+ echo '<input type="hidden" name="idR" value="'.$_GET['idR'].'" />';
+ echo '<input type="submit" value="Valider"/>';
+ echo '<input type="button" value="Annuler" onclick="popoff(\'popfixer\')"/>';
echo '</form>';
echo '</div>';
}
diff --git a/maquette/poppersonne.php b/maquette/poppersonne.php
new file mode 100644
index 0000000..1f739e4
--- /dev/null
+++ b/maquette/poppersonne.php
@@ -0,0 +1,71 @@
+<?php require_once('connect.inc.php'); ?>
+<h2>Participants de la r&eacute;union</h2>
+<div class="popup_contenu">
+<form id="formpersonne" action="<?php $_GLOBAL['php_self']; ?>" method="get" onsubmit="return dataListe('participants','dataParticipants');">
+<table>
+<tr>
+<td>Contacts disponibles </td>
+<td>&nbsp;</td>
+<td>Participants </td>
+</tr>
+<tr>
+<td>
+<select name="listeDispo" id="listeDispo" onChange="loadlist('poppersonneliste.php?idL=','listeDispo','divListe');">
+<option value="None">Choisir ...</option>
+<option value="Tous">Tous</option>
+<?php
+ $result = mysql_query("SELECT DISTINCT L.idL,L.libelleL FROM Liste L,Reunion R WHERE L.estPrivee='non' OR (L.idP_Createur=R.idP_Orga AND R.idR=".$_GET['idR'].");");
+ if (mysql_num_rows($result)>0)
+ {
+ for($i=0;$i<mysql_num_rows($result);$i++)
+ {
+ $row = mysql_fetch_array($result);
+ echo '<option value="'.$row[0].'" onDblClick="addPers(this.form);">';
+ echo $row[1];
+ echo '</option>';
+ }
+ }
+?>
+</select>
+</td>
+<td>&nbsp;</td>
+<td>&nbsp;</td>
+</tr>
+<tr>
+<td>
+<div id="divListe">
+</div>
+</td>
+<td><input name="AjouterParticipant" type="button" id="AjouterParticipant" value="Ajouter" onclick="addPers(this.form);"/>
+<br/>
+<br/>
+<input name="supprimerParticipant" type="button" id="supprimerParticipant" value="Retirer" onclick="removePers(this.form);"/></td>
+<td>
+<select name="participants" size="10" id="participants">
+<?php
+ $result = mysql_query("SELECT P.idP,P.courrielP,P.nomP,P.prenomP FROM Personne P,Reunion R,Appartenir A WHERE P.idP=A.idP AND A.idL=R.idL AND R.idR=".$_GET['idR']);
+ if (mysql_num_rows($result)>0)
+ {
+ for($i=0;$i<mysql_num_rows($result);$i++)
+ {
+ $row = mysql_fetch_array($result);
+ echo '<option value="'.$row[0].'">';
+ echo $row[2] . " " . $row[3];
+ echo '</option>';
+ }
+ }
+?>
+</select>
+</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>&nbsp;</td>
+<td><a href="#popnew" class="pop">Ajouter une personne</a></td>
+</tr>
+</table>
+<br/>
+<input type="hidden" name="idR" value="<?php echo $_GET['idR'];?>" />
+<input type="submit" name="Submit" value="Valider" /><input type="button" value="Fermer" onclick="popoff('poppersonne');" />
+</form>
+</div>
diff --git a/maquette/poppersonneliste.php b/maquette/poppersonneliste.php
new file mode 100644
index 0000000..c9e1b05
--- /dev/null
+++ b/maquette/poppersonneliste.php
@@ -0,0 +1,22 @@
+<?php
+ require_once 'connect.inc.php';
+ if ($_GET['idL'] != "None")
+ {
+ $req = "SELECT P.idP , P.courrielP , P.nomP , P.prenomP FROM Personne P";
+ if ($_GET['idL'] != "Tous") {$req=$req.",Appartenir A WHERE P.idP=A.idP AND A.idL=".$_GET['idL'];}
+ $result = mysql_query($req) ;
+ echo '<select name="contactDispo" size="10" id="contactDispo">';
+
+ if (mysql_num_rows($result)>0)
+ {
+ for($i=0;$i<mysql_num_rows($result);$i++)
+ {
+ $row = mysql_fetch_array($result);
+ echo '<option value="'.$row[0].'" onDblClick="addPers(this.form);">';
+ echo $row[2] . " " . $row[3];
+ echo '</option>';
+ }
+ }
+ echo '</select>';
+ }
+?>
diff --git a/maquette/script old.js b/maquette/script old.js
deleted file mode 100644
index 8e96d1b..0000000
--- a/maquette/script old.js
+++ /dev/null
@@ -1,36 +0,0 @@
-function pop()
-{
-
- var myAs = document.getElementsByTagName('a');
- for (var a = 0; a < myAs.length; ++a) {
- // Si le lien a une classe de type pop
- if (myAs[a].className == 'pop') {
- // on extrait l'id de la popup à partir du href
- var pop = document.getElementById(myAs[a].href.substring(myAs[a].href.lastIndexOf('#') + 1));
- // si la popup existe on l'affiche (display block)
- if (pop) {
- pop.style.display = 'none';
- myAs[a].onclick = function() {
- thisPopup = document.getElementById(this.href.substring(this.href.lastIndexOf('#') + 1))
- thisPopup.style.display = (thisPopup.style.display == 'none') ? 'block' : 'none';
- return false;
- };
- // on efface la popup en cliquant dessus
- // pop.onclick = function()
- // {
- // this.style.display = 'none';
- // };
- var nompopup = myAs[a].href.substring(myAs[a].href.lastIndexOf('#') + 1);
- var num = nompopup.substring(3,nompopup.length);
- var nomform = 'form' + num;
- var formulaire = document.getElementById(nomform);
- if (formulaire) {
- document.forms[nomform].elements['fermer'].onclick = function() {
- pp = document.getElementById(('pop') + this.alt);
- pp.style.display = 'none';
- }
- }
- }
- }
- }
-} \ No newline at end of file
diff --git a/maquette/script.js b/maquette/script.js
index 39c27d1..2dd33e9 100644
--- a/maquette/script.js
+++ b/maquette/script.js
@@ -31,8 +31,12 @@ function removePers(form)
}
}
-function loadpop(url,id) {
- document.getElementById(id).innerHTML = "<em>Chargement en cours ...<br/><a href=\"#\" onclick=\"popoff('"+id+"')\" >Fermer</a><em>";
+function loadid(url,id,isPop) {
+ if (isPop)
+ document.getElementById(id).innerHTML = "<em>Chargement en cours ...<br/><a href=\"#\" onclick=\"popoff('"+id+"')\" >Fermer</a></em>";
+ else
+ document.getElementById(id).innerHTML = "<em>Chargement en cours ...</em>";
+
var http_request = false;
@@ -62,7 +66,10 @@ function loadpop(url,id) {
if (http_request.status == 200) {
document.getElementById(id).innerHTML = http_request.responseText;
} else {
- document.getElementById(id).innerHTML = "<em>Un probl&egrave;me est survenu ...<br/><a href=\"#\" onclick=\"loadpop('"+url+"','"+id+"')\" >R&eacute;essayer</a> - <a href=\"#\" onclick=\"popoff('"+id+"')\" >Fermer</a><em>";
+ if (isPop)
+ document.getElementById(id).innerHTML = "<em>Un probl&egrave;me est survenu ...<br/><a href=\"#\" onclick=\"loadid('"+url+"','"+id+"',true)\" >R&eacute;essayer</a> - <a href=\"#\" onclick=\"popoff('"+id+"')\" >Fermer</a></em>";
+ else
+ document.getElementById(id).innerHTML = "<em>Un probl&egrave;me est survenu ...<br/><a href=\"#\" onclick=\"loadid('"+url+"','"+id+"',false)\" >R&eacute;essayer</a></em>";
}
}
};
@@ -91,22 +98,25 @@ function addcreneau(form)
{
if(form.day.options.selectedIndex>=0 && form.month.options.selectedIndex>=0 && form.year.options.selectedIndex>=0 && form.hourStart.options.selectedIndex>=0 && form.minuteStart.options.selectedIndex>=0 && form.hourEnd.options.selectedIndex>=0 && form.minuteEnd.options.selectedIndex>=0)
{
- //Création de la valeur
- var oValue = form.hourStart.options[form.hourStart.options.selectedIndex].value + form.minuteStart.options[form.minuteStart.options.selectedIndex].value + form.hourEnd.options[form.hourEnd.options.selectedIndex].value + form.minuteEnd.options[form.minuteEnd.options.selectedIndex].value;
- oValue = oValue + form.day.options[form.day.options.selectedIndex].value + form.month.options[form.month.options.selectedIndex].value + form.year.options[form.year.options.selectedIndex].value;
-
- //Test si la valeur est déja dans la liste
- var exist = false;
- var i = 0;
- while (i<form.creneaux.options.length && !exist) { if (form.creneaux.options[i].value == oValue) exist = true; i=i+1;}
-
- //Création du texte et de l'option et insertion de l'option si la valeur n'a pas été trouvée
- if (!exist)
+ if (verifDate(form.day.options[form.day.options.selectedIndex].value,form.month.options[form.month.options.selectedIndex].value,form.year.options[form.year.options.selectedIndex].value))
{
- var oText = form.hourStart.options[form.hourStart.options.selectedIndex].value + ":" + form.minuteStart.options[form.minuteStart.options.selectedIndex].value + " -> " + form.hourEnd.options[form.hourEnd.options.selectedIndex].value + ":" + form.minuteEnd.options[form.minuteEnd.options.selectedIndex].value;
- oText = oText + " " + form.day.options[form.day.options.selectedIndex].value + "/" + form.month.options[form.month.options.selectedIndex].value + "/" + form.year.options[form.year.options.selectedIndex].value;
- var o = new Option(oText,oValue);
- form.creneaux.options[form.creneaux.options.length]=o;
+ //Création de la valeur
+ var oValue = form.hourStart.options[form.hourStart.options.selectedIndex].value + form.minuteStart.options[form.minuteStart.options.selectedIndex].value + "." + form.hourEnd.options[form.hourEnd.options.selectedIndex].value + form.minuteEnd.options[form.minuteEnd.options.selectedIndex].value;
+ oValue = oValue + "." + form.day.options[form.day.options.selectedIndex].value + "." + form.month.options[form.month.options.selectedIndex].value + "." + form.year.options[form.year.options.selectedIndex].value;
+
+ //Test si la valeur est déja dans la liste
+ var exist = false;
+ var i = 0;
+ while (i<form.creneaux.options.length && !exist) { if (form.creneaux.options[i].value == oValue) exist = true; i=i+1;}
+
+ //Création du texte et de l'option et insertion de l'option si la valeur n'a pas été trouvée
+ if (!exist)
+ {
+ var oText = form.hourStart.options[form.hourStart.options.selectedIndex].value + ":" + form.minuteStart.options[form.minuteStart.options.selectedIndex].value + " -> " + form.hourEnd.options[form.hourEnd.options.selectedIndex].value + ":" + form.minuteEnd.options[form.minuteEnd.options.selectedIndex].value;
+ oText = oText + " " + form.day.options[form.day.options.selectedIndex].value + "/" + form.month.options[form.month.options.selectedIndex].value + "/" + form.year.options[form.year.options.selectedIndex].value;
+ var o = new Option(oText,oValue);
+ form.creneaux.options[form.creneaux.options.length]=o;
+ }
}
}
}
@@ -128,19 +138,51 @@ function removecreneau(form)
function dataListe(idSelect,idInput)
{
var liste = document.getElementById(idSelect);
- var champs = document.getElementById(idInput);
- var data = "";
- if (liste && champs)
+ if (liste)
{
for (var i=0;i<liste.options.length;i++)
{
- data = data + idInput + "[" + i + "]" + liste.options[i].value + "&";
+ var newInput = document.createElement("input");
+/* newInput.setAttribute("type", "hidden");
+ newInput.setAttribute("name", (idInput+"["+i+"]"));
+ newInput.setAttribute("value", liste.options[i].value);*/
+ newInput.type = "hidden";
+ newInput.name = idInput+"["+i+"]";
+ newInput.value = liste.options[i].value;
+ liste.form.appendChild(newInput);
}
- champs.value = data;
return (true);
}
else
{
return (false);
}
+
+}
+function verifDate(day,month,year)
+{
+ var a= year;
+ var m= month;
+ var d= day;
+ var ok=true;
+
+ var date2=new Date(a,m-1,d);
+ d2=date2.getDate();
+ m2=date2.getMonth()+1;
+ a2=date2.getFullYear();
+ if (a2<=100) {a2=1900+a2} //Pour depasser 2000
+ if ( (d!=d2)||(m!=m2)||(a!=a2) )
+ {
+ alert("Cette date n'existe pas !");
+ ok=false;
+ }
+ return (ok);
+}
+function loadlist(url,id,idListe)
+{
+
+ if (document.getElementById(id))
+ {
+ loadid((url+document.getElementById(id).options[document.getElementById(id).options.selectedIndex].value),idListe,false);
+ }
} \ No newline at end of file
diff --git a/maquette/style1.css b/maquette/style1.css
deleted file mode 100644
index 46696bc..0000000
--- a/maquette/style1.css
+++ /dev/null
@@ -1,179 +0,0 @@
-body {
- color: #000000;
- background-color: #CCCCCC;
- font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-.important { color: #FF0000; }
-.termine { color: #00CC00; }
-a:link { color: #000000; }
-a:visited { color: #000000; }
-
-table {
- border-spacing:0px;
- margin: auto;
- padding: 0px;
- background-color: #FFFF99;
- width:98%;
- text-align:center;
- border: thin solid #000000;
-}
-th {
- font-weight: bold;
- border-bottom-width: thin;
- border-bottom-style: solid;
- border-bottom-color: #000000;
- color: #FFFFFF;
- background-color: #000000;
- font-size: small;
-}
-td {
- border-bottom-width: thin;
- border-bottom-style: solid;
- border-bottom-color: #000000;
-}
-th a:link, th a:visited {
- font-size: x-small;
- color: #FFFFFF;
-}
-h1 {
- font-weight: bold;
- color: #9999FF;
- text-align: center;
-}
-h2 {
- color: #5C5CFF;
- margin: 0px;
-}
-select { width:auto; }
-/* ---------------------- Tableau détails réunions ---------------------- */
-table.old {
- border-spacing:0px;
- margin: auto;
- padding: 0px;
- background-color: #FFFF99;
- width:98%;
- text-align:center;
-}
-table.details td.participant {
- text-align:right;
-}
-a.creneau_fixer:hover
-{
- background-color:#CC3300;
-}
-/* ---------------------- Tableau principal ---------------------- */
-table.main {
- border-spacing:0px;
- margin: auto;
- padding: 0px;
- background-color: #FFFF99;
- width:98%;
- text-align: left;
-}
-/* ---------------------- Tableau commentaire ---------------------- */
-table.commentaires {
- text-align: left;
-}
-/* ---------------------- Tableau fichiers ---------------------- */
-table.fichiers {
- text-align: left;
-}
-/* ---------------------- Listes des réunions ---------------------- */
-table.listeReunions {
- border-collapse:collapse;
-}
-table.formulaire {
-
- border-spacing:0px;
- border-right-width: 0px;
- border-bottom-width: 0px;
- border-left-width: 0px;
- border-top-style: none;
- border-right-style: none;
- border-bottom-style: none;
- border-left-style: none;
- margin: auto;
- margin-top:2px;
- padding: 0px;
- background-color: #9999FF;
- width:80%;
- color: #000000;
-}
-/* ---------------------- Table principale ---------------------- */
-table.principal {
- border:hidden;
- margin:auto;
-}
-/* ---------------------- Arbre du menu ---------------------- */
-p.arbre {
- font-size: small;
- color: #1F1FFF;
- text-align: left;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- margin-left: 0px;
-}
-p.arbre a:link, p.arbre a:visited { color:#1F1FFF; }
-td.menu
-{
- background-color: #000000;
- text-align: left;
- height: 25px;
- text-indent: 5px;
-}
-td.menu a:link { color: #FFFFFF; }
-td.menu a:visited { color: #FFFFFF; }
-/* ---------------------- Listes ---------------------- */
-ul.commentaires {
- list-style-type: none;
- margin-top: 2px;
- padding-left: 2px;
-}
-ul.commentaires li { margin-left: 0px; }
-ul.menu { text-align: left; }
-li.menu
-{
- display: inline;
- list-style-type: none;
- padding-right: 5px;
-}
-table.detail_reunions th { text-align: center; }
-table.detail_reunion td {
- text-align: left;
-}
-
-.organisateur { font-weight: bold; }
-td.aide {
- color: #000000;
- background-color: #FFFFFF;
- border-left-width: medium;
- border-left-style: solid;
- border-left-color: #000000;
- width: 20%;
- vertical-align: top;
- font-size: small;
- font-family: Arial, Helvetica, sans-serif;
- padding: 0px;
-}
-div.titre_aide {
- font-weight: bold;
- color: #FFFFFF;
- background-color: #000000;
- vertical-align: top;
-}
-div.corps_aide {
- margin: 1px;
- text-align: justify;
-}
-p.deconnexion {
- color: #FFFFFF;
- text-align: right;
- margin: 0px;
- margin-right:5px;
-}
-/*
-Ancien style de lien
-a:link { color: #1F1FFF; }
-a:visited { color: #EE009F; }
-*/
diff --git a/maquette/style2.css b/maquette/style2.css
deleted file mode 100644
index 40404ed..0000000
--- a/maquette/style2.css
+++ /dev/null
@@ -1,175 +0,0 @@
-body {
- color: #000000;
- background-color: #CCFF99;
- font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-.important { color: #FF0000; }
-/*
-Ancien style de lien
-a:link { color: #1F1FFF; }
-a:visited { color: #EE009F; }
-*/
-a:link { color: #000000; }
-a:visited { color: #000000; }
-h1 {
- font-weight: bold;
- color: #9999FF;
- text-align: center;
-}
-h2 {
- color: #5C5CFF;
- margin: 0px;
-}
-/* ---------------------- Tableau détails réunions ---------------------- */
-table {
- border-spacing:0px;
- margin: auto;
- padding: 0px;
- background-color: #FFFF99;
- width:98%;
- text-align: center;
-}
-th {
- font-weight: bold;
- border-bottom-width: thin;
- border-bottom-style: solid;
- border-bottom-color: #000000;
- font-size: small;
- color: #FFFFFF;
- background-color: #000000;
-}
-td {
- border-bottom-width: thin;
- border-bottom-style: solid;
- border-bottom-color: #000000;
-}
-/* ---------------------- Tableau principal ---------------------- */
-table.main {
- border-spacing:0px;
- margin: auto;
- padding: 0px;
- background-color: #FFFF99;
- width:98%;
-}
-/* ---------------------- Listes des réunions ---------------------- */
-table.listeReunions {
- border-collapse:collapse;
-}
-table.listeReunions a:link {
- color: #000000;
-}
-table.listeReunions a:visited {
- color: #000000;
-}
-table.listeReunions th {
- font-weight: bold;
- border-bottom-width: thin;
- border-bottom-style: solid;
- border-bottom-color: #000000;
- color: #FFFFFF;
- background-color: #000000;
-}
-table.listeReunions td {
- border-top-width: 0px;
- border-right-width: 0px;
- border-bottom-width: 1px;
- border-left-width: 0px;
- border-bottom-style: solid;
- border-bottom-color: #000000;
-}
-table.formulaire {
-
- border-spacing:0px;
- border-right-width: 0px;
- border-bottom-width: 0px;
- border-left-width: 0px;
- border-top-style: none;
- border-right-style: none;
- border-bottom-style: none;
- border-left-style: none;
- margin: auto;
- margin-top:2px;
- padding: 0px;
- background-color: #9999FF;
- width:80%;
- color: #000000;
-}
-p.arbre {
- font-size: small;
- color: #1F1FFF;
- text-align: left;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- margin-left: 0px;
-}
-p.arbre a:link { color:#1F1FFF; }
-p.arbre a:visited { color:#1F1FFF; }
-
-.termine {
- color: #00CC00;
-}
-
-
-table.principal {
- border:hidden;
- margin:auto;
-}
-td.menu
-{
- background-color: #000000;
- text-align: left;
- height: 25px;
- text-indent: 5px;
-}
-td.menu a:link {
- color: #FFFFFF;
-}
-td.menu a:visited {
- color: #FFFFFF;
-}
-ul.menu
-{
- text-align: left;
-}
-li.menu
-{
- display: inline;
- list-style-type: none;
- padding-right: 5px;
-}
-.detail_reunion
-{
- text-align: left;
-}
-.organisateur {
- font-weight: bold;
-}
-td.aide {
- color: #000000;
- background-color: #FFFFFF;
- border-left-width: medium;
- border-left-style: solid;
- border-left-color: #000000;
- width: 20%;
- vertical-align: top;
- font-size: small;
- font-family: Arial, Helvetica, sans-serif;
- padding: 0px;
-}
-div.titre_aide {
- font-weight: bold;
- color: #FFFFFF;
- background-color: #000000;
- vertical-align: top;
-}
-div.corps_aide {
- margin: 1px;
- text-align: justify;
-}
-p.deconnexion {
- color: #FFFFFF;
- text-align: right;
- margin: 0px;
- margin-right:5px;
-}
diff --git a/maquette/styleOLD.css b/maquette/styleOLD.css
deleted file mode 100644
index 988624d..0000000
--- a/maquette/styleOLD.css
+++ /dev/null
@@ -1,186 +0,0 @@
-body {
- color: #000000;
- background-color: #CCFF99;
- font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-.important { color: #FF0000; }
-/*
-Ancien style de lien
-a:link { color: #1F1FFF; }
-a:visited { color: #EE009F; }
-*/
-a:link { color: #000000; }
-a:visited { color: #000000; }
-h1 {
- font-weight: bold;
- color: #9999FF;
- text-align: center;
-}
-h2 {
- color: #5C5CFF;
- margin: 0px;
-}
-table.main {
- border-spacing:0px;
- margin: auto;
- padding: 0px;
- background-color: #FFFF99;
- width:98%;
-}
-/* ---------------------- Tableau détails réunions ---------------------- */
-table.details {
- border-spacing:0px;
- margin: auto;
- padding: 0px;
- background-color: #FFFF99;
- width:98%;
- text-align: center;
-}
-table.details th {
- font-weight: bold;
- border-bottom-width: thin;
- border-bottom-style: solid;
- border-bottom-color: #000000;
- font-size: small;
- color: #FFFFFF;
- background-color: #000000;
-}
-table.details td {
- border-bottom-width: thin;
- border-bottom-style: solid;
- border-bottom-color: #000000;
-}
-table.details td.disponible {
- background-color: #00FF40;
-}
-table.details td.indisponible {
- background-color: #FF3333;
-}
-table.details td.inconnu {
- background-color: #6699FF;
-}
-/* ---------------------- Listes des réunions ---------------------- */
-table.listeReunions {
- width:95%;
- margin:auto;
- text-align:center;
- border-collapse:collapse;
-}
-table.listeReunions a:link {
- color: #000000;
-}
-table.listeReunions a:visited {
- color: #000000;
-}
-table.listeReunions th {
- font-weight: bold;
- border-bottom-width: thin;
- border-bottom-style: solid;
- border-bottom-color: #000000;
- color: #FFFFFF;
- background-color: #000000;
-}
-table.listeReunions td {
- border-top-width: 0px;
- border-right-width: 0px;
- border-bottom-width: 1px;
- border-left-width: 0px;
- border-bottom-style: solid;
- border-bottom-color: #000000;
-}
-table.formulaire {
-
- border-spacing:0px;
- border-right-width: 0px;
- border-bottom-width: 0px;
- border-left-width: 0px;
- border-top-style: none;
- border-right-style: none;
- border-bottom-style: none;
- border-left-style: none;
- margin: auto;
- margin-top:2px;
- padding: 0px;
- background-color: #9999FF;
- width:80%;
- color: #000000;
-}
-p.arbre {
- font-size: small;
- color: #1F1FFF;
- text-align: left;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- margin-left: 0px;
-}
-p.arbre a:link { color:#1F1FFF; }
-p.arbre a:visited { color:#1F1FFF; }
-
-.termine {
- color: #00CC00;
-}
-
-
-table.principal {
- border:hidden;
- margin:auto;
-}
-td.menu
-{
- background-color: #000000;
- text-align: left;
- height: 25px;
- text-indent: 5px;
-}
-td.menu a:link {
- color: #FFFFFF;
-}
-td.menu a:visited {
- color: #FFFFFF;
-}
-ul.menu
-{
- text-align: left;
-}
-li.menu
-{
- display: inline;
- list-style-type: none;
- padding-right: 5px;
-}
-.detail_reunion
-{
- text-align: left;
-}
-.organisateur {
- font-weight: bold;
-}
-td.aide {
- color: #000000;
- background-color: #FFFFFF;
- border-left-width: medium;
- border-left-style: solid;
- border-left-color: #000000;
- width: 20%;
- vertical-align: top;
- font-size: small;
- font-family: Arial, Helvetica, sans-serif;
- padding: 0px;
-}
-div.titre_aide {
- font-weight: bold;
- color: #FFFFFF;
- background-color: #000000;
- vertical-align: top;
-}
-div.corps_aide {
- margin: 1px;
- text-align: justify;
-}
-p.deconnexion {
- color: #FFFFFF;
- text-align: right;
- margin: 0px;
- margin-right:5px;
-}
diff --git a/maquette/testGet.php b/maquette/testGet.php
new file mode 100644
index 0000000..3f8d1cc
--- /dev/null
+++ b/maquette/testGet.php
@@ -0,0 +1,18 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>TestGEt</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<script type="text/javascript" src="script.js"></script>
+</head>
+
+<body>
+<?php
+ include("connect.inc.php");
+ include("popcreneau.php");
+ include("poppersonne.php");
+?>
+<hr/>
+<pre><?php print_r($_GET); ?></pre>
+</body>
+</html>
diff --git a/maquette/test_html_tab.php b/maquette/test_html_tab.php
new file mode 100644
index 0000000..853a87e
--- /dev/null
+++ b/maquette/test_html_tab.php
@@ -0,0 +1,31 @@
+<?php echo '<?xml version="1.0" encoding="ISO-8859-1"?>'."\n" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
+ <head>
+ <title>AWOR - Identification</title>
+ <!--<link rel="stylesheet" type="text/css" href="main.css" />-->
+ </head>
+ <body class="content">
+ <p>
+ <?php echo '<form id="auth" method="get" action="' . $_GLOBAL['php_self'] . '">' . "\n"; ?>
+ <input name="champ_simple1" type="text" size="20" tabindex="1" />
+ <input name="champ_simple21" type="text" size="20" tabindex="1" />
+ <input name="compte[nom]" type="text" size="20" tabindex="1" />
+ <input name="compte[prenom] type="text" size="20" tabindex="1" />
+ <input name="compte[date][annee]" type="text" size="20" tabindex="1" />
+ <input name="compte[date][mois]" type="text" size="20" tabindex="1" />
+ <input name="compte[date][jour]" type="text" size="20" tabindex="1" />
+ <input name="compte[date][heure]" type="text" size="20" tabindex="1" />
+ <input name="compte[date][min]" type="text" size="20" tabindex="1" />
+ <input name="compte[date][sec]" type="text" size="20" tabindex="1" />
+ <input type="submit" value="Valider" />
+ </form>
+ </p>
+
+ <p>
+ <pre>
+ <?php print_r($_GET) ?>
+ </pre>
+ </p>
+ </body>
+</html>
diff --git a/maquette/titre.psd b/maquette/titre.psd
deleted file mode 100644
index 821cf7d..0000000
--- a/maquette/titre.psd
+++ /dev/null
Binary files differ
diff --git a/test/ajax/ajax_simple.js b/test/ajax/ajax_simple.js
index 74005cb..18328b6 100644
--- a/test/ajax/ajax_simple.js
+++ b/test/ajax/ajax_simple.js
@@ -1,37 +1,37 @@
-function url2div(url,divid) {
- var http_request = false;
-
- if (window.XMLHttpRequest) { // Mozilla, Safari,...
- http_request = new XMLHttpRequest();
- if (http_request.overrideMimeType) {
- http_request.overrideMimeType('text/xml');
- }
- } else if (window.ActiveXObject) { // IE
- try {
- http_request = new ActiveXObject("Msxml2.XMLHTTP");
- } catch (e) {
- try {
- http_request = new ActiveXObject("Microsoft.XMLHTTP");
- } catch (e) {}
- }
- }
-
- if (!http_request) {
- alert('Abandon : Impossible de créer une instance XMLHTTP');
- return false;
- }
-
- http_request.onreadystatechange = function(){
-
- if (http_request.readyState == 4) {
- if (http_request.status == 200) {
- document.getElementById(divid).innerHTML = http_request.responseText;
- } else {
- document.getElementById(divid).innerHTML = "Un problème est survenu ...";
- }
- }
- };
-
- http_request.open('GET', url, true);
- http_request.send(null);
+function url2div(url,divid) {
+ var http_request = false;
+
+ if (window.XMLHttpRequest) { // Mozilla, Safari,...
+ http_request = new XMLHttpRequest();
+ if (http_request.overrideMimeType) {
+ http_request.overrideMimeType('text/xml');
+ }
+ } else if (window.ActiveXObject) { // IE
+ try {
+ http_request = new ActiveXObject("Msxml2.XMLHTTP");
+ } catch (e) {
+ try {
+ http_request = new ActiveXObject("Microsoft.XMLHTTP");
+ } catch (e) {}
+ }
+ }
+
+ if (!http_request) {
+ alert('Abandon : Impossible de créer une instance XMLHTTP');
+ return false;
+ }
+
+ http_request.onreadystatechange = function(){
+
+ if (http_request.readyState == 4) {
+ if (http_request.status == 200) {
+ document.getElementById(divid).innerHTML = http_request.responseText;
+ } else {
+ document.getElementById(divid).innerHTML = "Un problème est survenu ...";
+ }
+ }
+ };
+
+ http_request.open('GET', url, true);
+ http_request.send(null);
} \ No newline at end of file
diff --git a/test/awor1.txt b/test/awor1.txt
index e02eb8d..1ccf3f2 100644
--- a/test/awor1.txt
+++ b/test/awor1.txt
@@ -1,18 +1,18 @@
-<?php
- # server switch webetud
-if (($_SERVER["REMOTE_ADDR"] == "localhost")
- || ($_SERVER["REMOTE_ADDR"] == "127.0.0.1")
- ){
- $login='etud';
- $login='Inglebert';
-} else {
- VerifOuvertureSession("quelconque");
-}
- #################################################
- # Récupération login webetud
- #################################################
- function VerifOuvertureSession($typeParam)
- {
- session_start();
- #peu importe
+<?php
+ # server switch webetud
+if (($_SERVER["REMOTE_ADDR"] == "localhost")
+ || ($_SERVER["REMOTE_ADDR"] == "127.0.0.1")
+ ){
+ $login='etud';
+ $login='Inglebert';
+} else {
+ VerifOuvertureSession("quelconque");
+}
+ #################################################
+ # Récupération login webetud
+ #################################################
+ function VerifOuvertureSession($typeParam)
+ {
+ session_start();
+ #peu importe
} \ No newline at end of file