<?php
include_once("connect.php"); // Подключение...
include_once("functions.php"); // Файл с функциями
include_once("config.php"); // Файл конфигурации
include_once("users.php"); // Данные о пользователе
if(!$authorize) ClearOnline(); else RefreshSid($username); unban($username);
if(empty($p))
{
$p="0";
}
switch($_GET['p'])
{
case '0':
include_once("./include/index.php");
break;
case '1':
include_once("./include/mindex.php");
break;
case '2':
include_once("./include/topics.php");
break;
case '3':
include_once("./include/mtopics.php");
break;
case '4':
include_once("./include/posts.php");
break;
case '5':
include_once("./include/mposts.php");
break;
case '6':
include_once("./include/user.php");
break;
case '7':
include_once("./include/ans.php");
break;
case '8':
include_once("./include/mans.php");
break;
case '9':
include_once("./include/newt.php");
break;
case '10':
include_once("./include/mnewt.php");
break;
case '11':
include_once("./include/stat.php");
break;
case '12':
include_once("./include/online.php");
break;
case '13':
include_once("./include/top.php");
break;
case '14':
include_once("./include/help.php");
break;
case '15';
include_once("./include/resort.php");
break;
case '16';
include_once("./include/mresort.php");
break;
case '17':
include_once("./include/qt.php");
break;
case '18':
include_once("./include/mqt.php");
break;
case '19':
include_once("./include/auth.php");
break;
case '20':
include_once("./include/search.php");
break;
case '21':
include_once("./include/pass.php");
break;
case '22':
include_once("./include/profile.php");
break;
case '23':
include_once("./include/settings.php");
break;
case '24':
include_once("./include/private.php");
break;
case '25':
include_once("./include/moder.php");
break;
case '26':
include_once("./include/ban.php");
break;
case '27':
include_once("./include/admin.php");
break;
case '28':
if($logout=1)
{
include_once("./include/logout.php");
}
break;
case '29':
include_once("./include/smile.php");
break;
}
?>