Файл: foot.php
Строк: 135
<?
$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 = round(100 - (100/($gzib_file/$gzib_file_out)), 1);
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 '<a href="#"onclick="history.back()"><font color="white">Назад</font></a> | '; echo '<a href="/" class="user_color_link">Главная</a> | '; echo '<a href="/chat.php" class="user_color_link">Чат</a> | '; echo '<a href="/forum.php" class="user_color_link">Форум</a> | '; echo '<a href="/duels.php" class="user_color_link">Дуэли</a> | '; echo '<a href="/garems.php" class="user_color_link">Гаремы</a> | '; echo '<a href="/diary.php" class="user_color_link">Дневники</a> | '; echo '<a href="/search.php" class="user_color_link">Знакомства</a> | '; echo '<a href="/lenta.php" class="user_color_link">Лента новостей</a>';
echo '</div>';
echo "</div>";
echo '<div class="copy"></div>';
echo '<center>© 2013-2014 <a href="http://unserhof.ru"><font color=red><b>UnSerHof.RU</b></font></a></center>';
echo '<center><font color=green><b>Снятие © СТРОГО ЗАПРЕЩЕНА!</b></font></center>';
} 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;">
<a href="#"onclick="history.back()"><font color="white">Назад</font></a> | <a href="/"><font color="white">Главная</font></a> | <a href="/chat.php"><font color="white">Чат</font></a> | <a href="/forum.php"><font color="white">Форум</font></a> | <a href="/duels.php"><font color="white">Дуэли</font></a> | <a href="/garems.php"><font color="white">Гаремы</font></a> | <a href="/diary.php"><font color="white">Дневники</font></a> | <a href="/search.php"><font color="white">Знакомства</font></a> | <a href="/lenta.php"><font color="white">Лента новостей</font></a></div></div>';
echo '<div class="copy"></div>';
echo '<center><font color=blue><b>All rights reserved.</b></font></center>';
echo '<center>© 2013-2014 <a href="http://unserhof.ru"><font color=red><b>UnSerHof.RU</b></font></a></center>';
}
echo '</body></html>';