Файл: _core/config/rand.php
Строк: 19
<div class="wrapper">
<div class="wrapper2">
<h4 class="news"><img src="<?=$papka?>slyle/images/zag.png" alt="" /> Схожие запросы</h4>
<div class="blm3">
<?$m = kol(core::$dbs->querySingle("SELECT COUNT(id) FROM obr"),$page,$cop)?>
<?if(!$m[1]):?>
Пусто
<?require_once(dirname(__FILE__).'/../../foots.php')?>
<?exit?>
<? endif ?>
<?$array = core::$dbs->query("SELECT count, text, time FROM obr ORDER BY rand() DESC LIMIT $m[0],$rand")?>
<?while($arr = $array->fetch()) : ?>
<a class="link" href="<?=$papka?>results/<?=out($arr['text'])?>/"><img src="<?=$papka?>slyle/images/1.png" alt=""/> <?=out($arr['text'])?> [Обр: <span class="hit"><?=num($arr['count'])?></span> - <?=out(times($arr['time']))?>]</a>
<? endwhile ?>
</div>
</div>
</div>
<?require_once(dirname(__FILE__).'/../../foots.php')?>