Amélioration de la gestion des encodages.
[auf_paf.git] / admin / admin_authen.php
1 <?php
2 session_start();
3 $admin=$HTTP_SESSION_VARS["admin"];
4 $gen_m=$HTTP_SESSION_VARS["gen_m"];
5 $UserName=$HTTP_SESSION_VARS["UserName"];
6 $Password=$HTTP_SESSION_VARS["Password"];
7 if(!($admin == "y" || $gen_m == "y")){
8 include("./includes/function.php");
9 redirect("index.php");
10 }
11 ?>
12 <?php
13 header("Content-type: text/html; charset=utf-8");
14 ?>
15 <html>
16 <head>
17 <title>.:|| Administrateur - Mot de passe ||:.</title>
18 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
19 <link href="../styles/styles.css" rel="stylesheet" type="text/css">
20 <script language="javascript1.2" type="text/javascript">
21 function delete_message(){
22 var flag=true;
23 if (!confirm("Est-ce que vous voudriez vraiment supprimer cette information?")) flag =false;
24 return flag;
25 }
26
27 function validate_txt_box_1(Password){
28 var flag = true;
29 if(Password.txtUserName.value == 0){
30 alert("Entrez l'identifiant, s.v.p!");
31 Password.txtUserName.focus();
32 return false;
33 }
34 <?php if($_REQUEST["MODI"] == ""){ ?>
35 if(Password.txtPassword.value == 0){
36 alert("Entrez le mot de passe, s.v.p!");
37 Password.txtPassword.focus();
38 return false;
39 }
40 if(Password.txtMail.value == 0){
41 alert("Entrez le mail, s.v.p!");
42 Password.txtMail.focus();
43 return false;
44 }
45 <?php } ?>
46 if(Password.selPerm.value == "Choisissez"){
47 alert("Choisissez la permission, s.v.p!");
48 Password.selPerm.focus();
49 return false;
50 }
51 //--------------------------Modifier------------------------------------
52 <?php if($_REQUEST["MODI"] != ""){ ?>
53 if(Password.txtOPassword.value == 0){
54 alert("Entrez l'ancien mot de passe, s.v.p!");
55 Password.txtOPassword.focus();
56 return false;
57 }
58 if(Password.txtNPassword.value == 0){
59 alert("Entrez le nouveau mot de passe, s.v.p!");
60 Password.txtNPassword.focus();
61 return false;
62 }
63 if(Password.txtMail.value == 0){
64 alert("Entrez le mail, s.v.p!");
65 Password.txtMail.focus();
66 return false;
67 }
68 <?php } ?>
69 }
70 </script>
71 </head>
72 <?php include("includes/connection.php"); ?>
73 <?php include("includes/tclyit_cam_pc.php"); ?>
74 <?php include("includes/function.php"); ?>
75 <?php include("includes/menu.php")?>
76 <?php
77 $kompler = "ChhunlyPhallen";
78 $AID = $_REQUEST["AID"];
79 $MODI = $_REQUEST["MODI"]; //Modif_strqrt
80 $DEL = $_REQUEST["DEL"]; //Del_strqrt
81 $txtUserName = $_REQUEST["txtUserName"];
82 $txtOPassword = tcly($_REQUEST["txtOPassword"],$kompler); //echo $txtOPassword;
83 $txtNPassword = tcly($_REQUEST["txtNPassword"],$kompler);
84 $txtPassword = tcly($_REQUEST["txtPassword"],$kompler);
85 $txtMail = $_REQUEST["txtMail"];
86 $SEL = $_REQUEST["selPerm"];
87 if($_REQUEST["cmdSave"]){
88 if($MODI == ""){
89 if(check_email($txtMail)){
90 $Str = "insert into tbladmin(username,password,admail,permission) values('".$txtUserName."','".$txtPassword."','".$txtMail."','".$SEL."')";
91 mysql_query($Str) or die("Les informations ne peuvent pas enregistrer!");
92 redirect("admin_authen.php");
93 }else{ $MailErreur = "Pardon, l'addresse mail est incorrect!"; }
94 }else{
95 //---------------Vérifier l'ancien mot de passe----------------------------------------
96 $Sql = "Select password from tbladmin where password='".$txtOPassword."'";
97 $Query = mysql_query($Sql);
98 $Col = mysql_fetch_row($Query);
99 if(($Col[0] == "") && !(check_email($txtMail))){
100 $Invalid = "Pardon, l'encien mot de passe est invalid!";
101 $MailErreur = "Pardon, l'addresse mail est incorrect!";
102 }elseif(($Col[0] == "")){
103 $Invalid = "Pardon, l'encien mot de passe est invalid!";
104 }elseif(!(check_email($txtMail))){
105 $MailErreur = "Pardon, l'addresse mail est incorrect!";
106 }else{
107 $Upd = "update tbladmin set username='".$txtUserName."',password='".$txtNPassword."',admail='".$txtMail."',permission='".$SEL."' where aid=".$AID;
108 mysql_query($Upd) or die("Les informations ne peuvent pas modifier!");
109 redirect("admin_authen.php");
110 }
111 }
112 }
113 //---------------------Information selectée--------------------------------------------
114 if($MODI != ""){
115 $Stp = mysql_query("select * from tbladmin where aid=".$AID);
116 if($Stp){
117 $Row = mysql_fetch_array($Stp);
118 $UName = $Row["username"];
119 $Pwd = $Row["password"];
120 $Mail = $Row["admail"];
121 $Perm = $Row["permission"];
122 }
123 $Title = "Modifier Information";
124 }else{ $Title = "Ajouter Information"; }
125
126 //---------------------Supprimer information------------------------------------------
127 if($DEL != ""){
128 $Del = "delete from tbladmin where aid=".$AID;
129 mysql_query($Del) or die("Cet information ne peut pas supprimer!");
130 $DEL = "";
131 $MODI = "";
132 }
133 ?>
134 <body bgcolor="#fbfcf7" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
135 <center>
136 <form name="Password" method="post">
137 <table id="Table_01" width="1000" height="600" border="0" cellpadding="0" cellspacing="0">
138 <tr>
139 <td rowspan="20" width="17" height="749">&nbsp;</td>
140 <td colspan="11">
141 <img src="images/tclyitd_02.png" width="967" height="9" alt=""></td>
142 <td rowspan="20" width="15" height="749">&nbsp;</td>
143 <td>
144 <img src="images/spacer.gif" width="1" height="9" alt=""></td>
145 </tr>
146 <tr>
147 <td>
148 <img src="images/tclyitd_04.png" width="27" height="1" alt=""></td>
149 <td colspan="3" rowspan="5">
150 <img src="images/tclyitd_05.png" width="204" height="37" alt=""></td>
151 <td colspan="3">
152 <img src="images/tclyitd_06.png" width="527" height="1" alt=""></td>
153 <td rowspan="14">
154 <img src="images/tclyitd_07.png" width="89" height="85" alt=""></td>
155 <td>
156 <img src="images/tclyitd_08.png" width="9" height="1" alt=""></td>
157 <td rowspan="14">
158 <img src="images/tclyitd_09.png" width="87" height="85" alt=""></td>
159 <td>
160 <img src="images/tclyitd_10.png" width="24" height="1" alt=""></td>
161 <td>
162 <img src="images/spacer.gif" width="1" height="1" alt=""></td>
163 </tr>
164 <tr>
165 <td>
166 <img src="images/tclyitd_11.png" width="27" height="11" alt=""></td>
167 <td colspan="3">
168 <img src="images/tclyitd_12.png" width="527" height="11" alt=""></td>
169 <td>
170 <img src="images/tclyitd_13.png" width="9" height="11" alt=""></td>
171 <td>
172 <img src="images/tclyitd_14.png" width="24" height="11" alt=""></td>
173 <td>
174 <img src="images/spacer.gif" width="1" height="11" alt=""></td>
175 </tr>
176 <tr>
177 <td>
178 <img src="images/tclyitd_15.png" width="27" height="11" alt=""></td>
179 <td colspan="3">
180 <img src="images/tclyitd_16.png" width="527" height="11" alt=""></td>
181 <td>
182 <img src="images/tclyitd_17.png" width="9" height="11" alt=""></td>
183 <td>
184 <img src="images/tclyitd_18.png" width="24" height="11" alt=""></td>
185 <td>
186 <img src="images/spacer.gif" width="1" height="11" alt=""></td>
187 </tr>
188 <tr>
189 <td>
190 <img src="images/tclyitd_19.png" width="27" height="10" alt=""></td>
191 <td colspan="3">
192 <img src="images/tclyitd_20.png" width="527" height="10" alt=""></td>
193 <td>
194 <img src="images/tclyitd_21.png" width="9" height="10" alt=""></td>
195 <td>
196 <img src="images/tclyitd_22.png" width="24" height="10" alt=""></td>
197 <td>
198 <img src="images/spacer.gif" width="1" height="10" alt=""></td>
199 </tr>
200 <tr>
201 <td rowspan="3">
202 <img src="images/tclyitd_23.png" width="27" height="11" alt=""></td>
203 <td colspan="3" rowspan="3">
204 <img src="images/tclyitd_24.png" width="527" height="11" alt=""></td>
205 <td rowspan="3">
206 <img src="images/tclyitd_25.png" width="9" height="11" alt=""></td>
207 <td rowspan="3">
208 <img src="images/tclyitd_26.png" width="24" height="11" alt=""></td>
209 <td>
210 <img src="images/spacer.gif" width="1" height="4" alt=""></td>
211 </tr>
212 <tr>
213 <td rowspan="6">
214 <img src="images/tclyitd_27.png" width="133" height="39" alt=""></td>
215 <td colspan="2">
216 <img src="images/tclyitd_28.png" width="71" height="1" alt=""></td>
217 <td>
218 <img src="images/spacer.gif" width="1" height="1" alt=""></td>
219 </tr>
220 <tr>
221 <td colspan="2">
222 <img src="images/tclyitd_29.png" width="71" height="6" alt=""></td>
223 <td>
224 <img src="images/spacer.gif" width="1" height="6" alt=""></td>
225 </tr>
226 <tr>
227 <td>
228 <img src="images/tclyitd_30.png" width="27" height="10" alt=""></td>
229 <td colspan="3">
230 <img src="images/tclyitd_31.png" width="153" height="10" alt=""></td>
231 <td rowspan="5">
232 <img src="images/tclyitd_32.png" width="388" height="35" alt=""></td>
233 <td>
234 <img src="images/tclyitd_33.png" width="57" height="10" alt=""></td>
235 <td>
236 <img src="images/tclyitd_34.png" width="9" height="10" alt=""></td>
237 <td>
238 <img src="images/tclyitd_35.png" width="24" height="10" alt=""></td>
239 <td>
240 <img src="images/spacer.gif" width="1" height="10" alt=""></td>
241 </tr>
242 <tr>
243 <td>
244 <img src="images/tclyitd_36.png" width="27" height="11" alt=""></td>
245 <td colspan="3">
246 <img src="images/tclyitd_37.png" width="153" height="11" alt=""></td>
247 <td>
248 <img src="images/tclyitd_38.png" width="57" height="11" alt=""></td>
249 <td>
250 <img src="images/tclyitd_39.png" width="9" height="11" alt=""></td>
251 <td>
252 <img src="images/tclyitd_40.png" width="24" height="11" alt=""></td>
253 <td>
254 <img src="images/spacer.gif" width="1" height="11" alt=""></td>
255 </tr>
256 <tr>
257 <td>
258 <img src="images/tclyitd_41.png" width="27" height="10" alt=""></td>
259 <td colspan="3">
260 <img src="images/tclyitd_42.png" width="153" height="10" alt=""></td>
261 <td>
262 <img src="images/tclyitd_43.png" width="57" height="10" alt=""></td>
263 <td>
264 <img src="images/tclyitd_44.png" width="9" height="10" alt=""></td>
265 <td>
266 <img src="images/tclyitd_45.png" width="24" height="10" alt=""></td>
267 <td>
268 <img src="images/spacer.gif" width="1" height="10" alt=""></td>
269 </tr>
270 <tr>
271 <td rowspan="3">
272 <img src="images/tclyitd_46.png" width="27" height="9" alt=""></td>
273 <td colspan="3" rowspan="3">
274 <img src="images/tclyitd_47.png" width="153" height="9" alt=""></td>
275 <td rowspan="3">
276 <img src="images/tclyitd_48.png" width="57" height="9" alt=""></td>
277 <td rowspan="3">
278 <img src="images/tclyitd_49.png" width="9" height="9" alt=""></td>
279 <td rowspan="3">
280 <img src="images/tclyitd_50.png" width="24" height="9" alt=""></td>
281 <td>
282 <img src="images/spacer.gif" width="1" height="1" alt=""></td>
283 </tr>
284 <tr>
285 <td rowspan="2">
286 <img src="images/tclyitd_51.png" width="133" height="8" alt=""></td>
287 <td>
288 <img src="images/spacer.gif" width="1" height="3" alt=""></td>
289 </tr>
290 <tr>
291 <td>
292 <img src="images/tclyitd_52.png" width="388" height="5" alt=""></td>
293 <td>
294 <img src="images/spacer.gif" width="1" height="5" alt=""></td>
295 </tr>
296 <tr>
297 <td colspan="7" rowspan="2">
298 <img src="images/tclyitd_53.png" width="758" height="8" alt=""></td>
299 <td rowspan="2">
300 <img src="images/tclyitd_54.png" width="9" height="8" alt=""></td>
301 <td rowspan="2">
302 <img src="images/tclyitd_55.png" width="24" height="8" alt=""></td>
303 <td>
304 <img src="images/spacer.gif" width="1" height="1" alt=""></td>
305 </tr>
306 <tr>
307 <td>
308 <img src="images/tclyitd_56.png" width="89" height="7" alt=""></td>
309 <td>
310 <img src="images/tclyitd_57.png" width="87" height="7" alt=""></td>
311 <td>
312 <img src="images/spacer.gif" width="1" height="7" alt=""></td>
313 </tr>
314 <tr>
315 <td colspan="3" width="187" height="612" valign="top" bgcolor="#b19681"><?php menu(); ?></td>
316 <td colspan="8" width="780" height="612" align="center" valign="top">
317 <table width="780" height="612" cellpadding="0" cellspacing="0" border="1" style="border-right-color:#993366; border-style:solid;">
318 <tr>
319 <td style="padding-left:10px; padding-top:20px;" align="center" valign="<?php if($admin == "y"){ ?>top<?php }else{ echo"middle"; } ?>">
320 <?php if($admin == "y"){ ?>
321 <table width="450" height="193" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
322 <tr>
323 <td align="center" style="padding-bottom:10px;">
324 <table width="496" height="193" cellpadding="0" cellspacing="0" border="1" style="border-collapse:collapse; border-color:#9999CC;">
325 <tr bgcolor="#56541f">
326 <td height="34" align="center" background="images/tclyit_silver_1.jpg" style="font-family:Arial, Helvetica, sans-serif; color:#996633; background-repeat:repeat-x;"><strong><?php echo $Title; ?></strong></td>
327 </tr>
328 <tr>
329 <td>
330 <table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
331 <tr>
332 <td align="left" style="padding-bottom:0; padding-left:10px; padding-right:10px;">
333 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Identifiant : </span>
334 </td>
335 <td style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
336 <input type="text" name="txtUserName" value="<?php if($MODI == ""){ echo $txtUserName; }else{ echo $UName; } ?>" size="40" />
337 </td>
338 </tr>
339 <?php if($MODI == ""){ ?>
340 <tr>
341 <td align="left" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
342 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Mot de passe : </span>
343 </td>
344 <td align="left" style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
345 <input type="password" name="txtPassword" value="<?php echo $Pwd; ?>" size="40">
346 </td>
347 </tr>
348 <tr>
349 <td align="left" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
350 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Addresse Mail : </span>
351 </td>
352 <td align="left" style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
353 <div align="center" style="z-index:auto; padding-bottom:3px; color:#CC0000;"><?php echo $MailErreur; ?></div>
354 <input type="text" name="txtMail" value="<?php if($MODI == ""){ echo $txtMail; }else{ echo $Mail; } ?>" size="40">
355 </td>
356 </tr>
357 <?php }else{ ?>
358 <tr>
359 <td align="left" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
360 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Ancien Mot de passe : </span>
361 </td>
362 <td align="left" style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
363 <div align="center" style="z-index:auto; padding-bottom:3px; color:#CC0000;"><?php echo $Invalid; ?></div>
364 <input type="password" name="txtOPassword" value="" size="40">
365 </td>
366 </tr>
367 <tr>
368 <td align="left" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
369 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Nouveau Mot de passe : </span>
370 </td>
371 <td align="left" style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
372 <input type="password" name="txtNPassword" value="" size="40">
373 </td>
374 </tr>
375 <tr>
376 <td align="left" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
377 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Addresse Mail : </span>
378 </td>
379 <td align="left" style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
380 <div align="center" style="z-index:auto; padding-bottom:3px; color:#CC0000;"><?php echo $MailErreur; ?></div>
381 <input type="text" name="txtMail" value="<?php echo $Mail; ?>" size="40">
382 </td>
383 </tr>
384 <?php } ?>
385 <tr bgcolor="#E4D8A3">
386 <td align="left" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
387 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Permission : </span>
388 </td>
389 <td align="left" style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
390 <?php if($MODI == ""){ ?>
391 <select name="selPerm" style="width:265;">
392 <option value="Choisissez">[--Choisissez Permission--]</option>
393 <option value="1">Administrateur</option>
394 <option value="2">Utilisateur</option>
395 </select>
396 <?php }else{ ?>
397 <select name="selPerm" style="width:265;">
398 <?php if($Perm == 1){ ?>
399 <option value="1" selected="selected">Administrateur</option>
400 <option value="2">Utilisateur</option>
401 <option value="Choisissez">[--Choisissez Permission--]</option>
402 <?php } ?>
403 <?php if($Perm == 2){ ?>
404 <option value="2" selected="selected">Utilisateur</option>
405 <option value="1">Administrateur</option>
406 <option value="Choisissez">[--Choisissez Permission--]</option>
407 <?php } ?>
408 </select>
409 <?php } ?>
410 </td>
411 </tr>
412 <tr>
413 <td></td>
414 <td align="right" style="padding-right:45px; padding-bottom:5px; padding-top:10px;">
415 <input type="submit" name="cmdSave" value="Sauvegarder" onClick="return validate_txt_box_1(Password);" style="border:double; height:27px; border-color:#999966; background-color:#9aa95f; cursor:pointer;">
416 </td>
417 </tr>
418 <tr bgcolor="#EEF1B6">
419 <td colspan="2" align="left" style="padding-right:5px; padding-left:5px; padding-bottom:5px; padding-top:10px;">
420 <font style="font-size:12px; font-weight:bold; color:#3300FF;"><u>Note</u> : </font>
421 <font style="font-size:10px; font-weight:normal; color:#993300;">
422 - <i><b>Administrateur</b></i> : Permettre pour ajouter, modifier et supprimer les informations.<br>
423 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- <i><b>Utilisateur</b></i> : Permettre pour ajouter et modifier les informations.
424 </font>
425 </td>
426 </tr>
427 </table>
428 </td>
429 </tr>
430 </table>
431 </td>
432 </tr>
433 <tr>
434 <td align="center" style="padding-top:10px; padding-bottom:20px;">
435 <table width="450" height="193" cellpadding="0" cellspacing="0" border="1" style="border-collapse:collapse; border-color:#9999CC;">
436 <tr bgcolor="#56541f">
437 <td height="34" align="center" background="images/tclyit_silver_1.jpg" style="font-family:Arial, Helvetica, sans-serif; color:#996633; background-repeat:repeat-x;"><strong>Liste de l'information</strong></td>
438 </tr>
439 <tr>
440 <td align="center" valign="top">
441 <table width="700" cellpadding="0" cellspacing="0" border="1" style="border-collapse:collapse; border-color:#CCCCCC;">
442 <tr bgcolor="#CBD898" class="style2">
443 <td width="215" align="left" style="padding-bottom:5px;; padding-top:5px; padding-left:10px; padding-right:10px;">
444 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Identifiant</span></td>
445 <td width="96" align="left" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
446 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Mot de passe</span></td>
447 <td width="106" align="left" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
448 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Permission</span></td>
449 <td width="" align="left" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
450 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Email</span></td>
451 <td width="133" align="center" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
452 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Modifier</span></td>
453 <td width="138" align="center" style="padding-bottom:0px; padding-left:10px; padding-right:10px;">
454 <span style="font-family:Arial, Helvetica, sans-serif; color:#330000">Supprimer</span></td>
455 </tr>
456 <?php
457 //----------------Montrer l'information------------------------------------------------
458 $Sql = "select * from tbladmin order by permission";
459 if($Sql){
460 $Swl = mysql_query($Sql);
461 while($Rows = mysql_fetch_array($Swl)){
462 $AID = $Rows["aid"];
463 $UserName = $Rows["username"];
464 $Password = $Rows["password"];
465 $Mails = $Rows["admail"];
466 $Perm = $Rows["permission"];
467 if($Perm == 1){
468 $Permission = "Administrateur";
469 }else{ $Permission = "Utilisateur"; }
470 ?>
471 <tr bgcolor="#E1E3B0">
472 <td style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
473 <?php echo $UserName; ?>
474 </td>
475 <td title="<?php echo phlen($Password,$kompler); ?>" style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
476 <?php echo $Password; ?>
477 </td>
478 <td style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
479 <?php echo $Permission; ?>
480 </td>
481 <td style="padding-top:5px; padding-left:10px; padding-right:10px; padding-bottom:5px;">
482 <?php echo $Mails; ?>
483 </td>
484 <td align="center" style="padding-top:5px; padding-left:5px; padding-right:5px; padding-bottom:5px;">
485 <input type="button" name="cmdEdit" value=" Modifier " style="border:double; height:27px; border-color:#999966; background-color:#9aa95f; cursor:pointer; color:#FFFFFF; font-weight:normal;" title='Modifier : <?php echo $UserName; ?>' onClick="javascript:document.location.href='<?php echo"$_PHP_SELF?AID=$AID&MODI=Modif_strqrt"; ?>'" />
486 <!--<a href="<?php echo"$_PHP_SELF?AID=$AID&MODI=Modif_strqrt"; ?>" title="Modifier : <?php echo $UserName; ?>"><img src="images/tclyit_m.png" width="122" height="28" border="0"></a>-->
487 </td>
488 <td align="center" style="padding-top:5px; padding-left:5px; padding-right:5px; padding-bottom:5px;">
489 <input type="button" name="cmdDelete" value="Supprimer" style="border:double; height:27px; border-color:#999966; background-color:#9aa95f; cursor:pointer; color:#FFFFFF;" title='Supprimer : <?php echo $UserName; ?>' onClick="javascript: if(window.confirm('Confirmez-vous la suppression de <?php echo "\' ".$UserName." \'"; ?>?')){document.location.href='<?php echo"$_PHP_SELF?AID=$AID&DEL=Del_strqrt"; ?>'}" />
490 <!--<a href="<?php echo"$_PHP_SELF?AID=$AID&DEL=Del_strqrt"; ?>" title="Supprimer : <?php echo $UserName; ?>"><img src="images/tclyits_m.png" width="122" height="28" onClick="return delete_message();" border="0"></a>-->
491 </td>
492 </tr>
493 <?php } } ?>
494 <tr>
495 <td colspan="5"></td>
496 <td align="center" style="padding-top:5px; padding-left:5px; padding-right:5px; padding-bottom:5px;">
497 <input type="button" name="cmdAjouter" value=" Ajouter " style="border:double; height:27px; border-color:#999966; background-color:#9aa95f; cursor:pointer; color:#FFFFFF;" title="Ajouter nouveau utilisateur" onClick="javascript:document.location.href='<?php echo"admin_authen.php"; ?>'" />
498 </td>
499 </tr>
500 </table>
501 </td>
502 </tr>
503 <tr bgcolor="#E2CEAF"><td align="center" style="padding-top:8px; padding-bottom:8px;"><i>Veuillez mettre votre curseur sur le mot de passe vous allez voir le vrai mot de passe!</i></td></tr>
504 </table>
505 </td>
506 </tr>
507 </table>
508 <?php }else{ echo"<font style='color:#FF0000; font-size:16px; font-weight:bold;'><i>Pardon, Vous n'avez pas permission pour accéder dans cette page!<br>Administrateur seulement qui peut l'accéder.</i></font>"; } ?>
509 </td>
510 </tr>
511 </table>
512 </td>
513 <td>
514 <img src="images/spacer.gif" width="1" height="612" alt=""></td>
515 </tr>
516 <tr>
517 <td colspan="11">
518 <img src="images/tclyitd_60.png" width="967" height="12" alt=""></td>
519 <td>
520 <img src="images/spacer.gif" width="1" height="12" alt=""></td>
521 </tr>
522 <tr>
523 <?php include("includes/footer_admin.php"); ?>
524 <td>
525 <img src="images/spacer.gif" width="1" height="13" alt=""></td>
526 </tr>
527 <tr>
528 <td colspan="11">
529 <img src="images/tclyitd_62.png" width="967" height="11" alt=""></td>
530 <td>
531 <img src="images/spacer.gif" width="1" height="11" alt=""></td>
532 </tr>
533 <tr>
534 <td>
535 <img src="images/spacer.gif" width="17" height="1" alt=""></td>
536 <td>
537 <img src="images/spacer.gif" width="27" height="1" alt=""></td>
538 <td>
539 <img src="images/spacer.gif" width="133" height="1" alt=""></td>
540 <td>
541 <img src="images/spacer.gif" width="27" height="1" alt=""></td>
542 <td>
543 <img src="images/spacer.gif" width="44" height="1" alt=""></td>
544 <td>
545 <img src="images/spacer.gif" width="82" height="1" alt=""></td>
546 <td>
547 <img src="images/spacer.gif" width="388" height="1" alt=""></td>
548 <td>
549 <img src="images/spacer.gif" width="57" height="1" alt=""></td>
550 <td>
551 <img src="images/spacer.gif" width="89" height="1" alt=""></td>
552 <td>
553 <img src="images/spacer.gif" width="9" height="1" alt=""></td>
554 <td>
555 <img src="images/spacer.gif" width="87" height="1" alt=""></td>
556 <td>
557 <img src="images/spacer.gif" width="24" height="1" alt=""></td>
558 <td>
559 <img src="images/spacer.gif" width="15" height="1" alt=""></td>
560 <td></td>
561 </tr>
562 </table>
563 </form>
564 <script language="javascript" type="text/javascript">
565 setTimeout("document.Password.txtUserName.focus()",1);
566 </script>
567 </center>
568 </body>
569 </html>