<link rel=\"shortcut icon\" href=\"/style/themes/favicon.ico\" />
<link rel=\"stylesheet\" href=\"/style/themes/<?=$set[\'set_them\']?>/style.css\" type=\"text/css\" />
</head>
<body>
<div class=\"body\">
<?php
header(\"Content-type: text/html\"
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>
<?php
if (isset($user) && isset($_GET[\'t\'])){
if ($webbrowser==\'WEB\')
{
$set_t=\'set_them2\';
}
else
{
$set_t=\'set_them\';
}
$wap=\'default\';
$web=\'web\';
if ($_GET[\'t\']==\'wap\')mysql_query(\"update `user` set `$set_t`=\'$wap\' where `id`=\'$user[id]\' limit 1\"
elseif ($_GET[\'t\']==\'web\')mysql_query(\"update `user` set `$set_t`=\'$web\' where `id`=\'$user[id]\' limit 1\"
header(\"location: $_SERVER[HTTP_REFERER]\"
}
if (file_exists(H.\"style/themes/$set[set_them]/head.php\")
include_once H.\"style/themes/$set[set_them]/head.php\";
else
{
$set[\'web\']=false;
if(isset($keyws))
echo \'<meta name=\"keywords\" content=\"\'.$keyws.\'\" />\';
if(isset($descr))
echo \'<meta name=\"description\" content=\"\'.$descr.\'\" />\';
echo \'
<link rel=\"shortcut icon\" href=\"/style/
themes/favicon.ico\" />
<link rel=\"stylesheet\" href=\"/style/
themes/\'.$set[\'set_them\'].\'/style.css\"
type=\"text/css\" /> </head>
<body>
<div class=\"body\">
\';
if(isset($user)){
$me = mysql_result(mysql_query(\'SELECT COUNT(*) FROM `mail` WHERE `id_kont` = \"\'.$user[\'id\'].\'\" AND `read` = \"0\"\'), 0);
$nn = mysql_result(mysql_query(\'SELECT COUNT(*) FROM `notification` WHERE `id_kont` = \"\'.$user[\'id\'].\'\" AND `read` = \"0\"\'), 0);
if($me > 0 || $nn > 0)
echo \"<div class=\'user\' align=\'right\'>\";
if($nn > 0)
echo \'<a href=\"/notification/\"><img style=\"vertical-align: middle;\" src=\"/style/images/00037.png\" alt=\"img\" class=\"icon\"/></a> + \'.$nn.\' \';
if($me > 0)
echo \' <a href=\"/mail/new.php\"><img style=\"vertical-align: middle;\" src=\"/style/images/00036.png\" alt=\"img\" class=\"icon\"/></a> + \'.$me.\'\';
if($me>0 || $nn>0)
echo \"</div>\";
}
echo\'<a href=\"/index.php\"><div class=\"title\"><img src=\"/system/themes/logo.png\" alt=\"logo\" /></a>\';
echo \'<span style=\"float: right;padding-top:6px;padding-right:3px;padding-left:2px;\"><b>\'.vremja($time[\'date_last\']).\' </span></b></div>\';
?>
Xwm, не ну ты скажи что ты этим хотел сказать!
Что ты ЛОх, нихрена не шаришь, и еще что-то питаешся доказать !!!