Файл: www/and/index.php
Строк: 107
<?
include '../config.php';
div('Android');
echo '<div class="msg1">';
echo '<a href="/forum/?tid=35821"><img src="http://rugame.mobi/album/foto/19482/284066.png"></a></br>';
echo '<a href=""><img src="http://rugame.mobi/album/foto/19482/284065.png"></a></br>';
echo '<a href="/forum/?tid=36099"><img src="http://rugame.mobi/album/foto/19482/284063.png"></a></br>';
echo '<a href=""><img src="http://rugame.mobi/album/foto/19482/283544.png"></a></br>';
echo '<a href=""><img src="http://rugame.mobi/album/foto/19482/283543.png"></a></br>';
echo '<br/>';
$ntime = time() - (3600*24*1);
$total_and= mysql_result(mysql_query("SELECT COUNT(*) FROM `games_and` WHERE (`cat_id` > '0' && `cat_id` < '49');"),0);
$new_and = mysql_result(mysql_query("SELECT COUNT(*) FROM `games_and` WHERE (`added` > '".$ntime."' or `two_added` > '".$ntime."') and (`cat_id` > '0' && `cat_id` < '49');"),0);
if($new_and>0) $total_and.='/<a href="/android/new_ld/1/"><font color="red"><b>+'.$new_and.'</b></font></a>';
echo '<img src="http://rugame.mobi/ic_m9.gif"> <a href="/android/?rid=1">Игры</a> ['.$total_and.']<br/>';
$total_and_app = mysql_result(mysql_query("SELECT COUNT(*) FROM `games_and` WHERE (`cat_id` > '50' && `cat_id` < '99');"),0);
$new_and_app = mysql_result(mysql_query("SELECT COUNT(*) FROM `games_and` WHERE (`added` > '".$ntime."' or `two_added` > '".$ntime."') and (`cat_id` > '50' && `cat_id` < '99');"),0);
if($new_and_app>0) $total_and_app.='/<a href="/android/new_ld/2/"><font color="red"><b>+'.$new_and_app.'</b></font></a>';
echo '<img src="http://rugame.mobi/ic_m9.gif"> <a href="/android/?rid=2">Программы</a> ['.$total_and_app.']<br/>';
$total_and_app = mysql_result(mysql_query("SELECT COUNT(*) FROM `games_and` WHERE (`cat_id` > '50' && `cat_id` < '99');"),0);
$new_and_app = mysql_result(mysql_query("SELECT COUNT(*) FROM `games_and` WHERE (`added` > '".$ntime."' or `two_added` > '".$ntime."') and (`cat_id` > '50' && `cat_id` < '99');"),0);
if($new_and_app>0) $total_and_app.='/<a href="/android/new_ld/2/"><font color="red"><b>+'.$new_and_app.'</b></font></a>';
echo '<img src="http://rugame.mobi/ic_m9.gif"> <a href="/android/?rid=3">Темы</a> [0]<br/>';
$total_and_app = mysql_result(mysql_query("SELECT COUNT(*) FROM `games_and` WHERE (`cat_id` > '50' && `cat_id` < '99');"),0);
$new_and_app = mysql_result(mysql_query("SELECT COUNT(*) FROM `games_and` WHERE (`added` > '".$ntime."' or `two_added` > '".$ntime."') and (`cat_id` > '50' && `cat_id` < '99');"),0);
if($new_and_app>0) $total_and_app.='/<a href="/android/new_ld/2/"><font color="red"><b>+'.$new_and_app.'</b></font></a>';
echo '<img src="http://rugame.mobi/ic_m9.gif"> <a href="/android/?rid=4">Ромы для PSX4droid & FPSE</a> [0]<br/>';
$total_and_app = mysql_result(mysql_query("SELECT COUNT(*) FROM `games_and` WHERE (`cat_id` > '50' && `cat_id` < '99');"),0);
$new_and_app = mysql_result(mysql_query("SELECT COUNT(*) FROM `games_and` WHERE (`added` > '".$ntime."' or `two_added` > '".$ntime."') and (`cat_id` > '50' && `cat_id` < '99');"),0);
if($new_and_app>0) $total_and_app.='/<a href="/android/new_ld/5/"><font color="red"><b>+'.$new_and_app.'</b></font></a>';
echo '<img src="http://rugame.mobi/ic_m9.gif"> <a href="/android/?rid=5">Программирование</a> [0]<br/>';
echo '<br/>';
echo '» <a href="">Android TOP</a><br/>';
echo '» <a href="">Android поиск</a><br/>';
echo '» <a href="">Android новинки</a><br/>';
echo '» <a href="/info/adm_mod.php?ad=">Администрация раздела</a><br/>';
echo '</div>';
include '../foot.php';
echo '</div>';
?>