Вот
<?PHP
//////////////////////////////////////////////////////////////////////////////
// ВЫВОД СОДЕРЖАНИЯ САЙТА
if ($_GET['servers'] == "" and $_GET['register'] == "" and $_GET['login'] == "" and $_GET['server'] == "" and $_GET['panel'] == "" and $_GET['intervu'] == "" and $_GET['s'] != "pravo" and $_GET['s'] != "reklama" and $_GET['s'] != "lostpass" and $_GET['gosite'] == "" and $_GET['vote_server'] == "")
{
require "./pd_inc/pd_func/pd_rek_468x60.php";
require "./pd_inc/pd_func/pd_print_server.php";
}
else
{
if ($_GET['register'] == "step1") {
require "./pd_inc/pd_design/design_register_select.php";
}
if ($_GET['register'] == "step1_servers") {
require "./pd_inc/pd_design/design_register_servers.php";
}
if ($_GET['register'] == "step1_users") {
require "./pd_inc/pd_design/design_register_users.php";
}
if ($_GET['register'] == "step2") {
require "./pd_inc/pd_design/design_message.php";
}
if ($_GET['login'] == "step1") {
require "./pd_inc/pd_design/design_login.php";
}
if ($_GET['login'] == "step2") {
require "./pd_inc/pd_design/design_message.php";
}
if ($_GET['panel'] == "home")
{
if ($_COOKIE['account'] > "" and $_COOKIE['password'] > "" ) {
if ($_COOKIE['type'] == "server")
{
require "./pd_inc/pd_design/design_panel_home_servers.php";
}
if ($_COOKIE['type'] == "user")
{
require "./pd_inc/pd_design/design_panel_home_users.php";
}
}
else
{
print '<meta http-equiv="refresh" content="1;url=pd_index.php?login=step1" />';
}
}
if ($_GET['panel'] == "submit" and $_COOKIE['account'] > "" and $_COOKIE['password'] > "")
{
require "./pd_inc/pd_design/design_panel_submit.php";
}
if ($_GET['panel'] == "rub" and $_COOKIE['account'] > "" and $_COOKIE['password'] > "")
{
require "./pd_inc/pd_design/design_panel_rub.php";
}
if ($_GET['panel'] == "option" and $_COOKIE['account'] > "" and $_COOKIE['password'] > "") {
require "./pd_inc/pd_design/design_panel_options.php";
}
if ($_GET['panel'] == "vote_server_buy" and $_COOKIE['account'] > "" and $_COOKIE['password'] > "") {
require "./pd_inc/pd_design/design_panel_vote_buy.php";
}
if ($_GET['panel'] == "vip_server_buy" and $_COOKIE['account'] > "" and $_COOKIE['password'] > "") {
require "./pd_inc/pd_design/design_panel_vip_buy.php";
}
if ($_GET['panel'] == "rek" and $_COOKIE['account'] > "" and $_COOKIE['password'] > "") {
require "./pd_inc/pd_design/design_panel_rek.php";
}
if ($_GET['panel'] == "exit" and $_COOKIE['account'] > "" and $_COOKIE['password'] > "") {
print '<meta http-equiv="refresh" content="1;url=pd_index.php" />';
}
if ($_GET['server'] > "") {
require "./pd_inc/pd_func/pd_server_info.php";
}
if ($_GET['vote_server'] > "") {
require "./pd_inc/pd_func/pd_vote_server.php";
}
if ($_GET['s'] == "pravo") {
require "./pd_inc/pd_design/design_pravilo.php";
}
if ($_GET['s'] == "lostpass") {
require "./pd_inc/pd_func/pd_lostpass.php";
}
}
//////////////////////////////////////////////////////////////////////////////
?>