Файл: pesn_voini/peseni_vojni/instalscript/engine/_inc/str/head.php
Строк: 58
<?
// 3020.ru - скрипты скачать можно тут
function head($title,$uid){
$user = fch("SELECT * FROM `users` WHERE `id` = ?", array(number($uid)));
$r = mt_rand(1000,9999);
$title = checking($title);
echo "
<!DOCTYPE html>
<meta name = 'viewport' content = 'width=device-width, initial-scale=1'>
<head>
<meta charset = 'utf-8'>
<title>".$title."</title>
<link href = '/instalscript/main/style.css?r=".$r."' rel = 'stylesheet'>
<link rel = 'icon' href = '/instalscript/main/favicon.ico' type = 'image/x-icon'>
<link rel = 'shortcut icon' href = '/instalscript/main/favicon.ico'>
<script src = '/instalscript/script/jquery.js'></script>
<meta viewport = 'width=device-width'>
</head>
<body>
<div class = 'head'></div>
";
if($user != null){
UserUpdateTime($uid);
}
echo "<div class = 'is'>";
if($user != null){
//
//
//
//if($user['id'] == 1){
echo "<div class = 'title cntr'>
<div class = 'title-text'><font size='3'><small>
<table style='width:100%;'><tr>
<td style='width: 33%;' class='cntr'>
<img class = '' src = '/instalscript/images/user/stat/money-gold.gif'> ".$user['gold']."</td>
<td style='width: 33%;' class='cntr'>
<img class = '' src = '/instalscript/images/user/stat/energy.png' width='13' height='13'> ".$user['energy']." / ".$user['energy_max']."
</td>
<td style='width: 33%;' class='cntr'><img class = '' src = '/instalscript/images/user/stat/money-silver.gif'> ".$user['silver']."</td></tr></table>
</font></small></div></div>";
/*
}else{
echo "<div class = 'title cntr'>
<div class = 'title-text'>".$title."</div></div>";
}
*/
echo "<div class = 'mrg'>
<div class = 'city-menu'>";
//
$new_msg = fch("SELECT * FROM `mail` WHERE `id_ank` = ? AND `check` =? LIMIT 1", array(number($uid),1));
//
if($user['forum_check'] > 0)echo "<div class='message cntr'><a href='/notification/'><font color='lime'>Вам ответили на форуме</font></a></div>";
//
if($new_msg > 0)echo "<div class='message cntr'><a href='/contacts/'><font color='lime'>Новая почта</font></a></div>";
//
//
}
}
if($location == true){
//
}
?>