Файл: top_reit/rustats.su/style/tpl/web/head.php
Строк: 45
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="shortcut icon" href="/style/favicon.ico" />
<link rel="stylesheet" href="/style/style_web.css" type="text/css" />
<title><? echo $Title;?></title>
</head>
<body>
<div id="content"><!-- Контент -->
<?
if(isset($_SESSION['message'])){
echo '<div class="h1"><center>'.$_SESSION['message'].'</center></div>';
unset($_SESSION['message']);
}
if(!isset($user['id'])){
?><div class="main">
<div class="header">
<div class="header_resize">
<div class="menu_nav">
<ul>
<li class="active"><a href="/enter/login">Авторизация</a></li>
<li class="active"><a href="/enter/registration">Регистрация</a></li>
<li><a href="/news">Новости</a></li>
<li><a href="/site/contacts">Контакты</a></li>
<li><a href="/site/statistic">Статистика</a></li>
</ul>
</div>
<?
}else{
?>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="menu_nav">
<ul>
<li class="active"><a href="/cabinet">Кабинет</a></li>
<?if($user['admin']==2){?> <li class="active"><a href="/admin">Админка</a></li><?}?>
<li><a href="/news">Новости</a></li>
<li><a href="/site/contacts">Контакты</a></li>
<li><a href="/site/statistic">Статистика</a></li>
<li><a href="/enter/logout">Выход</a></li>
</ul>
</div>
<?
}
?>
<div class="logo">
<a href=/><img src="/style/images/logo.png" title="ТОП-100"></a>
</div>
<div class="clr"></div>
</div>
</div>
<div class="content">
<div class="content_resize">
<div class="mainbar">