Файл: archive/www/musimka.ru/foot.php
Строк: 146
<?
$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);
}
}
}
echo "<div class='div'><div class='mess'><center><a href = '/user/support.php'><img src='/i/q.png'><font color='#777777'> Служба поддержки пользователей</font></a></center></div></div>";
if($u){echo "<div class='clock'><img src='http://delowap.ru/icon/ico5/021.png'>"; $day=date("d.m"); echo date ("° Дата: d.m.Yг. "); echo "</div>";}
$gzib_pro = round(100 - (100/($gzib_file/$gzib_file_out)), 1);
echo '<a id="page-down"></a>';
if($u){
$cusers_online = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `online` > '".(time()-$system['online_time'])."'"), 0);
echo '<div style="
background: '.$fon.';
color: '.$color.';
padding: 6px;
"><div class = "down_menu">';
if($u['panel1'] == 0) {
echo '<a href = "/adm.php"><font color="'.$link.'">Помoщь</font></a> | ';}
if($u['panel1'] == 0) {
echo '<a href = "/index.php"><font color="'.$link.'">Гл</font></a> | ';
}
if($u['panel2'] == 0) {
echo '<a href = "?sid=Back" onclick="history.back()"><font color="'.$link.'">Наз</font></a> | ';
}
if($u['panel3'] == 0) {
echo '<a href = "/'.$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>';
//echo '<a href="?sid=Back" onclick="history.back()">Назад</a> ';
if($u['admin'] >=1){
} else {
}
echo " <div class='nav'><center><a href='/url.php?'>Ссылка на стр.</a>";
echo " <a href='/url.php?act=copy'>[Коп]</a> | "; if ($gzib_pro > 0 && $gzib_pro < 100){echo 'Cжатие: ' . $gzib_pro . '% </small>';} echo '<div style="text-align:right;"></center><a href="http://waplog.net/c.shtml?536140"><img src="http://c.waplog.net/536140.cnt" alt="waplog" /></a></br>';
echo " <div id='sharing_buttons'> <div class='pluso pluso-theme-color pluso-small' style='padding-left:0;'><a class='pluso-vkontakte' style='margin-right:6px;'></a><a class='pluso-odnoklassniki' style='margin-right:6px;'></a><a class='pluso-facebook' style='margin-right:6px;'></a><a class='pluso-twitter' style='margin-right:6px;'></a><a class='pluso-moimir' style='margin-right:6px;'></a><a class='pluso-livejournal' style='margin-right:6px;'></a><a class='pluso-google' style='margin-right:6px;'></a><a class='pluso-email' style='margin-right:6px;'></a></div> <script type='text/javascript'>if(!window.pluso){pluso={version:'0.9.1',url:'http://share.pluso.ru/'};h=document.getElementsByTagName('head')[0];l=document.createElement('link');l.href=pluso.url+'pluso.css';l.type='text/css';l.rel='stylesheet';s=document.createElement('script');s.src=pluso.url+'pluso.js';s.charset='UTF-8';h.appendChild(l);h.appendChild(s)}</script></div></div>";
} else {
require 'tgfo.php';
}
//echo '<div class="cred">';
//echo '<small><a href="http://m.vk.com/gold_spaces"><div class="h2">Денис Плешаков</div></a> / ';
if ($gzib_pro > 0 && $gzib_pro < 100)
{
//echo '<div class="h2">Cжатие: ' . $gzib_pro . '% </small></div>';
}
echo '</div>';
echo '</body></html>';
?>