Файл: archive/www/musimka.ru/thead.php
Строк: 142
<?
/**
*/
echo "<a href='/index.php'><div class='zima'><img src='/363.png'></a></div>"; if($u['setting_theme']){
$theme = '/themes/'.$u['setting_theme'].'/';
if(!is_dir($theme)){
$theme = '/themes/default/';
}
} else {
$theme = '/themes/default/';
}
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>
<!--1345106472-->
<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=utf-8"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="cache-control" content="must-revalidate"/>
<meta http-equiv="cache-control" content="no-store"/>
<meta name="keywords" content="Знакомства, общение, форум, чат, развлечения, онлайн игры, приложения, конкурсы, загрузки, библиотека, фан клубы, фото-бои, Wap Базар">
<meta name="description" content="Мир Друзей, Приятных Знакомств и Яркого Общения! Знакомства, общение, форум, чат, развлечения, онлайн игры, приложения, конкурсы, загрузки, библиотека! Заходи и найди у нас, отдых по душе!">
<meta name="author" content="musimka">
<meta name="copyright" content="Musimka.ru">
<meta name="generator" content="Musimka_core">
<meta name="reply-to" content="Admin@musimka.ru">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="'.$theme.'style.css" type="text/css"/>
<title>'.$title.'</title>
</head>
<body>';
if($u['id']){
echo '<div style="
background-color: #b4c8e9;
color: #434e60;
padding:0px 0px 0px 0px;
margin: 0px;
line-height: 19px;
">';
echo ' <div class="p1">
<table style="width:100%" cellspacing="0" cellpadding="0"><tr>
<td style="vertical-align:top;width:5%;border-right: 1px solid #D4EEFF;white-space: nowrap;"><a href = "/index.php"style="text-align:center;display:block;padding:5px;font-size: small;"><img src="i/house.png"></a></td>
<td style="vertical-align:top;width:24%;border-right: 1px solid #D4EEFF;white-space: nowrap;"><a href = "/page.php"style="text-align:center;display:block;padding:5px;font-size: small;"><font color="#ffffff">'.$u['login'].'</font></a></td>
<td style="vertical-align:top;width:5%;border-right: 1px solid #D4EEFF;white-space: nowrap;"><a href = "/login.php?out=1"style="text-align:center;display:block;padding:5px;font-size: small;"><img src="i/exit.png"></a></td>
</tr></table></div></div>';
if($u['admin'] ==1 || $u['admin'] ==2){
$count_spam = mysql_result(mysql_query("SELECT COUNT(*) FROM `spam`"), 0);
if($count_spam){
if($count_spam) echo '<div class="cred"><a href = "adminka.php?act=spam">Спам почта</a> (<font color="red">+'.$count_spam.'</font>)</div>';
}
}
echo '</div>';
mysql_query("UPDATE `users` SET `online` = '".time()."', `location` = '$location', `chat_location` = '$chat_location' WHERE `id` = '".$u['id']."'");
if($u['online']){
$timeplus = time()-$u['online'];
if($timeplus < $system['online_time']){
mysql_query("UPDATE `users` SET `anketa_alltime` = '".($u['anketa_alltime'] + $timeplus)."' WHERE `id` = '".$u['id']."'");
} else {
mysql_query("UPDATE `users` SET `anketa_alltime` = '".($u['anketa_alltime'] + $system['online_time'])."' WHERE `id` = '".$u['id']."'");
}
}
} else {
echo '<div style="
background-color: #b4c8e9;
color: #434e60;
padding:0px 0px 0px 0px;
margin: 0px;
line-height: 19px;
">';
echo ' <div class="p1">
<table style="width:100%" cellspacing="0" cellpadding="0"><tr>
<td style="vertical-align:top;width:5%;border-right: 1px solid #D4EEFF;white-space: nowrap;"><a href = "/index.php"style="text-align:center;display:block;padding:5px;font-size: small;"><img src="i/house.png"></a></td>
<td style="vertical-align:top;width:24%;border-right: 1px solid #D4EEFF;white-space: nowrap;"><a href = "/registration.php"style="text-align:center;display:block;padding:5px;font-size: small;"><font color="#ffffff">Регистрация</font></a></td>
<td style="vertical-align:top;width:5%;white-space: nowrap;"><a href = "/login.php"style="text-align:center;display:block;padding:5px;font-size: small;"><img src="i/auth.png"></a></td>
</tr></table></div></div>';
}
?>