|
|
- <?php
- /**
- * @package µForum
- * @file admin/index.php
- * @version 1.0.x, 04-02-2007, 14:13
- * @copyright 2008(c) PioDer <pioder@wp.pl>
- * @link http://pioder.gim2przemysl.int.pl/dsf.html
- * @license GNU GPL v3
- **/
- define('IN_uF', true);
- //include files
- 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('./../includes/class_forum.php');
- include('./../lngs/'.Admin_Over::DefaultLang().'/admin.php');
- $default_skin = Admin_Over::ViewSkinName();
- sess_del_invalid();
- sess_register($_SESSION['uid']);
- sess_delete_old();
- if (User::UserInformation($_SESSION['uid'],'rank')!=2)
- {
- admin_message_forum($lng['yournotadmin'],'../index.php');
- }
- /*echo '
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link rel="shortcut icon" href="../skins/'.$default_skin.'/images/favicon.ico">
- <link rel="favicon" href="../skins/'.$default_skin.'/images/favicon.ico">
- <title>DSF Administration</title>
- <frameset rows="90,*" border="2" framespacing="0" frameborder="yes">
- <frame src="header.php" name="nav" marginheight="3" scrolling="no">
- <frame src="forum_info.php" name="main" marginwidth="10" marginheight="10">
- </frameset>
- </head>
- <body>
- Sorry, you browser doesn\'t support frames.
- </body>
- </html>
- ';*/
- echo '
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link rel="shortcut icon" href="../skins/'.$default_skin.'/images/favicon.ico">
- <link rel="favicon" href="../skins/'.$default_skin.'/images/favicon.ico">
- <title>µForum Administration</title>
- <frameset cols="200,*" rows="*" border="2" framespacing="0" frameborder="yes">
- <frame src="header.php" name="nav" marginwidth="3" marginheight="3" scrolling="auto">
- <frame src="forum_info.php" name="main" marginwidth="10" marginheight="10" scrolling="auto">
- </frameset>
- </head>
- <body>
- Sorry, you browser doesn\'t support frames.
- </body>
- </html>
- ';
- ?>
|