Файл: vkollektive2014/foot.php
Строк: 140
<?
$Contents = ob_get_contents();
$gzib_file = strlen($Contents);
if ($support_deflate)
{
$gzib_file_out = strlen(gzdeflate($Contents,9));
}
else
{
if ($support_gzip)
{
$gzib_file_out = strlen(gzencode($Contents,9));
}
else
{
if ($support_x_gzip)
{
$gzib_file_out = strlen(gzcompress($Contents,9));
}
else
{
$gzib_file_out = strlen($Contents);
}
}
}
# Админка
$admin_jurnal = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `admin_jurnal`"), 0);
$admin_jurnal2 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `admin_jurnal` WHERE `time` > '".(time()-(30*30*12))."'"), 0);
if($admin_jurnal2 > 0) $admin_jurnal_new = '<font color = "red">+'.$admin_jurnal2.'</font>';
##########ADMIN PANEL SITE
if ($u['admin_panel_fuck'] == 0) {
if($u['admin'] == 1 || $u['admin'] == 2){
echo '<div class="div">';
echo '<small> <a href="/adminka.php">Адм. Панель </a> ['.$admin_jurnal.'|'.$admin_jurnal_new.']';
echo '| <a href="/adminka.php?act=jurnal">Журнал операций </a> ['.$admin_jurnal.'|'.$admin_jurnal_new.']';
echo ' | <a href="/adminka.php?act=sistem"> Информ. о сервере</a></small>';
echo '</div>';
}
}
#########
if ($u['set_date_user'] == 0) {
echo "<div class='clock'>"; $day=date("d.m"); echo date ("° Дата: d.m.Yг. "); echo "</div>";
}
#######
if ($u['ukraw'] == 0) {
echo'<div class="logo2"></div>';
}
#$gzib_pro = round(100 - (100/($gzib_file/$gzib_file_out)), 1);
#echo '<a id="page-down"></a>';
$cusers_online = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `online` > '".(time()-$system['online_time'])."'"), 0);
#background: '.$fon.';
echo '<div style="
background: '.$fon.';
color: '.$color.';
padding: 8px;
"><div class = "down_menu">';
if($u['panel1'] == 0) {
echo '<a href = "/index.php"><font color="'.$link.'">Главная</font></a> | ';
}
if($u['panel3'] == 0) {
echo '<a href = "/page.php?id='.$u['id'].'"><font color="'.$link.'">Дом</font></a> | ';
}
if($u['panel4'] == 0) {
echo '<a href = "/forum.php"><font color="'.$link.'">Фор</font></a> | ';
}
if($u['panel5'] == 0) {
echo '<a href = "/chat.php"><font color="'.$link.'">Чат</font></a> | ';
}
if($u['panel6'] == 1) {
echo '<a href = "/diary.php"><font color="'.$link.'">Дн-ки</font></a> | ';
}
if($u['panel7'] == 1) {
echo '<a href = "/arbour.php"><font color="'.$link.'">Бес</font></a> | ';
}
if($u['panel8'] == 1) {
echo '<a href = "/lenta.php"><font color="'.$link.'">События</font></a> | ';
}
if($u['panel9'] == 1) {
echo '<a href = "/gazeta.php"><font color="'.$link.'">Жур</font></a> | ';
}
if($u['panel10'] == 1) {
echo '<a href = "/microblog.php?act=all"><font color="'.$link.'">Блоги</font></a> | ';
}
if($u['panel11'] == 1) {
echo '<a href = "/users.php?act=go&online=1"><font color="'.$link.'">On</font></a><font color="'.$nlink.'"> '.$cusers_online.'</font> | ';
}
if($u['panel10'] == 1) {
echo '<a href = "/login.php?out=1"><font color="'.$link.'">Выход</font></a> | ';
}
if($u['panel12'] == 0) {
echo '<a href = "/panel.php"><font color="'.$link.'">[+]</font></a></td>';
}
echo '</div></div>';
if ($u['ukraw'] == 0) {
echo'<div class="logo2"></div>';
}
if ($u['navigac'] == 0) {
echo "<div class = 'div'><a href='/url.php?'>Ссылка</a>";
echo " | <a href='http://vkollektive.net/forum.php?act=forum&id=2'>Помощь</a> ";
echo '</div>';
}
echo '</div>';
#echo"<div class='div'><small><a href='/forum.php?act=forum&id=2'>Тех. Поддержка</a> | <a href='/about/'>Инфо</a> </small></div>";| <a href='/url.php?act=copy'>Коп.ссылку</a>
if ($u['setrekl'] == 0) {
echo'<script type="text/javascript" src="http://c.waptut.ru/8684/small.js"></script><noscript><a href="http://waptut.ru/in.go?id=8684"><img src="http://c.waptut.ru/8684/small.png" alt="Waptut.ru - Рейтинг сайтов" /></a></noscript>';
echo '</body></html><a href="http://statok.net/go/3314"><img src="http://statok.net/imageOther/3314" alt="Statok"/></a>';
echo' <a href="http://firetop.su/go/1214"><img src="http://firetop.su/imageOther/1214" alt="FireTop.su"/></a><br/>';
}
?>