Je travail toujours dessus mais je n'avance pas, personne aurait une idée?
Je travail toujours dessus mais je n'avance pas, personne aurait une idée?
euh je comprend pas trop,
apres avoir fais ton include, tu redirige vers la page que tu viens d'inclure ?
Oui c'est ça...
Ce qui me parait quand meme bizarre, c'est qu'en intégrant directement cette redirection dans la page, ça fonctionne. Donc, je pense que cela ne vient pas de la requete sinon, ça ne fonctionnerai pas du tout.
Avec cette redirection, ca récupere bien les paramètres :
Avec celle-ci, ça m'affiche la page sans les infos de la BDD
Code : Sélectionner tout - Visualiser dans une fenêtre à part header("Location:membres.php3?id=$id");
Alors où le problème vient de la page avec ce lien ou de la redirection :
Code : Sélectionner tout - Visualiser dans une fenêtre à part header("Location:index.php?page=membres&id=$id");
Liens :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 Code: <?php if (!isset($_GET["page"])) {include('pages/menu/accueil.php');} else {$page = $_GET["page"];} if (file_exists($page)) {include "$page";} elseif ($page=='membres') { $id = $GET["id;"]; include('pages/esp_mbres/membres.php3');}
Salut
De mon côté, j'aurais tendance à penser que tu as peut-être un léger souci de structure de ton site. J'ai du mal à cerner l'utilité d'avoir à la fois accueil.php?page=membres et membres.php3...
De plus, comme le dit siddh, c'est assez inhabituel de rediriger une page et de l'inclure tout à la fois. La majeure partie du temps, nous écrivons nos scripts soit pour une solution soit pour l'autre, pas les deux ensemble. Ou alors il y a un détail de sémantique que je n'ai pas saisi ^_^
Mes articles - Zend Certified Engineer (PHP + Zend Framework)
Ressources PHP - Ressources Zend Framework - Cours et tutoriels pour apprendre PHP - Forum PHP
ton file_exist sert pas a grand chose, a moins que tu passes un chemi complet ...
Je te propose une solution (qui ne sera peut être pas la meilleure mais qui marchera)
essayes de mettre des pages.php partout ou des php3 partout mais pas les deux
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 <?php // les pages $mespages = array( "accueil" => "pages/menu/accueil.php", "membres" => "pages/esp_mbres/membres.php3" ); $page = "accueil"; //On initialise if (isset($_GET["page"]) && in_array($_GET["page"],$mespages)) $page = $_GET["page"]; switch($page){ case "membres": $id = $_GET["id"]; break; case "autre page": // tu initialise tes variables // dont tu as besoin avant d'inclure break; // ..... } include($mespages[$page]); ?>
Donc j'ai fais ce que tu m'as dit, j'ai tout mis en php3 puis modifié la page centre comme tu m'as montré. Il récupere bien la page accueil du site mais lorsque je clique sur les liens, ceux-ci se modifies bien dans la barre d'adresse, mais par contre la page d'accueil reste affichée. Pour résumer, cela affiche toujours la page.
montre tes liens
(t as continuer a remplir le tableau $mespages ?)
Oui j'ai bien rempli le tableau...
J'ai fais un test avec l'ancienne page centrale, il m'affiche toujours la page accueil + en dessous la page demandée.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 <?php // les pages $mespages = array( "accueil" => "pages/menu/accueil.php3", "automatisation" => "pages/menu/automatisation.php3", "equipe" => "pages/menu/equipe.php3", "plmpi" => "pages/menu/plmpi.php3", "membres" => "pages/esp_mbres/membres.php3" , "modifications" => "pages/esp_mbres/modifications.php3" ); $page = "accueil"; //On initialise if (isset($_GET["page"]) && in_array($_GET["page"],$mespages)) $page = $_GET["page"]; switch($page){ case "membres": $id = $_GET["id"]; break; case "modifications": $id = $_GET["id"]; // tu initialise tes variables // dont tu as besoin avant d'inclure break; // ..... } include($mespages[$page]); ?>
Lorsque j'essai de me loguer, j'ai une erreur fatale.
Erreur ligne 2 de la page membres. Il n'arrive pas à acceder au fichier conf.php3 alors que je n'ai rien modifié...![]()
Ok...
Etc..., etc...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 index.php3?page=automatisation index.php3?page=equipe
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 var_dump($_GET["page"]); $page = "accueil"; //On initialise if (isset($_GET["page"]) && in_array($_GET["page"],$mespages)) $page = $_GET["page"]; var_dump($page);
euh ton serveur c est quelle version de php dessus ?
ca serais bien que tu enlève les php3 pour les faire en .php
PHP Version 4.4.2
MySQL Version 4.0.25
Apache Version 1.3.33 (Unix)
Je trouve cela assez étonnant que l'extension PHP3 puisse poser problème mais je vais mettre toute mes pages en .php, comme ça nous pourrons voir.![]()
ben visiblement il recupère pas les données avec $_GET donc ca va pas, ton register_globals et a on ou off ?
Il est à OFF
J'ai changé toutes les extensions en .php comme prévu.
Avec cela en page centre, ça fonctionne :
Avec cela, ça ne fonctionne pas :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 if (!isset($_GET["page"])) {include('pages/menu/accueil.php');} else {$page = $_GET["page"];} if (file_exists($page)) {include "$page";} elseif ($page=='membres') { $id = $GET["id"]; include('pages/esp_mbres/membres.php');}
En fait, tout refonctionne comme avant, le profif s'enregistre, la page de logue s'affiche mais sans les données de la BDD
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 var_dump($_GET["page"]); $page = "accueil"; //On initialise if (isset($_GET["page"]) && in_array($_GET["page"],$mespages)) $page = $_GET["page"]; var_dump($page);
J'ai laissé le var_dump($id); dans la page membre et cela m'affiche toujours NULL![]()
bon met moi toutes tes pages en entiers car on va pas s'en sortir avec des bouts de codes
met aussi leurs noms
Ok...
La page centre.php :
La page haut.php avec les liens des menus :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 <table width="800" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td> <?php if (!isset($_GET["page"])) {include('pages/menu/accueil.php');} else {$page = $_GET["page"];} if (file_exists($page)) {include "$page";} /*Menu*/ elseif ($page=='olympe') {include('pages/menu/olympe.php');} elseif ($page=='equipe') {include('pages/menu/equipe.php');} elseif ($page=='recrutement') {include('pages/menu/recrutement.php');} elseif ($page=='automatisation') {include('pages/menu/automatisation.php');} elseif ($page=='plmpi') {include('pages/menu/plmpi.php');} elseif ($page=='audit_conseil') {include('pages/menu/audit_conseil.php');} /*Espace membre*/ elseif ($page=='esp_mbre') {include('pages/esp_mbres/esp_mbre.php');} elseif ($page=='inscription') {include('pages/esp_mbres/inscription.php');} elseif ($page=='adduser') {include('pages/esp_mbres/adduser.php');} elseif ($page=='membres') { $id = $GET["id"]; include('pages/esp_mbres/membres.php');} elseif ($page=='modifications') { $id = $GET["id"]; include('pages/esp_mbres/modifications.php');} elseif ($page=='auth') {include('pages/esp_mbres/auth.php');} elseif ($page=='incomplet') {include('pages/esp_mbres/incomplet.php');} elseif ($page=='cree_succes') {include('pages/esp_mbres/cree_succes.php');} elseif ($page=='email_succes') {include('pages/esp_mbres/email_succes.php');} elseif ($page=='confirmsuppr') {include('pages/esp_mbres/confirmsuppr.php');} elseif ($page=='erreur') {include('pages/esp_mbres/erreur.php');} elseif ($page=='loginexist') {include('pages/esp_mbres/loginexist.php');} elseif ($page=='mdp_perdu') {include('pages/esp_mbres/mdp_perdu.php3');} elseif ($page=='modif_succes') {include('pages/esp_mbres/modif_succes.php');} elseif ($page=='suppr') {include('pages/esp_mbres/suppr.php');} else { include "erreur404.php"; } ?> </td> </tr> </table>
La page index.php
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 index.php?page=equipe index.php?page=plmpi index.php?page=automatisation
La page inscription.php qui se trouve dans pages/esp_mbres
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <?php include("metas.php"); ?> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="center"><?php include("haut.php"); ?></div></td> </tr> <tr> </tr> <tr> <td><div align="center"><?php include("centre.php"); ?></div></td> </tr> <tr> <td><div align="center"><?php include("copy.php"); ?></div></td> </tr> </table> <tr><td colspan="3" height="104"><?php include("fin.php"); ?>
La page auth.php qui se trouve dans pages/esp_mbres
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357<? include("protect/conf.php") ?> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="588" bgcolor="#F8F8F8"> <table width="99%" height="588" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="539" valign="top" bgcolor="#F8F8F8"><p> </p> <form method="POST" action="./pages/esp_mbres/adduser.php" enctype="multipart/form-data"> <input type="hidden" name="action" value="add"> <table width="95%" height="548" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="100%" height="548"> <table width="95%" height="663" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="663"><div align="center"> <table width="500" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td width="532" height="661"><table width="500" border="0" align="center" cellpadding="0" cellspacing="0"> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif">Identification :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td width="6" height="22" bgcolor="#EEEEEE"> </td> <td width="268" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Pseudo* :</font></td> <td width="226" height="30" bgcolor="#EEEEEE"><input type="text" name="pseudo_membre"></td> </tr> <tr bgcolor="#EEEEEE"> <td height="22"> </td> <td height="22"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Mot de passe* :</font></td> <td height="30"><input type="password" name="passe_membre" id="passe_membre" maxlength="10"></td> </tr> <tr bgcolor="#EEEEEE"> <td height="22"> </td> <td height="22"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Repetez le mot de passe* :</font></td> <td height="30"><input type="password" name="passe_membre2" id="passe_membre2" maxlength="10"></td> </tr> <tr bgcolor="#EEEEEE"> <td height="22"> </td> <td height="22"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> E-mail* :</font></td> <td height="30"><input type="text" name="email_membre"></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5" colspan="3"> </td> </tr> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif"> Etat Civil :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5" colspan="3"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="30" rowspan="3"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="7"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Nom* :</font></td> <td height="30"><input type="text" name="nom_civilite" /></td> </tr> <tr bgcolor="#EEEEEE"> <td height="8"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Prénom* :</font></td> <td height="30"><input type="text" name="prenom_civilite" /></td> </tr> <tr bgcolor="#EEEEEE"> <td height="30" rowspan="3"> </td> <td height="15"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Date de naissance* :</font></td> <td height="30"><select name="dn_jour_civilite" class="styleselect" style="width:50px" tabindex="11"> <option value="" selected >jj</option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="dn_mois_civilite" class="styleselect" style="width:50px" tabindex="12"> <option value="" selected>mm</option> <option value="01">01</option><option value="02">02</option><option value="03">03</option><option value="04">04</option><option value="05">05</option> <option value="06">06</option><option value="07">07</option><option value="08">08</option><option value="09">09</option><option value="10">10</option> <option value="11">11</option><option value="12">12</option> </select> <select name="dn_annee_civilite" class="styleselect" style="width:55px" tabindex="13"> <option value="" selected>aaaa</option> <option value="1987">1987</option><option value="1986">1986</option><option value="1985">1985</option><option value="1984">1984</option><option value="1983">1983</option> <option value="1982">1982</option><option value="1981">1981</option><option value="1980">1980</option><option value="1979">1979</option><option value="1978">1978</option> <option value="1977">1977</option><option value="1976">1976</option><option value="1975">1975</option><option value="1974">1974</option><option value="1973">1973</option> <option value="1972">1972</option><option value="1971">1971</option><option value="1970">1970</option><option value="1969">1969</option><option value="1968">1968</option> <option value="1967">1967</option><option value="1966">1966</option><option value="1965">1965</option><option value="1964">1964</option><option value="1963">1963</option> <option value="1962">1962</option><option value="1961">1961</option><option value="1960">1960</option><option value="1959">1959</option><option value="1958">1958</option> <option value="1957">1957</option><option value="1956">1956</option><option value="1955">1955</option><option value="1954">1954</option><option value="1953">1953</option> <option value="1952">1952</option><option value="1951">1951</option><option value="1950">1950</option><option value="1949">1949</option><option value="1948">1948</option> <option value="1947">1947</option><option value="1946">1946</option><option value="1945">1945</option><option value="1944">1944</option><option value="1943">1943</option> <option value="1942">1942</option><option value="1941">1941</option><option value="1940">1940</option><option value="1939">1939</option><option value="1938">1938</option> <option value="1937">1937</option><option value="1936">1936</option><option value="1935">1935</option><option value="1934">1934</option><option value="1933">1933</option> <option value="1932">1932</option><option value="1931">1931</option><option value="1930">1930</option><option value="1929">1929</option><option value="1928">1928</option> <option value="1927">1927</option><option value="1926">1926</option><option value="1925">1925</option><option value="1924">1924</option><option value="1923">1923</option> <option value="1922">1922</option><option value="1921">1921</option><option value="1920">1920</option><option value="1919">1919</option><option value="1918">1918</option> <option value="1917">1917</option><option value="1916">1916</option><option value="1915">1915</option><option value="1914">1914</option><option value="1913">1913</option> <option value="1912">1912</option><option value="1911">1911</option><option value="1910">1910</option><option value="1909">1909</option><option value="1908">1908</option> <option value="1907">1907</option><option value="1906">1906</option><option value="1905">1905</option> </select></td> </tr> <tr bgcolor="#EEEEEE"> <td height="7"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Adresse :</font></td> <td height="30"><input type="text" name="adresse_civilite" id="adresse_civilite" /></td> </tr> <tr bgcolor="#EEEEEE"> <td height="8"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Code postal :</font></td> <td height="30"><input name="cp_civilite" type="text" id="cp_civilite" size="5" maxlength="5" /></td> </tr> <tr bgcolor="#EEEEEE"> <td height="30" rowspan="2"> </td> <td height="15"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Ville :</font></td> <td height="30"><input type="text" name="ville_civilite" id="ville_civilite"></td> </tr> <tr bgcolor="#EEEEEE"> <td height="15"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Région :</font></td> <td height="30"><select name="regionc_civilite" id="regionc_civilite"> <option value="">---------------</option> <option value="Ile de france" selected>Ile de france</option> <option value="Alsace">Alsace</option> <option value="Aquitaine">Aquitaine</option> <option value="Auvergne">Auvergne</option> <option value="Bourgogne">Bourgogne</option> <option value="Bretagne">Bretagne</option> <option value="Centre">Centre</option> <option value="Champagne-Ardennes">Champagne-Ardennes</option> <option value="Corse">Corse</option> <option value="Franche-Comté">Franche-Comté</option> <option value="Languedoc-Rousillon">Languedoc-Rousillon</option> <option value="Limousin">Limousin</option> <option value="Lorraine">Lorraine</option> <option value="Midi-Pyrénées">Midi-Pyrénées</option> <option value="Nord-Pas-de-Calais">Nord-Pas-de-Calais</option> <option value="Normandie (Basse-)">Normandie (Basse-)</option> <option value="Normandie (Haute-)">Normandie (Haute-)</option> <option value="Pays de la Loire">Pays de la Loire</option> <option value="Picardie">Picardie</option> <option value="Poitou-Charentes">Poitou-Charentes</option> <option value="Provence-Alpes-Côte d'Azur">Provence-Alpes-Côte d'Azur</option> <option value="Rhônes-Alpes">Rhônes-Alpes</option> </select></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2"> </td> <td height="2"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Permis B :</font></td> <td height="30"><input type="radio" name="permis_civilite" value="oui" checked="checked"/> Oui <input type="radio" name="permis_civilite" value="non" checked="checked"/> Non</td> </tr> <tr bgcolor="#EEEEEE"> <td height="3"> </td> <td height="3"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Véhicule personnel :</font></td> <td height="30"><input type="radio" name="vehicule_civilite" value="oui" checked="checked"/> Oui <input type="radio" name="vehicule_civilite" value="non" checked="checked" /> Non</td> </tr> <tr bgcolor="#EEEEEE"> <td height="2"> </td> <td height="2"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Téléphone :</font></td> <td height="30"><input type="text" size="10" name="tel_civilite" maxlength="10"/></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5" colspan="3"> </td> </tr> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: Votre </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif"> Recherche :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="3" rowspan="2" bgcolor="#EEEEEE"> </td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Intitulé du poste : </font></td> <td height="30" bgcolor="#EEEEEE"><input type="text" name="int_poste_recherche" /></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Type de contrat :</font></td> <td height="30" bgcolor="#EEEEEE"> <select name="typ_contrat_recherche" id="typ_contrat_recherche"> <option value="">------------------</option> <option value="CDI">CDI</option> <option value="CDD">CDD</option> <option value="stage">Stage</option> <option value="Indifférent">Indifférent</option> </select></td></tr> <tr bgcolor="#EEEEEE"> <td height="5" bgcolor="#EEEEEE"> </td> <td height="5" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Région :</font></td> <td height="30" bgcolor="#EEEEEE"><select name="regionr_recherche" id="regionr_recherche"> <option value="">---------------</option> <option value="Toute la France">Toute la France</option> <option value="Ile de france">Ile de france</option> <option value="Alsace">Alsace</option> <option value="Aquitaine">Aquitaine</option> <option value="Auvergne">Auvergne</option> <option value="Bourgogne">Bourgogne</option> <option value="Bretagne">Bretagne</option> <option value="Centre">Centre</option> <option value="Champagne-Ardennes">Champagne-Ardennes</option> <option value="Corse">Corse</option> <option value="Franche-Comté">Franche-Comté</option> <option value="Languedoc-Rousillon">Languedoc-Rousillon</option> <option value="Limousin">Limousin</option> <option value="Lorraine">Lorraine</option> <option value="Midi-Pyrénées">Midi-Pyrénées</option> <option value="Nord-Pas-de-Calais">Nord-Pas-de-Calais</option> <option value="Normandie (Basse-)">Normandie (Basse-)</option> <option value="Normandie (Haute-)">Normandie (Haute-)</option> <option value="Pays de la Loire">Pays de la Loire</option> <option value="Picardie">Picardie</option> <option value="Poitou-Charentes">Poitou-Charentes</option> <option value="Provence-Alpes-Côte d'Azur">Provence-Alpes-Côte d'Azur</option> <option value="Rhônes-Alpes">Rhônes-Alpes</option> </select></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="1" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Mobilité géographique :</font></td> <td height="1" bgcolor="#EEEEEE"><input type="radio" name="mobilite_recherche" value="oui" checked="checked" /> Oui <input type="radio" name="mobilite_recherche" value="non" checked="checked" /> Non</td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="1" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Diponibilité :</font></td> <td height="30" bgcolor="#EEEEEE"><select name="disp_recherche" id="disp_recherche"> <option value="">------------------</option> <option value="immediate">Immediate</option> <option value="-1 mois">-1 mois</option> <option value="+1 mois">+1 mois</option> </select></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="1" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Votre expérience :</font></td> <td height="30" bgcolor="#EEEEEE"><select name="exp_recherche" id="exp_recherche"> <option value="">------------------</option> <option value="-1 an">Moins de 1 an</option> <option value="1 à 2 ans">1 à 2 ans</option> <option value="2 à 5 ans">2 à 5 ans</option> <option value="5 à 7 ans">5 à 7 ans</option> <option value="7 à 10 ans">7 à 10 ans</option> <option value="Plus de 10 ans">Plus de 10 ans</option> </select></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif"> Déposer votre CV :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="92" bgcolor="#EEEEEE"> </td> <td height="92" bgcolor="#EEEEEE"><p><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Vos Expériences :</font></p> <p><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">(faites un copier/coller de votre CV) </font></p></td> <td height="100" bgcolor="#EEEEEE"><textarea name="cv_recherche" cols="35" rows="7" id="cv_recherche" onkeyup="taille('ambition',0);"></textarea></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif"> Décrivez vos motivations :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="92" bgcolor="#EEEEEE"> </td> <td height="92" bgcolor="#EEEEEE"><p><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Vos motivations :</font></p> <p><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif">(décrivez en quelques lignes vos motivations pour rejoindre le groupe) </font></p></td> <td height="100" bgcolor="#EEEEEE"><textarea id="motiv_recherche" onkeyup="taille('ambition',0);" wrap="hard" name="motiv_recherche" rows="7" cols="35" onchange="taille('ambition',0);"></textarea></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" colspan="3"><div align="center"></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3"><div align="center"><font size="1">* Les champs marqués d'un astérix sont obligatoires!</font> </div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="9" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="9" colspan="3" bgcolor="#EEEEEE"><div align="center"> <input type="submit" name="Submit" value="inscription"> </div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="9" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="5" colspan="3" bgcolor="#EEEEEE"><div align="center"><b></b></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="10" colspan="3" bgcolor="#EEEEEE"><div align="center"><font size="-1"><a href="#top">Haut de Page</a></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="19" colspan="3" bgcolor="#EEEEEE"> </td> </tr> </table> </td> </tr> </table> </div></td> </tr> </table> <p> </p> </table> </form> </table> </table>
La page adduser.php qui se trouve dans pages/esp_mbres
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 <?php require("protect/conf.php"); ?> <?php $db_link=@mysql_connect($sql_serveur,$sql_user,$sql_passwd); if(!$db_link) {echo "Connexion impossible à la base de données <b>$sql_bdd</b> sur le serveur <b>$sql_server</b><br>Vérifiez les paramètres du fichier conf.php"; exit;} if ((!$pseudo_membre)|| (!$passe_membre)){ echo("<script language=\"javascript\">location=\"test.php\";</script>");} $passdte_membre=date("Y-m-d"); $passhrs_membre=date("H:i:s"); //$passe_membre=md5($passe_membre); //Verification du mot de passe $requete=mysql_db_query($sql_bdd,"SELECT * FROM membre WHERE pseudo='$pseudo_membre' and passe='$passe_membre'",$db_link) or die ("Requete impossible"); $num=mysql_num_rows($requete); if ($num==0) { echo("<script language=\"javascript\">location=\"../../index.php?page=erreur\";</script>"); } else { $taille = 20; $lettres = "abcdefghijklmnopqrstuvwxyz0123456789"; srand(time()); for ($i=0;$i<$taille;$i++) { $id.=substr($lettres,(rand()%(strlen($lettres))),1); } $requete=mysql_db_query($sql_bdd,"select max(id_membre) from membre",$db_link) or die(mysql_error()); $idmax=mysql_result($requete,0,"max(id_membre)"); $idnew=$idmax+1; $requete=mysql_db_query($sql_bdd,"UPDATE membre,civilite,recherche SET membre.id='$id',civilite.id='$id',recherche.id='$id',passe='$passe_membre',passdte='$passdte_membre',passhrs='$passhrs_membre' WHERE membre.pseudo='$pseudo_membre' AND civilite.id=membre.id AND recherche.id=membre.id",$db_link) or die(mysql_error()); mysql_select_db($sql_bdd, $db_link); header("Location:../../index.php?page=membres&id=$id"); } mysql_close($db_link); ?>
La page membre.php qui se trouve dans pages/esp_mbres
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
57
58 <? require("protect/conf.php"); switch($action) { case "add"; $db_link = @mysql_connect($sql_serveur,$sql_user,$sql_passwd); if(!$db_link) {echo "Connexion impossible à la base de données <b>$sql_bdd</b> sur le serveur <b>$sql_server</b><br>Vérifiez les paramètres du fichier conf.php"; exit;} if ((!$pseudo_membre)||(!$passe_membre)||(!$passe_membre2)||(!$email_membre)||(!$dn_jour_civilite)||(!$dn_mois_civilite)||(!$dn_annee_civilite)){ echo("<script language=\"javascript\">location=\"incomplet.php\";</script>"); $inscr=1;} if ($passe_membre!=$passe_membre2){ echo("<script language=\"javascript\">location=\"nopass2.php\";</script>"); $inscr=1;} $date_membre=date("Y-m-d"); $heure_membre=date("H:i:s"); $passdte_membre=date("Y-m-d"); $passhrs_membre=date("H:i:s"); //$passe_membre=md5($passe_membre); $requete=mysql_db_query($sql_bdd,"select * from membre where pseudo='$pseudo_membre'",$db_link) or die(mysql_error()); $num=mysql_num_rows($requete); if($num!=0){ header("Location:loginexist.php"); $inscr=1;} if ($inscr==0){ $taille = 20; $lettres = "abcdefghijklmnopqrstuvwxyz0123456789"; srand(time()); for ($i=0;$i<$taille;$i++) { $id.=substr($lettres,(rand()%(strlen($lettres))),1); } $requete=mysql_db_query($sql_bdd,"select max(id_membre) from membre",$db_link) or die(mysql_error()); $idmax=mysql_result($requete,0,"max(id_membre)"); $to ="$email_membre"; $sujet="Inscription sur le site test.com"; $message="Bonjour $pseudo_membre,\n\n"; $message.="Vous venez de vous inscrire sur le site http://www.test.com\n\nVeuillez ne pas perdre ce mail pour pourvoir vous identifier a nouveau\n\nVoici les informations que vous avez saisi:\n\nLogin : $pseudo_membre\nMot de passe : $passe_membre\nEmail : $email_membre\n\nNom : $nom_civilite\nPrenom : $prenom_civilite\nDate de naissance : $dn_jour_civilite $dn_mois_civilite $dn_annee_civilite \n Adresse : $adresse_civilite\n Code postal : $cp_civilite\n Ville : $ville_civilite\nRégion : $regionc_civilite\nPermis : $permis_civilite\nVehicule personnel : $vehicule_civilite\nTéléphone : $tel_civilite\n\nIntitulé du poste : $int_poste_recherche\nType de contrat : $typ_contrat_recherche\nRegion : $regionr_recherche\nMobilite : $mobilite_recherche\nDisponibilité : $disp_recherche\nExpérience : $exp_recherche\n\nVotre CV :\n $cv_recherche\nVos motivations :\n $motiv_recherche\n\n\nSalutations cordiales\nL'équipe de test\n"; $headers="From: test.com <toto@test.com>\n"; $headers.="Bcc: webmestre@test.com\n"; mail($to,$sujet,$message,$headers); $idnew=$idmax+1; $requete=mysql_db_query($sql_bdd,"insert into membre values ('',\"$id\",\"$pseudo_membre\",\"$passe_membre\",\"$email_membre\",\"$date_membre\",\"$heure_membre\",\"$passdte_membre\",\"$passhrs_membre\")",$db_link) or die(mysql_error()); $requete=mysql_db_query($sql_bdd,"insert into civilite values ('',\"$id\",\"$nom_civilite\",\"$prenom_civilite\",\"$dn_jour_civilite\",\"$dn_mois_civilite\",\"$dn_annee_civilite\",\"$adresse_civilite\",\"$cp_civilite\",\"$ville_civilite\",\"$regionc_civilite\",\"$permis_civilite\",\"$vehicule_civilite\",\"$tel_civilite\")",$db_link) or die(mysql_error()); $requete=mysql_db_query($sql_bdd,"insert into recherche values ('',\"$id\",\"$int_poste_recherche\",\"$typ_contrat_recherche\",\"$regionr_recherche\",\"$mobilite_recherche\",\"$disp_recherche\",\"$exp_recherche\",\"$cv_recherche\",\"$motiv_recherche\")",$db_link) or die(mysql_error()); header("Location:index.php?page=cree_succes"); mysql_close($db_link); }} ?>
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156 <? require("protect/conf.php"); $db_link = @mysql_connect($sql_serveur,$sql_user,$sql_passwd); if(!$db_link) {echo "Connexion impossible à la base de données <b>$sql_bdd</b> sur le serveur <b>$sql_server</b><br>Vérifiez les paramètres du fichier conf.php"; exit;} var_dump($id); //Recupere les paramètres $requete=mysql_db_query($sql_bdd,"select * from membre,civilite,recherche where membre.id='$id' and civilite.id='$id' and recherche.id='$id'",$db_link) or die(mysql_error()); $row = mysql_fetch_array($requete); //Identifiant $pseudo_membre = $row["pseudo"]; //$passe_membre = $row["passe"]; $email_membre = $row["email"]; //Civilité $nom_civilite = $row["nom"]; $prenom_civilite = $row["prenom"]; $dn_jour_civilite = $row["dn_jour"]; $dn_mois_civilite = $row["dn_mois"]; $dn_annee_civilite = $row["dn_annee"]; $adresse_civilite = $row["adresse"]; $cp_civilite = $row["cp"]; $ville_civilite = $row["ville"]; $regionc_civilite = $row["regionc"]; $permis_civilite = $row["permis"]; $vehicule_civilite = $row["vehicule"]; $tel_civilite = $row["tel"]; //Type de recherche $int_poste_recherche = $row["int_poste"]; $typ_contrat_recherche = $row["typ_contrat"]; $regionr_recherche = $row["regionr"]; $mobilite_recherche = $row["mobilite"]; $disp_recherche = $row["disp"]; $exp_recherche = $row["exp"]; //Candidature $cv_recherche = $row["cv"]; $motiv_recherche = $row["motiv"]; mysql_close($db_link); ?> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="632" bgcolor="#F8F8F8"><table width="99%" height="716" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="716" valign="top" bgcolor="#F8F8F8"><p> </p> <table width="95%" height="678" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="100%" height="678"><table width="95%" height="640" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="19"><div align="center"></div></td> </tr> <tr> <td height="19"><div align="center"><em><font color="#006666"><strong></strong></font></em></div></td> </tr> <tr> <td height="602"><div align="center"> <table width="500" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td height="593"><table width="500" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="10" colspan="2" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif">Identifiant :. </font></b></font></div></td> </tr> <tr> <td height="10" colspan="2"> </td> </tr> <tr bgcolor="#eaeaea"> <td height="20" colspan="2" bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="2%" rowspan="6"> </td> <td width="98%" height="20"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Pseudo : <? echo "$pseudo_membre"; ?> </font></td> </tr> <tr> <td height="20"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> E-mail : <? echo "$email_membre"; ?> </font></td> </tr> </table> </td> </tr> <tr bgcolor="#eaeaea"> <td height="19" colspan="2" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#626262"> <td height="20" colspan="2" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif">Etat civil:. </font></b></font></div></td> </tr> <tr bgcolor="#eaeaea"> <td height="13" colspan="2" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#eaeaea"> <td width="10" height="19" bgcolor="#EEEEEE"> </td> <td width="490" height="19" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Nom : <? echo "$nom_civilite"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="6"> </td> <td height="6"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Prénom : <? echo "$prenom_civilite"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="7" rowspan="3"> </td> <td height="1"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Date de naissance : <? echo "$dn_jour_civilite"; ?> / <? echo "$dn_mois_civilite"; ?> / <? echo "$dn_annee_civilite"; ?></font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Adresse : <? echo "$adresse_civilite"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="4"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Code postal : <? echo "$cp_civilite"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="13"> </td> <td height="13"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Ville : <? echo "$ville_civilite"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="13"> </td> <td height="13"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Région : <? echo "$regionc_civilite"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="13"> </td> <td height="13"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Permis B : <? echo "$permis_civilite"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="13"> </td> <td height="13"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Véhicule personnel : <? echo "$vehicule_civilite"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="13"> </td> <td height="13"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> Téléphone : <? echo "$tel_civilite"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="13" colspan="2"> </td> </tr> <tr bgcolor="#626262"> <td height="20" colspan="2" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif">Votre recherche :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="26" colspan="2"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="19"> </td> <td height="19" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Intitulé du poste : <? echo "$int_poste_recherche"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="19"> </td> <td height="19" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Type de contrat : <? echo "$typ_contrat_recherche"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="19"> </td> <td height="19" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Région : <? echo "$regionr_recherche"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="19"> </td> <td height="19"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Mobilité : <? echo "$mobilite_recherche"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1"> </td> <td height="1"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Disponibilité : <? echo "$disp_recherche"; ?> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2"> </td> <td height="2"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> Expérience : <? echo "$exp_recherche"; ?> </font></td>
La page modifications.php qui se trouve dans pages/esp_mbres
Et enfin la page modif_ok.php qui se trouve dans pages/esp_mbres
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291 <? require("protect/conf.php"); $db_link = @mysql_connect($sql_serveur,$sql_user,$sql_passwd); if(!$db_link) {echo "Connexion impossible à la base de données <b>$sql_bdd</b> sur le serveur <b>$sql_server</b><br>Vérifiez les paramètres du fichier conf.php"; exit;} $query = "select * from membre,civilite,recherche where membre.id='$id' and civilite.id='$id' and recherche.id='$id'"; $requete = mysql_db_query($sql_bdd, $query, $db_link) or die(mysql_error()); $row = mysql_fetch_array($requete); //Identifiant $pseudo_membre = $row["pseudo"]; //$passe_membre = $row["passe"]; $email_membre = $row["email"]; //Civilité $adresse_civilite = $row["adresse"]; $cp_civilite = $row["cp"]; $ville_civilite = $row["ville"]; $regionc_civilite = $row["regionc"]; $tel_civilite = $row["tel"]; //Type de recherche $int_poste_recherche = $row["int_poste"]; $typ_contrat_recherche = $row["typ_contrat"]; $regionr_recherche = $row["regionr"]; $disp_recherche = $row["disp"]; $exp_recherche = $row["exp"]; //Candidature $cv_recherche = $row["cv"]; $motiv_recherche = $row["motiv"]; mysql_close($db_link); ?> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="588" bgcolor="#F8F8F8"> <table width="99%" height="588" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="539" valign="top" bgcolor="#F8F8F8"><p> </p> <form action="modif_ok.php3" method="POST"> <input type="hidden" name="id" value="<?php echo $id; ?>"> <input type="hidden" name="action" value="modif"> <table width="95%" height="548" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="100%" height="548"> <table width="95%" height="663" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="663"><div align="center"> <table width="500" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td width="532" height="661"><table width="500" border="0" align="center" cellpadding="0" cellspacing="0"> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif">Identification :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td width="10" height="22" bgcolor="#EEEEEE"> </td> <td width="196" height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Pseudo : </font></td> <td width="294" height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"><?php echo $pseudo_membre; ?></font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="22"> </td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• E-mail : </font></td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="email_membre" size="30" maxlength="100" value="<?php echo $email_membre; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5" colspan="3"> </td> </tr> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif"> Civilité :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="3"> </td> <td height="3"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Adresse : </font></td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="adresse_civilite" size="30" maxlength="100" value="<?php echo $adresse_civilite; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5"> </td> <td height="5"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Code postal : </font></td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="cp_civilite" size="5" maxlength="5" value="<?php echo $cp_civilite; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="30"> </td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Ville : </font></td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="ville_civilite" size="30" maxlength="100" value="<?php echo $ville_civilite; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2"> </td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Région : </font></td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <select name="regionc_civilite" id="regionc_civilite"> <option value="<?php echo $regionc_civilite; ?>"><?php echo $regionc_civilite; ?></option> <option value="Ile de france">Ile de France</option> <option value="Alsace">Alsace</option> <option value="Aquitaine">Aquitaine</option> <option value="Auvergne">Auvergne</option> <option value="Bourgogne">Bourgogne</option> <option value="Bretagne">Bretagne</option> <option value="Centre">Centre</option> <option value="Champagne-Ardennes">Champagne-Ardennes</option> <option value="Corse">Corse</option> <option value="Franche-Comté">Franche-Comté</option> <option value="Languedoc-Rousillon">Languedoc-Rousillon</option> <option value="Limousin">Limousin</option> <option value="Lorraine">Lorraine</option> <option value="Midi-Pyrénées">Midi-Pyrénées</option> <option value="Nord-Pas-de-Calais">Nord-Pas-de-Calais</option> <option value="Normandie (Basse-)">Normandie (Basse-)</option> <option value="Normandie (Haute-)">Normandie (Haute-)</option> <option value="Pays de la Loire">Pays de la Loire</option> <option value="Picardie">Picardie</option> <option value="Poitou-Charentes">Poitou-Charentes</option> <option value="Provence-Alpes-Côte d'Azur">Provence-Alpes-Côte d'Azur</option> <option value="Rhônes-Alpes">Rhônes-Alpes</option> </select> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Téléphone : </font></td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="tel_civilite" size="10" maxlength="10" value="<?php echo $tel_civilite; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="3" colspan="3"> </td> </tr> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif"> Recherche :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Intitulé du poste : </font></td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="int_poste_recherche" size="30" maxlength="100" value="<?php echo $int_poste_recherche; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Type de contrat : </font></td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <select name="typ_contrat_recherche" id="typ_contrat_recherche"> <option value="<?php echo $typ_contrat_recherche; ?>"><?php echo $typ_contrat_recherche; ?></option> <option value="">------------------</option> <option value="CDI">CDI</option> <option value="CDD">CDD</option> <option value="stage">Stage</option> <option value="Indifférent">Indifférent</option> </select> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="0" bgcolor="#EEEEEE"> </td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Région : </font></td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <select name="regionr_recherche" id="regionr_recherche"> <option value="<?php echo $regionr_recherche; ?>"><?php echo $regionr_recherche; ?></option> <option value="Ile de france">Ile de France</option> <option value="Alsace">Alsace</option> <option value="Aquitaine">Aquitaine</option> <option value="Auvergne">Auvergne</option> <option value="Bourgogne">Bourgogne</option> <option value="Bretagne">Bretagne</option> <option value="Centre">Centre</option> <option value="Champagne-Ardennes">Champagne-Ardennes</option> <option value="Corse">Corse</option> <option value="Franche-Comté">Franche-Comté</option> <option value="Languedoc-Rousillon">Languedoc-Rousillon</option> <option value="Limousin">Limousin</option> <option value="Lorraine">Lorraine</option> <option value="Midi-Pyrénées">Midi-Pyrénées</option> <option value="Nord-Pas-de-Calais">Nord-Pas-de-Calais</option> <option value="Normandie (Basse-)">Normandie (Basse-)</option> <option value="Normandie (Haute-)">Normandie (Haute-)</option> <option value="Pays de la Loire">Pays de la Loire</option> <option value="Picardie">Picardie</option> <option value="Poitou-Charentes">Poitou-Charentes</option> <option value="Provence-Alpes-Côte d'Azur">Provence-Alpes-Côte d'Azur</option> <option value="Rhônes-Alpes">Rhônes-Alpes</option> </select> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="1" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Disponibilité :</font></td> <td height="30" bgcolor="#EEEEEE"><select name="disp_recherche" id="disp_recherche"> <option value="<?php echo $disp_recherche; ?>"><?php echo $disp_recherche; ?></option> <option value="immediate">Immediate</option> <option value="-1 mois">-1 mois</option> <option value="+1 mois">+1 mois</option> </select></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="1" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Votre expérience :</font></td> <td height="30" bgcolor="#EEEEEE"><select name="exp_recherche" id="exp_recherche"> <option value="<?php echo $exp_recherche; ?>"><?php echo $exp_recherche; ?></option> <option value="-1 an">Moins de 1 an</option> <option value="1 à 2 ans">1 à 2 ans</option> <option value="2 à 5 ans">2 à 5 ans</option> <option value="5 à 7 ans">5 à 7 ans</option> <option value="7 à 10 ans">7 à 10 ans</option> <option value="Plus de 10 ans">Plus de 10 ans</option> </select></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif"> Candature :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="3" colspan="3" bgcolor="#EEEEEE"><table width="500" border="0"> <tr> <td width="10" height="37"> </td> <td width="190"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• CV :</font></td> <td width="286"><textarea name="cv_recherche" cols="35" rows="7" id="cv_recherche" onkeyup="taille('ambition',0);" value="<?php echo $cv_recherche; ?>"><?php echo $cv_recherche; ?></textarea></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5" colspan="3" bgcolor="#EEEEEE"><table width="500" border="0"> <tr> <td width="10" height="37"> </td> <td width="190"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Motivations :</font></td> <td width="286"><textarea name="motiv_recherche" cols="35" rows="7" id="motiv_recherche" onkeyup="taille('ambition',0);" value="<?php echo $motiv_recherche; ?>"><?php echo $motiv_recherche; ?></textarea></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td height="9" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="9" colspan="3" bgcolor="#EEEEEE"><div align="center"> <input type="submit" name="Submit" value="Envoyer"> </div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="9" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="10" colspan="3" bgcolor="#EEEEEE"><div align="center"><b></b></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="19" colspan="3" bgcolor="#EEEEEE"> </td> </tr> </table> </td> </tr> </table> </div></td> </tr> </table> <p> </p> </table> </form> </table> </table>
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291 <? require("protect/conf.php"); $db_link = @mysql_connect($sql_serveur,$sql_user,$sql_passwd); if(!$db_link) {echo "Connexion impossible à la base de données <b>$sql_bdd</b> sur le serveur <b>$sql_server</b><br>Vérifiez les paramètres du fichier conf.php"; exit;} $query = "select * from membre,civilite,recherche where membre.id='$id' and civilite.id='$id' and recherche.id='$id'"; $requete = mysql_db_query($sql_bdd, $query, $db_link) or die(mysql_error()); $row = mysql_fetch_array($requete); //Identifiant $pseudo_membre = $row["pseudo"]; //$passe_membre = $row["passe"]; $email_membre = $row["email"]; //Civilité $adresse_civilite = $row["adresse"]; $cp_civilite = $row["cp"]; $ville_civilite = $row["ville"]; $regionc_civilite = $row["regionc"]; $tel_civilite = $row["tel"]; //Type de recherche $int_poste_recherche = $row["int_poste"]; $typ_contrat_recherche = $row["typ_contrat"]; $regionr_recherche = $row["regionr"]; $disp_recherche = $row["disp"]; $exp_recherche = $row["exp"]; //Candidature $cv_recherche = $row["cv"]; $motiv_recherche = $row["motiv"]; mysql_close($db_link); ?> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="588" bgcolor="#F8F8F8"> <table width="99%" height="588" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="539" valign="top" bgcolor="#F8F8F8"><p> </p> <form action="modif_ok.php3" method="POST"> <input type="hidden" name="id" value="<?php echo $id; ?>"> <input type="hidden" name="action" value="modif"> <table width="95%" height="548" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="100%" height="548"> <table width="95%" height="663" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="663"><div align="center"> <table width="500" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td width="532" height="661"><table width="500" border="0" align="center" cellpadding="0" cellspacing="0"> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif">Identification :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td width="10" height="22" bgcolor="#EEEEEE"> </td> <td width="196" height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Pseudo : </font></td> <td width="294" height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"><?php echo $pseudo_membre; ?></font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="22"> </td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• E-mail : </font></td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="email_membre" size="30" maxlength="100" value="<?php echo $email_membre; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5" colspan="3"> </td> </tr> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif"> Civilité :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="3"> </td> <td height="3"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Adresse : </font></td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="adresse_civilite" size="30" maxlength="100" value="<?php echo $adresse_civilite; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5"> </td> <td height="5"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Code postal : </font></td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="cp_civilite" size="5" maxlength="5" value="<?php echo $cp_civilite; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="30"> </td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Ville : </font></td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="ville_civilite" size="30" maxlength="100" value="<?php echo $ville_civilite; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2"> </td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Région : </font></td> <td height="30"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <select name="regionc_civilite" id="regionc_civilite"> <option value="<?php echo $regionc_civilite; ?>"><?php echo $regionc_civilite; ?></option> <option value="Ile de france">Ile de France</option> <option value="Alsace">Alsace</option> <option value="Aquitaine">Aquitaine</option> <option value="Auvergne">Auvergne</option> <option value="Bourgogne">Bourgogne</option> <option value="Bretagne">Bretagne</option> <option value="Centre">Centre</option> <option value="Champagne-Ardennes">Champagne-Ardennes</option> <option value="Corse">Corse</option> <option value="Franche-Comté">Franche-Comté</option> <option value="Languedoc-Rousillon">Languedoc-Rousillon</option> <option value="Limousin">Limousin</option> <option value="Lorraine">Lorraine</option> <option value="Midi-Pyrénées">Midi-Pyrénées</option> <option value="Nord-Pas-de-Calais">Nord-Pas-de-Calais</option> <option value="Normandie (Basse-)">Normandie (Basse-)</option> <option value="Normandie (Haute-)">Normandie (Haute-)</option> <option value="Pays de la Loire">Pays de la Loire</option> <option value="Picardie">Picardie</option> <option value="Poitou-Charentes">Poitou-Charentes</option> <option value="Provence-Alpes-Côte d'Azur">Provence-Alpes-Côte d'Azur</option> <option value="Rhônes-Alpes">Rhônes-Alpes</option> </select> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Téléphone : </font></td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="tel_civilite" size="10" maxlength="10" value="<?php echo $tel_civilite; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="3" colspan="3"> </td> </tr> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif"> Recherche :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Intitulé du poste : </font></td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <input type="text" name="int_poste_recherche" size="30" maxlength="100" value="<?php echo $int_poste_recherche; ?>" /> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Type de contrat : </font></td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <select name="typ_contrat_recherche" id="typ_contrat_recherche"> <option value="<?php echo $typ_contrat_recherche; ?>"><?php echo $typ_contrat_recherche; ?></option> <option value="">------------------</option> <option value="CDI">CDI</option> <option value="CDD">CDD</option> <option value="stage">Stage</option> <option value="Indifférent">Indifférent</option> </select> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="0" bgcolor="#EEEEEE"> </td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Région : </font></td> <td height="30" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <select name="regionr_recherche" id="regionr_recherche"> <option value="<?php echo $regionr_recherche; ?>"><?php echo $regionr_recherche; ?></option> <option value="Ile de france">Ile de France</option> <option value="Alsace">Alsace</option> <option value="Aquitaine">Aquitaine</option> <option value="Auvergne">Auvergne</option> <option value="Bourgogne">Bourgogne</option> <option value="Bretagne">Bretagne</option> <option value="Centre">Centre</option> <option value="Champagne-Ardennes">Champagne-Ardennes</option> <option value="Corse">Corse</option> <option value="Franche-Comté">Franche-Comté</option> <option value="Languedoc-Rousillon">Languedoc-Rousillon</option> <option value="Limousin">Limousin</option> <option value="Lorraine">Lorraine</option> <option value="Midi-Pyrénées">Midi-Pyrénées</option> <option value="Nord-Pas-de-Calais">Nord-Pas-de-Calais</option> <option value="Normandie (Basse-)">Normandie (Basse-)</option> <option value="Normandie (Haute-)">Normandie (Haute-)</option> <option value="Pays de la Loire">Pays de la Loire</option> <option value="Picardie">Picardie</option> <option value="Poitou-Charentes">Poitou-Charentes</option> <option value="Provence-Alpes-Côte d'Azur">Provence-Alpes-Côte d'Azur</option> <option value="Rhônes-Alpes">Rhônes-Alpes</option> </select> </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="1" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Disponibilité :</font></td> <td height="30" bgcolor="#EEEEEE"><select name="disp_recherche" id="disp_recherche"> <option value="<?php echo $disp_recherche; ?>"><?php echo $disp_recherche; ?></option> <option value="immediate">Immediate</option> <option value="-1 mois">-1 mois</option> <option value="+1 mois">+1 mois</option> </select></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" bgcolor="#EEEEEE"> </td> <td height="1" bgcolor="#EEEEEE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Votre expérience :</font></td> <td height="30" bgcolor="#EEEEEE"><select name="exp_recherche" id="exp_recherche"> <option value="<?php echo $exp_recherche; ?>"><?php echo $exp_recherche; ?></option> <option value="-1 an">Moins de 1 an</option> <option value="1 à 2 ans">1 à 2 ans</option> <option value="2 à 5 ans">2 à 5 ans</option> <option value="5 à 7 ans">5 à 7 ans</option> <option value="7 à 10 ans">7 à 10 ans</option> <option value="Plus de 10 ans">Plus de 10 ans</option> </select></td> </tr> <tr bgcolor="#EEEEEE"> <td height="1" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#626262" bordercolor="#CCCCCC"> <td height="20" colspan="3" bgcolor="#5E9FF1"><div align="center"><b><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">.: </font></b><font color="#FFFFFF" size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif"> Candature :. </font></b></font></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="2" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="3" colspan="3" bgcolor="#EEEEEE"><table width="500" border="0"> <tr> <td width="10" height="37"> </td> <td width="190"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• CV :</font></td> <td width="286"><textarea name="cv_recherche" cols="35" rows="7" id="cv_recherche" onkeyup="taille('ambition',0);" value="<?php echo $cv_recherche; ?>"><?php echo $cv_recherche; ?></textarea></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td height="5" colspan="3" bgcolor="#EEEEEE"><table width="500" border="0"> <tr> <td width="10" height="37"> </td> <td width="190"><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">• Motivations :</font></td> <td width="286"><textarea name="motiv_recherche" cols="35" rows="7" id="motiv_recherche" onkeyup="taille('ambition',0);" value="<?php echo $motiv_recherche; ?>"><?php echo $motiv_recherche; ?></textarea></td> </tr> </table></td> </tr> <tr bgcolor="#EEEEEE"> <td height="9" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="9" colspan="3" bgcolor="#EEEEEE"><div align="center"> <input type="submit" name="Submit" value="Envoyer"> </div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="9" colspan="3" bgcolor="#EEEEEE"> </td> </tr> <tr bgcolor="#EEEEEE"> <td height="10" colspan="3" bgcolor="#EEEEEE"><div align="center"><b></b></div></td> </tr> <tr bgcolor="#EEEEEE"> <td height="19" colspan="3" bgcolor="#EEEEEE"> </td> </tr> </table> </td> </tr> </table> </div></td> </tr> </table> <p> </p> </table> </form> </table> </table>
Désolé de t'embeter avec tous cela mais j'aime bien comprendre.
En tout cas, merci d'avoir eu la patience de m'aider jusqu'à présent...![]()
ok alors, met un var_dump de $id dans authent avant la redirection pour voir ce que ca affiche.
Je suppose que tu passes par la en premier ?
Tu peux meme commenter le header pour bien voir le var dump
Partager