summaryrefslogtreecommitdiff
path: root/appli_3_alpha_old/app/modele_page.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:10:17 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:10:17 +0200
commit1269889704386de951d7f91eb169eb1e1bb36cc0 (patch)
treeff0b0fbcf5d6cc6cb769ef25924721e348f339a5 /appli_3_alpha_old/app/modele_page.php
parentc93c261a461c9a2359bdcd75f7136fcb05237106 (diff)
download2007-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/app/modele_page.php')
-rw-r--r--appli_3_alpha_old/app/modele_page.php56
1 files changed, 56 insertions, 0 deletions
diff --git a/appli_3_alpha_old/app/modele_page.php b/appli_3_alpha_old/app/modele_page.php
new file mode 100644
index 0000000..e7d555a
--- /dev/null
+++ b/appli_3_alpha_old/app/modele_page.php
@@ -0,0 +1,56 @@
+<?php
+require('include/ludo/session_verify.inc.php');
+require_once('include/ludo/html_elements.inc.php');
+generate_html_doctype_and_head("Modèle");
+echo "<body>\n";
+generate_html_divs_menu();
+generate_html_div_help();
+?>
+ <div id="contenu">
+ <h1>Page modèle</h1>
+ <h2>Modele de formulaire</h2>
+ <?php echo '<form id="auth" method="post" action="' . $_SERVER['PHP_SELF'] . '">' . "\n"; ?>
+ <div class="aligned">
+ <div>
+ <span class="label">premier champ :</span>
+ <span class="field"><input name="champ1" type="text" size="20" tabindex="1" /></span>
+ </div>
+ <div>
+ <span class="label">deuxieme champ :</span>
+ <span class="field"><input name="champ2" type="text" size="20" tabindex="2" /></span>
+ </div>
+ <div>
+ <span class="label"><input type="reset" value="Vider" /></span>
+ <span class="field"><input type="submit" value="Valider" /></span>
+ </div>
+ </div>
+ <div>
+ <input type="hidden" name="envoi" value="1" />
+<?php if ( isset ($debug) ) { echo ' <input type="hidden" name="debug" value="true" />' . "\n"; } ?>
+ </div>
+ </form>
+ <h2>Appel de la fonction qui génère le tableau personne / créneaux</h2>
+<?php
+require_once('include/ludo/fonctions.inc.php');
+generate_html_array_personnes_crenaux(false);
+?>
+ <h2>Quelques éléments à mettre dans toutes les pages ou au moins certaines</h2>
+<?php
+ generate_html_div_deconnect();
+ generate_html_div_css_chooser();
+?>
+ <h2>Etat des tableaux globaux</h2>
+ <pre>
+<?php
+ echo "\n\$_GLOBAL == " ; print_r($_GLOBAL);
+ //echo "\n\$_SERVER == " ; print_r($_SERVER);
+ echo "\n\$_GET == " ; print_r($_GET);
+ echo "\n\$_POST == " ; print_r($_POST);
+ echo "\n\$_COOKIE == " ; print_r($_COOKIE);
+ echo "\n\$_SESSION == " ; print_r($_SESSION);
+?>
+ </pre>
+ </div>
+</body>
+</html>
+