| 
								
							 | 
							
								<?php
							 | 
						
						
						
							| 
								
							 | 
							
								/** 
							 | 
						
						
						
							| 
								
							 | 
							
								* @package	uForum 
							 | 
						
						
						
							| 
								
							 | 
							
								* @file		admin/index.php
							 | 
						
						
						
							| 
								
							 | 
							
								* @version	$Id$ 
							 | 
						
						
						
							| 
								
							 | 
							
								* @copyright	2007-2010 (c) PioDer <[email protected]>
							 | 
						
						
						
							| 
								
							 | 
							
								* @link    		http://www.pioder.pl/
							 | 
						
						
						
							| 
								
							 | 
							
								* @license	see LICENSE.txt
							 | 
						
						
						
							| 
								
							 | 
							
								**/
							 | 
						
						
						
							| 
								
							 | 
							
								define('IN_uF', true);
							 | 
						
						
						
							| 
								
							 | 
							
								//include files
							 | 
						
						
						
							| 
								
							 | 
							
								require('./../config.php');
							 | 
						
						
						
							| 
								
							 | 
							
								require('./../includes/constants.php');
							 | 
						
						
						
							| 
								
							 | 
							
								require('./../includes/db.php');
							 | 
						
						
						
							| 
								
							 | 
							
								require('./../includes/errors.php');
							 | 
						
						
						
							| 
								
							 | 
							
								//connect to database
							 | 
						
						
						
							| 
								
							 | 
							
								DataBase::db_connect();
							 | 
						
						
						
							| 
								
							 | 
							
								require('./../includes/sessions.php');
							 | 
						
						
						
							| 
								
							 | 
							
								require('./../includes/classes/class_user.php');
							 | 
						
						
						
							| 
								
							 | 
							
								require('./../common.php');
							 | 
						
						
						
							| 
								
							 | 
							
								require('./../includes/admin/class_main.php');
							 | 
						
						
						
							| 
								
							 | 
							
								require('./../includes/classes/class_forum.php');
							 | 
						
						
						
							| 
								
							 | 
							
								require('./../lngs/'.Admin_Over::DefaultLang().'/admin.php');
							 | 
						
						
						
							| 
								
							 | 
							
								SessDelInvalid();
							 | 
						
						
						
							| 
								
							 | 
							
								SessRegister();
							 | 
						
						
						
							| 
								
							 | 
							
								SessDeleteOld();
							 | 
						
						
						
							| 
								
							 | 
							
								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="../images/favicon.ico">
							 | 
						
						
						
							| 
								
							 | 
							
								<link rel="favicon" href="../images/favicon.ico">
							 | 
						
						
						
							| 
								
							 | 
							
								<title>µForum ACP</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>
							 | 
						
						
						
							| 
								
							 | 
							
								';*/
							 | 
						
						
						
							| 
								
							 | 
							
								?>
							 |