Файл: sys/inc/tfoot.php
Строк: 50
<nav class='navbar navbar-light' style='background-color: #FFF; border: 1px #e1e8ed solid;'>
<ul class='nav navbar-nav'>
<li class='nav-item'><a class='nav-link' href='/' data-toggle='tooltip' data-placement='right' title='На главную'><span class='fa fa-home fa-fw fa-lg'></span></a></li>
<?php
if (isset($user)) {
if ($user['show_foot'] == 'on') {
$links = mysql_query("SELECT * FROM `links_foot_user` WHERE `id_user` = '$user[id]' ORDER BY `pos` ASC");
while ($post = mysql_fetch_array($links)) {
$link = mysql_fetch_array(mysql_query("SELECT * FROM `links_foot` WHERE `id` = '$post[id_link]' LIMIT 1"));
echo "<li class='nav-item'><a class='nav-link' href='$link[url]' data-toggle='tooltip' data-placement='top' title='$link[name]'><i class='$link[icon] fa-fw fa-lg'></i></a></li>n";
}
echo "<li class='nav-item'><a class='nav-link' href='/user/links' data-toggle='tooltip' data-placement='top' title='Добавить ссылку'><i class='fa fa-plus fa-fw fa-lg'></i></a></li>";
}
?>
<div class="dropdown" style="float: right;">
<span data-toggle='tooltip' data-placement='left' title='Выход'>
<a href="/exit.php" class="nav-link"><span class="fa fa-power-off fa-fw fa-lg"></span></a>
</span>
</div>
<?php
}
?>
</ul>
</nav>
<?php
$rekl = mysql_result(mysql_query("SELECT COUNT(*) FROM `rekl` WHERE `sel` = '3'"), 0);
if ($rekl > 0) {
echo "<div class='list-group-item list-group-item-warning' style='margin-top: -1px;'>n";
rekl(3);
echo "</div>n";
}
?>
</div>
</body>
</html>
<?php
exit;