Файл: style/foot.php
Строк: 42
<?
# BLOK ADV FOOT #
$twoz = DB::run() -> query("SELECT * FROM `adv`");
if($twoz -> rowCount() > 0){
echo'<div class="menu">';
$foreache = DB::run()->query("SELECT * FROM `adv` WHERE `gde` = 'foot'");
$foreache = $foreache -> fetchAll();
foreach($foreache AS $forse){
echo '<a href="/pages/go.php?id='.$forse['id'].'">'.$forse['name'].'</a><br />';
}
echo'</div>';
}
list($msec,$sec)=explode(chr(32),microtime());
#############
echo'<div id="navig"><table style="width:100%" cellspacing="0" cellpadding="0"><tr><td style="border-right:solid;border-width:1px">
<a class="top_menu_link" href="/" title="Home"><img src="/images/home.png" alt=""></a></td>
<td style="border-right:solid;border-width:1px;">
<a class="top_menu_link" href="/diary/" title="Дневнеки"><img src="/style/new/blog.png" alt=""></a></td>
<td style="border-right:solid;border-width:1px;">
<a class="top_menu_link" href="/forum/" title="форум"><img src="/style/new/index.png" alt=""></a></td>
<td style="border-right:solid;border-width:1px;">
<a class="top_menu_link" href="/chat/"title="Чат"><img src="/style/new/chat.gif" alt=""</a></td>
<td style="border-right:solid;border-width:1px;">
<a class="top_menu_link" href="/news/"title="Новости"><img src="/images/new.gif" alt=""></a></td>
</table></div>';
#############
echo'<div class="footer"><div style="overflow: hidden"><div style="float: left"> © <a href="http://'.SITE.'"><font color="#FFFFFF">'.NAME.'</font></a> </div><div align="right">v2.1';
$inzet = DB::run() -> queryFetch("SELECT * FROM `setting` WHERE `id`=? LIMIT 1",array(1));
if($inzet['check_key'] == 'checked' && $inzet['key'] == !NULL){echo'<a href="/pages/lisen.php"><img src="/images/ok.png"></a>';}else{echo'<a href="/pages/lisen.php"><img src="/images/no.png"></a>';}
echo'</div></div></div>';
echo'</body></html>';
?>