Файл: go9010.ru/moduls/all.php
Строк: 16
<?php
$title = 'Список заказов';
require ('../core/sys.php');
require ('../core/head.php');
?><div class="title"> Список заказов</div>
<?
$kount = $db->prepare('SELECT * FROM `platform` WHERE `time` > ?');
$kount -> execute([time()]);
$kount = $kount -> rowCount();
if($kount == 0){
?><div class="menu"><center>Пусто</center></div><?
}
$all = $db->prepare('SELECT * FROM `platform` WHERE `time` > ? ORDER BY `time` DESC');
$all -> execute([time()]);
$all = $all -> fetchAll();
foreach($all as $row){
?>
<div class="menu"><table width="100%" border="0px"><tbody><tr>
<td width="150px" height="60px"><iframe width="150"
height="60" src="<?=$row['url'];?>">Для отображения
включите iframe</iframe></td>
<td width="auto" align="left"><b>URL:</b> <img
src="http://www.google.com/s2/favicons?domain=<?=$row['url'];?>"> <a href="<?=$row['url'];?>"><?=$row['url'];?></a><br>
<strong>Активна до: </strong> <?=vremja($row['time']);?><br></td></tr></tbody></table></a></div><?
}
require ('../core/foot.php');
?>