Version 2007-11-05
This commit is contained in:
parent
ebc73c5744
commit
d08fb34825
58 changed files with 1819 additions and 1447 deletions
20
pages/admin.php
Normal file
20
pages/admin.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
session_start();
|
||||
|
||||
$id = $_SESSION['id'];
|
||||
$auth_level = $_SESSION['auth_level'];
|
||||
$galaxy = $_SESSION['galaxy'];
|
||||
$ss = $_SESSION['ss'];
|
||||
$pos = $_SESSION['pos'];
|
||||
|
||||
require('../securite.php');
|
||||
require('../template.php');
|
||||
|
||||
$template = new Template('../');
|
||||
if ($auth_level >= 7) {
|
||||
$template->set_filenames(array('admin' => 'templates/admin.tpl'));
|
||||
|
||||
$template->assign_vars(array('TITRE' => 'Index'));
|
||||
$template->pparse('admin');
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue