|
<?php
|
|
/**
|
|
* @package µForum
|
|
* @file admin/header.php
|
|
* @version 1.0.x, 04-02-2007, 14:13
|
|
* @copyright 2008(c) PioDer <[email protected]>
|
|
* @link http://pioder.gim2przemysl.int.pl/dsf.html
|
|
* @license GNU GPL v3
|
|
**/
|
|
define('IN_uF', true);
|
|
include('./../config.php');
|
|
include('./../includes/constants.php');
|
|
include('./../includes/class_db.php');
|
|
include('./../includes/class_error.php');
|
|
//connect to database
|
|
DataBase::db_connect();
|
|
include('./../includes/sessions.php');
|
|
include('./../includes/class_user.php');
|
|
include('./../common.php');
|
|
include('./../includes/admin/class_main.php');
|
|
include('./../lngs/'.Admin_Over::DefaultLang().'/admin.php');
|
|
sess_del_invalid($_SESSION['uid']);
|
|
sess_register($_SESSION['uid']);
|
|
sess_delete_old();
|
|
if (User::UserInformation($_SESSION['uid'],'rank')!=2)
|
|
{
|
|
admin_message_forum($lng['yournotadmin'],'../index.php');
|
|
}
|
|
$skin = array(
|
|
'uf_pa'=>$lng['uf_pa_nav'],
|
|
'index'=>$lng['index'],
|
|
'gotoforum'=>$lng['go_to_forum'],
|
|
'scriptstat'=>$lng['scriptstat'],
|
|
'scriptoptions'=>$lng['scriptconfig'],
|
|
'admin_forums'=>$lng['admin_forums'],
|
|
'admin_groups'=>$lng['admin_groups'],
|
|
'admin_users'=>$lng['admin_users'],
|
|
'admin_banlist'=>$lng['admin_banlist'],
|
|
'admin_censorlist'=>$lng['admin_censorlist'],
|
|
'admin_smilelist'=>$lng['admin_smilelist'],
|
|
'mass_email' => $lng['mass_email'],
|
|
'admin_styles' => $lng['styles'],
|
|
'main_beam'=>$lng['pa_mainpage']
|
|
);
|
|
include('./template/overall_header.tpl');
|
|
?>
|