<?php
defined('GCMS') or die('ОШИБКА!');
$rekl1 = $db -> query("SELECT `url`,`title`,`time` FROM `reklama` WHERE `poz`='0' and `type`<>'ban' and `time` > '".time()."'");
if ($rekl1 -> num_rows > 0) {
while ($rek1 = $rekl1 -> fetch_assoc()) {
echo '<div class="menu"><a href="/exit.php?mode='.$rek1['url'].'&do='.$rek1['url'].'&act='.shit($_SERVER['REQUEST_URI']).'" class="menutuch">'.$diz -> img('rek.png').' '.$rek1['title'].' </a></div>';
}
}
?>