-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.php
More file actions
33 lines (22 loc) · 710 Bytes
/
admin.php
File metadata and controls
33 lines (22 loc) · 710 Bytes
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
<?php
include "include/main.inc.php";
checkLogin();
include "admin/action.php";
showHeaderAdmin(($w ? 'Admin '.$GLOBALS['DESC'][$w]['specs']['lib'] : 'Administration du site').' - '.$GLOBALS['titre']);
showMenuAdmin();
if(!$w) {
showMenuAdmin('index');
} else {
$Data = new Data($w);?>
<h1><?php echo $Data->lib;?> <img class="link" alt="aide" title="Cliquez ici pour avoir de l'aide'" onclick="showHelp()" src="images/help.gif"></h1>
<?php echo $Data->extra;?>
<?php doHelp($Data->help);?>
<?php doHelp($Data->help2);?>
<p> </p>
<?php if($id===false) {
include('admin/list.php');
} else {
include('admin/edit.php');
}
}
showFooterAdmin();?>