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