Файл: sys/inc/main_menu.php
Строк: 46
<?
echo "<a href='/mag_shop/'>";
echo "<div class='shop'>";
echo "<div class='navigator'>";
echo "<img src='/s-klub/img2/upload.png' alt='' /> ";
$all=mysql_result(mysql_query("SELECT COUNT(*) FROM `mag_shop_files`",$db), 0);
echo "Все товары (<font color='red'>$all</font>)<br/>";
echo '</div>';
echo '</div>';
echo "</a>";
echo "<a href='/mag_shop/new.php'>";
echo "<div class='shop'>";
echo "<div class='navigator'>";
echo "<img src='/s-klub/img2/save.png' alt='' /> ";
$new= mysql_result(mysql_query("SELECT COUNT(*) FROM `mag_shop_files` WHERE `time` > '".(time()-60*60*$set['loads_new_file_hour'])."'",$db), 0);
echo "Новые товары (<font color='red'>$new</font>)<br>";
echo '</div>';
echo '</div>';
echo "</a>";
echo "<a href='/mag_shop/search.php'>";
echo "<div class='shop'>";
echo "<div class='navigator'>";
echo "<img src='/s-klub/img2/search.png' alt='' /> ";
echo "Быстрый поиск<br />";
echo '</div>';
echo '</div>';
echo "</a>";
echo "<a href='/news/'>";
echo "<div class='shop'>";
echo "<div class='navigator'>";
echo "<img src='/s-klub/img/new.gif' alt='' /> ";
echo "Наши новости ";
echo "(<font color='red'>";
include_once H.'news/count.php';
echo "</font>)<br/>";
echo '</div>';
echo '</div>';
echo "</a>";
echo "<a href='/guest/'>";
echo "<div class='shop'>";
echo "<div class='navigator'>";
echo "<img src='/s-klub/img2/lj.gif' alt='' /> ";
echo "Гостевая ";
echo "(<font color='red'>";
include_once H.'guest/count.php';
echo "</font>)<br/>";
echo '</div>';
echo '</div>';
echo "</a>";
echo "<a href='/forum/'>";
echo "<div class='shop'>";
echo "<div class='navigator'>";
echo "<img src='/s-klub/ico/forum.png' alt='' /> ";
echo "Форум ";
echo "(<font color='red'>";
include_once H.'forum/count.php';
echo "</font>)<br/>";
echo "</div>";
echo "</div>";
echo "</a>";
echo "<a href='/loads/'>";
echo "<div class='shop'>";
echo "<div class='navigator'>";
echo "<img src='/s-klub/img2/import.png' alt='' /> ";
echo "Загрузки ";
echo "(<font color='red'>";
include_once H.'loads/count.php';
echo "</font>)<br/>";
echo '</div>';
echo '</div>';
echo "</a>";
echo "<a href='/oplata.php'>";
echo "<div class='shop'>";
echo "<div class='navigator'>";
echo "<img src='/s-klub/ico/dolar.png' alt='' /> ";
echo "Способы оплаты";
echo "<br />";
echo '</div>';
echo '</div>';
echo "</a>";
?>