diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 10:06:47 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 10:40:27 +0200 |
commit | 679551b7b545a72d376d9e60a8f3da66e44a6855 (patch) | |
tree | 92a6efbe3910650dd210f6f0e1edbd28502ea255 /appli_3_alpha_old/modele_page.php | |
parent | 71b503f07007346eda3d1da71d4a64f31f13d846 (diff) | |
download | 2007-AWOR-679551b7b545a72d376d9e60a8f3da66e44a6855.tar.gz 2007-AWOR-679551b7b545a72d376d9e60a8f3da66e44a6855.tar.bz2 2007-AWOR-679551b7b545a72d376d9e60a8f3da66e44a6855.zip |
Version alpha_old2 2007-02-04+10:57:50 - 2007-02-21+19:05:18
Diffstat (limited to 'appli_3_alpha_old/modele_page.php')
-rw-r--r-- | appli_3_alpha_old/modele_page.php | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/appli_3_alpha_old/modele_page.php b/appli_3_alpha_old/modele_page.php new file mode 100644 index 0000000..e7d555a --- /dev/null +++ b/appli_3_alpha_old/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> + |