File size: 2.1Kb
<?php
echo '<?xml version="1.0" encoding="utf-8"?>
<!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/vnd.wap.xhtml+xml; charset=UTF-8" />
<meta name="description" content="Promob - Мобильный портал" />
<meta name="keywords" content="Promob, promob.net, promob, мобильный, портал, мобила, мобилка, тел, зкщьщи, зкщьщи.туе, wap, общение, интернет, скачать, бесплатное, plato" />
<link rel="shortcut icon" href="'. URL .'/design/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="'. URL .'/design/style.css" type="text/css" />
<title>'. (isset($system['page_title'])?$system['page_title']:'Мобильный портал') .' | Promob</title>
</head>
<body>
<div class="head">
<a href="/"><span><i>Steam<b>CMS</b></i></span></a>
</div>
<div class="top">'. (isset($user)?'<a href="/user/cabinet.php">Личный кабинет</a>':'<a href="/user/entry.php">Авторизация</a>') .' | '. (isset($user)?'<a href="/user/exit.php">Выход</a>':'<a href="/user/registration.php">Регистрация</a>') .'</div>';
echo '<div class="adv">
<a href="#3">Здесь Бесплатно Всё!</a><br />
<a href="#4">Скачай новый Jimm 2011!</a><br />
<a href="#5">Java - чат Бесплатно!</a><br />
</div>';
if (isset($user) && mysql_result(mysql_query("SELECT COUNT(*) FROM `warn` WHERE `user_id` = '$user[id]' AND `read` = '0'"),0) > 0) echo '<div class="warn"><a href="/user/warn.php">Уведомления</a> ('. mysql_result(mysql_query("SELECT COUNT(*) FROM `warn` WHERE `user_id` = '$user[id]' AND `read` = '0'"),0) .')</div>';
$mail_k = mysql_result(mysql_query("SELECT COUNT(*) FROM `mail` WHERE `to_id` = '$user[id]' AND `read` = '0'"),0);
if ($mail_k > 0) echo '<div class="warn"><a href="/mail/">Личные сообщения</a> ('. $mail_k .')</div>';
?>