diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:10:17 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:10:17 +0200 |
commit | 1269889704386de951d7f91eb169eb1e1bb36cc0 (patch) | |
tree | ff0b0fbcf5d6cc6cb769ef25924721e348f339a5 /appli_3_alpha_old/popfixer.php | |
parent | c93c261a461c9a2359bdcd75f7136fcb05237106 (diff) | |
download | 2007-AWOR-1269889704386de951d7f91eb169eb1e1bb36cc0.tar.gz 2007-AWOR-1269889704386de951d7f91eb169eb1e1bb36cc0.tar.bz2 2007-AWOR-1269889704386de951d7f91eb169eb1e1bb36cc0.zip |
Sous-dossier app entre old4 et old5
Diffstat (limited to 'appli_3_alpha_old/popfixer.php')
-rw-r--r-- | appli_3_alpha_old/popfixer.php | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/appli_3_alpha_old/popfixer.php b/appli_3_alpha_old/popfixer.php deleted file mode 100644 index 578e2fb..0000000 --- a/appli_3_alpha_old/popfixer.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php - if (isset($_GET['idC'])) - { - include ('include/connect.inc.php'); - echo '<h2>Désirez-vous fixer ce créneau ?</h2>'; - echo '<div class="popup_contenu">'; - $result = mysql_query("SELECT UNIX_TIMESTAMP(dateHeure),duree FROM Creneau WHERE idC=".$_GET['idC']); - if (mysql_num_rows($result)>0) - { - for($i=0;$i<mysql_num_rows($result);$i++) - { - $row = mysql_fetch_array($result); - $date_deb =$row[0]; - $date_fin = $date_deb + 60 * $row[1]; - echo 'Le ' . date('d/m/y', $date_deb) . ' de ' . date('H:i', $date_deb) . ' à ' . date('H:i', $date_fin); - } - } - - echo '<br/><br/>'; - //~ echo '<form id="formfixer" method="get" action="'.$_SERVER['PHP_SELF'].'">'; - echo '<form id="formfixer" method="get" action="">'; - echo '<input type="hidden" name="action" value="fixer_creneau" />'; - echo '<input type="hidden" name="idR" value="'.$_GET['idR'].'" />'; - echo '<input type="hidden" name="idC" value="'.$_GET['idC'].'" />'; - echo '<input type="submit" value="Valider"/>'; - echo '<input type="button" value="Annuler" onclick="popoff(\'popfixer\')"/>'; - echo '</form>'; - echo '</div>'; - } - else - { - echo '<div class="popup_contenu">'; - echo 'Erreur - pas d\'identifiant de cr&eaneau !'; - echo '<form id="formfixer" method="get" action="">'; - echo '<input type="button" value="Fermer" onclick="popoff(\'popfixer\')"/>'; - echo '</form>'; - echo '</div>'; - } -?> - |