1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,135 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+function LancerAffichageDuCorps(){ |
|
4 |
+ echo "<table align='center' border='0'><tr><td colspan='2' class='utilisateurs'><p class='titre'>Mes Preferences d'IHM - Interface Homme Machine</p>"; |
|
5 |
+ echo "<p align='right'>Vous pouvez choisir, comment doit être affiché les différents éléments du site Besançon25, ainsi que la police et la taille des caractères du texte.<br /> </p>"; |
|
6 |
+ echo "<form method='post' name='changementPreferences' action='controlleurs/traitementPreferences.php'>" |
|
7 |
+ ."</td></tr><tr><td rowspan='2' class='utilisateursInverse'>" |
|
8 |
+ //interface IHM |
|
9 |
+ ."<table border='0'><tr><td>" |
|
10 |
+ ."<input type='radio' name='interface' value='1' onClick='changerInterFace(\"01\")' "; |
|
11 |
+ CheckPreferencesInterfaces(1); |
|
12 |
+ echo ">»<img src='images/picto-preferences/01.png' width='60px' heigth='60px' alt='Premi�re interface'/></input>" |
|
13 |
+ ."</td><td>" |
|
14 |
+ ."<input type='radio' name='interface' value='2' onClick='changerInterFace(\"02\")' "; |
|
15 |
+ CheckPreferencesInterfaces(2); |
|
16 |
+ echo ">»<img src='images/picto-preferences/02.png' width='60px' heigth='60px' alt='Deuxi�me interface'/></input>" |
|
17 |
+ ."</td><td>" |
|
18 |
+ ."<input type='radio' name='interface' value='3' onClick='changerInterFace(\"03\")' "; |
|
19 |
+ CheckPreferencesInterfaces(3); |
|
20 |
+ echo ">»<img src='images/picto-preferences/03.png' width='60px' heigth='60px' alt='Troisi�me interface'/></input>" |
|
21 |
+ ."</td></tr><tr><td>" |
|
22 |
+ ."<input type='radio' name='interface' value='4' onClick='changerInterFace(\"04\")' "; |
|
23 |
+ CheckPreferencesInterfaces(4); |
|
24 |
+ echo ">»<img src='images/picto-preferences/04.png' width='60px' heigth='60px' alt='Quatri�me interface'/></input>" |
|
25 |
+ ."</td><td>" |
|
26 |
+ ."<input type='radio' name='interface' value='5' onClick='changerInterFace(\"05\")' "; |
|
27 |
+ CheckPreferencesInterfaces(5); |
|
28 |
+ echo ">»<img src='images/picto-preferences/04v.png' width='60px' heigth='60px' alt='Cinqui�me interface'/></input>" |
|
29 |
+ ."</td><td>" |
|
30 |
+ ."<input type='radio' name='interface' value='6' onClick='changerInterFace(\"06\")' "; |
|
31 |
+ CheckPreferencesInterfaces(6); |
|
32 |
+ echo ">»<img src='images/picto-preferences/08.png' width='60px' heigth='60px' alt='Sixi�me interface'/></input>" |
|
33 |
+ ."</td></tr><tr><td>" |
|
34 |
+ ."<input type='radio' name='interface' value='7' onClick='changerInterFace(\"07\")' "; |
|
35 |
+ CheckPreferencesInterfaces(7); |
|
36 |
+ echo ">»<img src='images/picto-preferences/05.png' width='60px' heigth='60px' alt='Septi�me interface'/></input>" |
|
37 |
+ ."</td><td>" |
|
38 |
+ ."<input type='radio' name='interface' value='8' onClick='changerInterFace(\"08\")' "; |
|
39 |
+ CheckPreferencesInterfaces(8); |
|
40 |
+ echo ">»<img src='images/picto-preferences/06.png' width='60px' heigth='60px' alt='Huiti�me interface'/></input>" |
|
41 |
+ ."</td><td>" |
|
42 |
+ ."<input type='radio' name='interface' value='9' onClick='changerInterFace(\"09\")' "; |
|
43 |
+ CheckPreferencesInterfaces(9); |
|
44 |
+ echo ">»<img src='images/picto-preferences/07.png' width='60px' heigth='60px' alt='Neuvi�me interface'/></input>" |
|
45 |
+ ."</td></tr><tr><td>" |
|
46 |
+ ."<input type='radio' name='interface' value='10' onClick='changerInterFace(\"10\")' "; |
|
47 |
+ CheckPreferencesInterfaces(10); |
|
48 |
+ echo ">»<img src='images/picto-preferences/09.png' width='60px' heigth='60px' alt='Dixi�me interface'/></input>" |
|
49 |
+ ."</td><td>" |
|
50 |
+ ."<input type='radio' name='interface' value='11' onClick='changerInterFace(\"11\")' "; |
|
51 |
+ CheckPreferencesInterfaces(11); |
|
52 |
+ echo ">»<img src='images/picto-preferences/10.png' width='60px' heigth='60px' alt='Onzi�me interface'/></input>" |
|
53 |
+ ."</td><td>" |
|
54 |
+ ."<input type='radio' name='interface' value='12' onClick='changerInterFace(\"12\")' "; |
|
55 |
+ CheckPreferencesInterfaces(12); |
|
56 |
+ echo ">»<img src='images/picto-preferences/11.png' width='60px' heigth='60px' alt='Douzi�me interface'/></input>" |
|
57 |
+ ."</td></tr>" |
|
58 |
+ ."</table>" |
|
59 |
+ ."</td><td class='utilisateurs'>" |
|
60 |
+ //Polices GLYPHS |
|
61 |
+ ."<table border='1'><tr><td align='left'>" |
|
62 |
+ ."<input type='radio' name='polices' value='1' onClick='changerTypographie(\"01\")' "; |
|
63 |
+ CheckPreferencesPolices(1); |
|
64 |
+ echo "><font face='arial'>Arial</font></input>" |
|
65 |
+ ."</td><td align='left'>" |
|
66 |
+ ."<input type='radio' name='polices' value='2' onClick='changerTypographie(\"02\")' "; |
|
67 |
+ CheckPreferencesPolices(2); |
|
68 |
+ echo "><font face='Comic Sans MS'>Comic Sans MS</font></input>" |
|
69 |
+ ."</td><td align='left'>" |
|
70 |
+ ."<input type='radio' name='polices' value='3' onClick='changerTypographie(\"03\")' "; |
|
71 |
+ CheckPreferencesPolices(3); |
|
72 |
+ "><font face='Verdana'>Verdana</font></input>" |
|
73 |
+ ."</td></tr><tr><td align='left'>" |
|
74 |
+ ."<input type='radio' name='polices' value='4' onClick='changerTypographie(\"04\")' "; |
|
75 |
+ CheckPreferencesPolices(4); |
|
76 |
+ echo "><font face='Helvetica'>Helvetica</font></input>" |
|
77 |
+ ."</td><td align='left'>" |
|
78 |
+ ."<input type='radio' name='polices' value='5' onClick='changerTypographie(\"05\")' "; |
|
79 |
+ CheckPreferencesPolices(5); |
|
80 |
+ echo "><font face='Monospace'>Monospace</font></input>" |
|
81 |
+ ."</td><td align='left'>" |
|
82 |
+ ."<input type='radio' name='polices' value='6' onClick='changerTypographie(\"06\")' "; |
|
83 |
+ CheckPreferencesPolices(6); |
|
84 |
+ echo "><font face='Garamond'>Garamond</font></input>" |
|
85 |
+ ."</td></tr><tr><td align='left'>" |
|
86 |
+ ."<input type='radio' name='polices' value='7' onClick='changerTypographie(\"07\")' "; |
|
87 |
+ CheckPreferencesPolices(7); |
|
88 |
+ echo "><font face='symbol'>Symbol</font></input>" |
|
89 |
+ ."</td><td align='left'>" |
|
90 |
+ ."<input type='radio' name='polices' value='8' onClick='changerTypographie(\"08\")' "; |
|
91 |
+ CheckPreferencesPolices(8); |
|
92 |
+ echo"><font face='Times New Roman'>Times new roman</font></input>" |
|
93 |
+ ."</td><td align='left'>" |
|
94 |
+ ."<input type='radio' name='polices' value='9' onClick='changerTypographie(\"09\")' "; |
|
95 |
+ CheckPreferencesPolices(9); |
|
96 |
+ echo "><font face='Courier New'>Courier New</font></input>" |
|
97 |
+ ."</td></tr><tr><td align='left'>" |
|
98 |
+ ."<input type='radio' name='polices' value='10' onClick='changerTypographie(\"10\")' "; |
|
99 |
+ CheckPreferencesPolices(10); |
|
100 |
+ echo "><font face='Impact'>Impact</font></input>" |
|
101 |
+ ."</td><td align='left'>" |
|
102 |
+ ."<input type='radio' name='polices' value='11' onClick='changerTypographie(\"11\")' "; |
|
103 |
+ CheckPreferencesPolices(11); |
|
104 |
+ echo "><font face='Webdings'>Webdings</font></input>" |
|
105 |
+ ."</td></tr>" |
|
106 |
+ ."</table>" |
|
107 |
+ ."</td></tr><tr><td>" |
|
108 |
+ ."<table border='0'><tr><td class='utilisateurs'>" |
|
109 |
+ ."<input type='radio' name='tailleLecture' value='1' onClick='changerTailleTexte(1)'"; |
|
110 |
+ CheckPreferencesCaracteres(1); |
|
111 |
+ echo ">»<img src='images/picto-preferences/text08.gif' width='30px' heigth='30px' alt='Tr�s Petite taille'/></input>" |
|
112 |
+ ."</td><td class='utilisateurs'>" |
|
113 |
+ ."<input type='radio' name='tailleLecture' value='2' onClick='changerTailleTexte(2)'"; |
|
114 |
+ CheckPreferencesCaracteres(2); |
|
115 |
+ echo ">»<img src='images/picto-preferences/text10.gif' width='30px' heigth='30px' alt='Petite taille'/></input>" |
|
116 |
+ ."</td><td class='utilisateurs'>" |
|
117 |
+ ."<input type='radio' name='tailleLecture' value='3' onClick='changerTailleTexte(3)'"; |
|
118 |
+ CheckPreferencesCaracteres(3); |
|
119 |
+ echo ">»<img src='images/picto-preferences/text12.gif' width='30px' heigth='30px' alt='taille Standard'/></input>" |
|
120 |
+ ."</td><td class='utilisateurs'>" |
|
121 |
+ ."<input type='radio' name='tailleLecture' value='4' onClick='javascript:changerTailleTexte(4)'"; |
|
122 |
+ CheckPreferencesCaracteres(4); |
|
123 |
+ echo ">»<img src='images/picto-preferences/text14.gif' width='30px' heigth='30px' alt='Grande taille'/></input>" |
|
124 |
+ ."</td><td class='utilisateurs'>" |
|
125 |
+ ."<input type='radio' name='tailleLecture' value='5' onClick='javascript:changerTailleTexte(5)'"; |
|
126 |
+ CheckPreferencesCaracteres(5); |
|
127 |
+ echo ">»<img src='images/picto-preferences/text16.gif' width='30px' heigth='30px' alt='Tr�s Grande taille'/></input>" |
|
128 |
+ ."</td><td> </td></tr>" |
|
129 |
+ ."</table>" |
|
130 |
+ ."</td></tr><tr><td colspan='2' align='right'>" |
|
131 |
+ ."<input type='submit' class='btn_modif_preferences' witdh='500px' value=\"Choisir et enregister l'interface ? pour la retrouver plus tard ...\"/>" |
|
132 |
+ ."</td></table>" |
|
133 |
+ ."</form>"; |
|
134 |
+ return(0); |
|
135 |
+} |