-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.php
More file actions
54 lines (46 loc) · 1.6 KB
/
admin.php
File metadata and controls
54 lines (46 loc) · 1.6 KB
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
<?php
if (!defined('IN_SPYOGAME')) {
die("Hacking attempt");
}
if ($user_data["user_admin"] != 1 && $user_data["user_coadmin"] != 1) {
redirection("index.php?action=message&id_message=forbidden&info");
}
?>
<form method="POST" action="index.php?action=recycleurs&sub_action=set_recy_limit">
<table align="center">
<tr>
<td>
<table width="200" style="border:2px #003399 solid;" cellpadding="3">
<td align="center" class="c" colspan="2">Flotte minimale de recycleurs à afficher</td>
<tr>
<th align="center">
Nombre: <input type="text" name="low_limit" value="<?php echo mod_get_option('recy_limit');?>"><br>
</tr>
<th align="center" colspan="2">
<input type="submit" value="Envoi">
</th>
</tr>
</table>
</td>
</tr>
</table>
</form>
<br>
<form method="POST" action="index.php?action=recycleurs&sub_action=raz">
<table align="center">
<tr>
<td>
<table width="200" style="border:2px #003399 solid;" cellpadding="3">
<td align="center" class="c" colspan="2">Remise à Zéro des tables ?</td>
</tr>
<tr>
<th align="center" colspan="2">
<input type="submit" value="Effacer">
</th>
</tr>
</table>
</td>
</tr>
</table>
</form>
<br>