Файл: foot.php
Строк: 107
<?php
$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);
}
}
}
$gzib_pro = (100 - (100/($gzib_file/$gzib_file_out)));
include 'core/rekl_menu.php';
if ($u['id']) {
?>
<style>
#panel_down {
color:<? echo $color['border'];?>;
font-size:<? echo $panel_down['font_size'];?>;
padding:8px 8px 8px 8px;
background-color:<? echo $color['fon'];?>;
}
#panel_down a:link,#panel_down a:visited {
color:<? echo $color['link'];?>;
text-decoration:none;
font-size:<? echo $panel_down['font_size'];?>;
}
#panel_down a:focus,#panel_down a:hover,#panel_down a:active {
color:<? echo $color['focus_link'];?>;
background-color:<? echo $color['focus_fon'];?>;
}
a.user_color_link {
color:<? echo $color['link'];?>;
}
</style>
<?
echo "<div id='panel_down'>n";
$links = mysql_query("SELECT * FROM `links_niz_user` WHERE `id_user` = '$u[id]' ORDER BY `pos` ASC");
while ($post = @mysql_fetch_array($links)) {
$linkq = mysql_fetch_array(mysql_query("SELECT * FROM `links_niz` WHERE `id` = '$post[id_link]' LIMIT 1"));
echo '<a href="' . $linkq['url'] . '" class="user_color_link">'.htmlspecialchars($linkq['sname']).'</font></a> | ';
}
echo '<center><a href="#"onclick="history.back()"><img src="/style/Home/back.png"></a> | <a href="/" class="user_color_link"><img src="/style/Home/home.png" width="16"></a> | <a href="/chat.php" class="user_color_link"><img src="/style/Home/chat.gif"></a> | <a href="/forum.php" class="user_color_link"><img src="/style/Home/forum.gif"></a> | <a href="/duels.php" class="user_color_link"><img src="/style/Home/duels.gif"></a> | <a href="/garems.php" class="user_color_link"><img src="/style/Home/garems.gif"></a> | <a href="/diary.php" class="user_color_link"><img src="/style/Home/diary.gif"></a> | <a href="/search.php" class="user_color_link"><img src="/style/Home/love.gif"></a></center></div></div>';
echo '<div class="copy"><center>© 2015 <a href="/"><font color=red><b>V SraKe</b></font></a></center></div>';
} else {
$cusers_online = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `online` > '".(time()-$system['online_time'])."'"), 0);
echo '<div style="color:#99F;font- size:small;padding: 4px 2px 5px 4px;background-color: #677FB3;border: 1px solid #ABBEFB;">
<center><a href="#"onclick="history.back()"><img src="/style/Home/back.png"></a> | <a href="/"><img src="/style/Home/home.png" width="16"></a> | <a href="/chat.php"><img src="/style/Home/chat.gif"></a> | <a href="/forum.php"><img src="/style/Home/forum.gif"></a> | <a href="/duels.php"><img src="/style/Home/duels.gif"></a> | <a href="/garems.php"><img src="/style/Home/garems.gif"></a> | <a href="/diary.php"><img src="/style/Home/diary.gif"></a> | <a href="/search.php"><img src="/style/Home/love.gif"></a></center></div></div>';
echo '<div class="copy"><center>© 2015 <a href="http://sraka.zz.mu"><font color=red><b>SrAkA</b></font></a>
<a href="http://wtope.ga/go/16"><img src="http://wtope.ga/imageOther/16" alt="wtope.ga"/></a>
</center></div>';
include "schet.php";
}
echo '</body></html>';