* @link http://pioder.gim2przemysl.int.pl/ * @license GNU GPL v3 **/ define('IN_uF', true); include('./../config.php'); include('./../includes/constants.php'); include('./../includes/db.php'); include('./../includes/errors.php'); //connect to database DataBase::db_connect(); include('./../includes/sessions.php'); include('./../includes/classes/class_user.php'); include('./../common.php'); include('./../includes/admin/class_main.php'); include('./../lngs/'.Admin_Over::DefaultLang().'/admin.php'); SessDelInvalid(); SessRegister(); SessDeleteOld(); if (User::UserInformation($_SESSION['uid'],'rank')!=2) { admin_message_forum($lng['yournotadmin'],'../index.php'); } $skin = array( 'uf_pa'=>$lng['uf_pa'], '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'); ?>