Файл: vsime.com/devices/inc/act_producers.php
Строк: 27
<?
$navigation .= " / Производители";
$title .= " / Производители";
ex_head();
echo "<div class='grand_h'>n";
echo "<table>n";
echo "<td><a href='/devices'><span class='block_l'>Популярные</span></a></td>n";
echo "<td><span class='block_l'>Производители</span></td>n";
echo "<td><a href='/devices/?act=search'><span class='block_l'>Поиск</span></a></td>n";
echo "</table>n";
echo "</div>n";
$query = mysqli_query($dbi, "SELECT * FROM `devices_cat`");
while ($post = mysqli_fetch_array($query)) {
echo "<div class='list'>n";
echo WapWeb_show("", "<img src='/i/site/phone.png' class='icon' />")." <a href='?act=producer&id_producer=$post[id]'>".hsc($post['name'])." (".mysqli_result("SELECT COUNT(*) FROM `devices_list` WHERE `id_cat` = '$post[id]'").")</a>n";
echo "</div>n";
}
echo "<div class='foot'>n";
echo image_back()." <a href='/devices'>Назад</a><br />n";
echo "</div>n";
ex_foot();
?>