Файл: foot.php
Строк: 31
<?
list($msec, $sec) = explode(chr(32), microtime());
// навигация
if (isset($user) && $_SERVER['PHP_SELF']!='/index.php') {
$FootNav = mysql_query("SELECT `link`, `name` FROM `foot_links` WHERE `user` = '$user[id]' ORDER BY `sort` ASC");
echo "<div class='foot_page'>n";
while($FootLink = mysql_fetch_assoc($FootNav)) {
echo ' <a href="'.$FootLink['link'].'">'.$FootLink['name'].'</a> | ';
}
echo ' <a href="/foot_set.php">+</a>';
echo "</div>";
} elseif ($_SERVER['PHP_SELF']!='/index.php') {
//Для гостей
echo "<div class='foot_page'>n";
echo ' <a href="/index.php?">Гл</a> | <a href="/user/love/index.php?">Знак</a> | <a href="/chat/index.php?">Чат</a> | <a href="/forum/index.php?">Фор</a> | <a href="/obmen/index.php?">ЗО</a> | <a href="/plugins/rules/index.php?">Пом</a>';
echo "</div>";
}
//end
echo '<div class="copy">';
echo '<center>© <font style="text-transform: capitalize;">' . htmlspecialchars($_SERVER['HTTP_HOST']) . '</font> - 2013г</center>';
echo '</div>';
echo "<div class='rekl'>n";
$page_size = ob_get_length(); ob_end_flush();
rekl(3);
echo "</div>";
echo "</body>n</html>";
exit;
?>