summaryrefslogtreecommitdiff
path: root/appli_3_alpha_old/modele_page.php
blob: e7d555a1e3611ccff49ad0f55e49201999be9ebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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>