Вход Регистрация
Файл: _gladiators2_/gladiators2/gladiators/gladiators/senate.php
Строк: 50
<?session_start();

if(!
$_SESSION[id]){
echo
"<script language=javascript>top.window.location='/index.php';</script>";
exit();
}

include(
"connect.php"); // Коннектимся к БД
include("system/config/values.php");
include(
"includes/std.h.php");

 
$result_user mysql_query("select klan,align,locate from users where id='".$_SESSION[id]."'");
 
$row_user mysql_fetch_array($result_user);

  if(
$row_user["align"]!="4" && $row_user["klan"]!="Administration")
  {
    
Header("Location: /home.php");
    exit();
  }

echo
"<html>
    <head>
        <meta http-equiv="
Content-Type" Content="text/htmlcharset=windows-1251">
        <link rel="
stylesheet" href="/css/index.css">
    </head>

    <body bgcolor=#e5e1be>

        <br>
        <center>

        <table border=0 width=95% cellspacing=0 cellpadding=2>
            <tr>
                <td colspan=2 style="
color:#392F10;font-weight:bold;font-size:16px">Функции сенатора<br><br></td>
                
<td align=right>
                    <
input class=button type=image src='".$config["img_server"]."/b_refresh.gif' value='обновить' onclick='window.location="senate.php"'>
                    <
input type=image src='".$config["img_server"]."/b_back.gif' value='вернуться' onclick='window.location="home.php"' class=button>

                </
td>
            </
tr>
            <
tr>
                <
td colspan=3>
                    <
a href="/manage/" target=_blank><b><u>открыть панель управления (в новом окне)</b></a>
                </
td>
            </
tr>
        </
table>
    </
body>
</
html>";

?>
Онлайн: 3
Реклама