diff options
Diffstat (limited to 'beta_old1/app/modele_page.php')
-rw-r--r-- | beta_old1/app/modele_page.php | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/beta_old1/app/modele_page.php b/beta_old1/app/modele_page.php new file mode 100644 index 0000000..e7d555a --- /dev/null +++ b/beta_old1/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> + |