View file top_reit/rustats.su/style/tpl/wap/head.php

File size: 1.5Kb
<!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.css" type="text/css" />
	<script type="text/javascript" src="/js/jquery.js"></script>
	<script type="text/javascript" src="/js/main.js"></script>
	<title><? echo $Title;?></title>
</head>
<body>
	<div class="logo1"><a href=/><img src="/style/images/wap/logo.png" alt="logo" /></a> <span class = "rm"><a id="up"href="#"><img src="/style/images/wap/rm.png"></a></span></div>
        <div id="hide">	
        <?if(!isset($user['id'])){?>		
<a class="link" href="/enter/login"><img src="/style/images/wap/review.png"> Вход</a>
<a class="link" href="/enter/registration"><img src="/style/images/wap/review.png"> Регистрация</a>
<?}else{?>
<a class="link" href="/cabinet"><img src="/style/images/wap/review.png"> Кабинет</a>
<?if($user['admin']==2){?><a class="link" href="/admin"><img src="/style/images/wap/review.png"> Админка</a><?}?>
<a class="link" href="/enter/logout"><img src="/style/images/wap/review.png"> Выход</a>
<?}?>
		</div>
	<?

	if(isset($_SESSION['message'])){
 echo '<div class="h1"><center>'.$_SESSION['message'].'</center></div>';
 unset($_SESSION['message']);   
}
?>