Файл: vsime.com/system/includes/head_web.php
Строк: 128
<?
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>
<title><?echo $set['title'];?></title>
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="/style_site/web/7O4gJdehCY6CgKIYYs1b2.css" type="text/css" />
<style type="text/css">
.pull-right{position: absolute; right:60px; top:0px;}
.span9{background: white;}
div.err {
background: #f5e9e9;
background-image: -o-linear-gradient(top, #f5e9e9, #f0d8d8);
background-image: -webkit-gradient(linear,left top,left bottom,from(#f5e9e9),to(#f0d8d8));
background-image: -moz-linear-gradient(top,#f5e9e9,#f0d8d8);
padding: 9px 10px;
margin: 1px;
color: #666;
border: 1px solid #a1757e !important;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.headering {
background-color: rgb(234, 238, 244);
border-bottom-color: #B3B3B3;
border-bottom-style: solid;
border-bottom-width: 1px;
padding: 10px 10px;
}
.line, .list {
background: #fcfcfc;
background: -o-linear-gradient(top, #FFFFFF, #F2F2F3);
background: -webkit-gradient(linear,left top,left bottom,from(#FFFFFF),to(#F2F2F3));
background: -moz-linear-gradient(top,#FFFFFF,#F2F2F3);
background: -ms-linear-gradient(top,#FFFFFF,#F3F3F3#F2F2F3);
border-bottom: 1px solid #cccaca;
padding: 10px 11px;
border-left: 1px solid #b3b3b3;
border-right: 1px solid #b3b3b3;
}
#leftsid {
width: 300px;
float: left;
padding-left: 20px;
}
#rightsid {
width: 300px;
float: right;
padding-right: 20px;
}
.leftsid_big {
margin-bottom: 3px;
font-size: 20px;
font-weight: 700;
color: #eee;
text-shadow: #000 0 1px 2px;
}
.leftsid_small {
color: #eee;
text-shadow: #000 0 1px 2px;
}
.text_well {
margin-bottom: 3px;
font-size: 20px;
font-weight: 700;
color: #000;
text-shadow: #fff 0 1px 2px;
}
div.busi {
display: block;
padding: 9.5px;
font-size: 13px;
line-height: 20px;
background-color: whiteSmoke;
border-bottom: 1px solid #b3b3b3;
}
body {
padding-top: 60px;
padding-bottom: 40px;
background: url(/style_site/web/bg.jpg) fixed;
-moz-background-size: 100%; /* Firefox 3.6+ */
-webkit-background-size: 100%; /* Safari 3.1+ и Chrome 4.0+ */
-o-background-size: 100%; /* Opera 9.6+ */
background-size: 100%; /* Современные браузеры */;
}
.sidebar-nav {
padding: 9px 0;
}
@media (max-width: 900px) {
/* Enable use of floated navbar text */
.navbar-text.pull-right {
float: none;
padding-left: 5px;
padding-right: 5px;
}
}
</style>
<!-- <script type="text/javascript" src="/style/snowstorm.js"></script> -->
<script type="text/javascript" src="/swf/bootstrap.min.js"></script>
<script type="text/javascript" src="/swf/bootstrap.js"></script>
</head>
<body>
<?
$knm=mysql_result(mysql_query("SELECT COUNT(*) FROM `mail` WHERE `id_kont` = '$user[id]' AND `read` = '0'"), 0);
$nj=mysql_result(mysql_query("SELECT COUNT(*) FROM `jurnal` WHERE `id_kont` = '$user[id]' AND `read` = '0'"), 0);
$knl=mysql_result(mysql_query("SELECT COUNT(*) FROM `lenta` WHERE `id_kont` = '$user[id]' AND `read` = '0'"), 0);
$knadm=mysql_result(mysql_query("SELECT COUNT(*) FROM `spamus` WHERE `read` = '0'"), 0);
$knpres=mysql_result(mysql_query("SELECT COUNT(*) FROM `present_jurnal` WHERE `id_user` = '$user[id]' AND `read` = '0'"), 0);
if(isset($user)){
echo '
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="nav-collapse collapse">
<p class="navbar-text pull-right">
<a href="/exit"><img src="/style_site/img_web/exit.png"></a>
</p>
<ul class="nav">
<li class="active"><a href="/"><img src="/style_site/img_web/logo_web.png"></a></li>';
echo "
<li> <a href='/dating/index'>Знакомства</a></li>
<li> <a href='/group'>Группы</a></li>
<li> <a href='/info'>помощь</a></li>
<li> <a href='/guestbook/index'>беседка</a></li>
<li> <a href='/smiles/list'>смайлы</a></li>
<li> <a href='/games'>Игры</a></li>
<li> <a href='/obj'>Обьявления</a></li>
<li> <a href='/users/online'>онлайн: ".mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` >".(time()-3600).""), 0)." </a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
";
}else{
}
echo '</ul>
</div>
';
include_once 'left_menu.php';
?>