Parašė NxS· 2009 Bir. 14 20:06:12
#1
Gal kas mokate prideti prie Kategoriju ir statistikos Paieska?
Stai kategorijos, na ta prasme reikia kad gale butu dar paieska tik aisku failu paieska o ne forumo ar t.t is anksto dekui:)
openside("Muzikos kategorijos");
echo "
<img src='/images/dir.png'> <a href='/downloads.php?cat_id=9'>79-99m. Hitai (& Remix)</a><br>
<img src='/images/dir.png'> <a href='/downloads.php?cat_id=8'>DnB/JumpStyle/Tck/Shuffles</a><br>
<img src='/images/dir.png'> <a href='/downloads.php?cat_id=5'>R&B/RAP/HIP-HOP</a><br>
<img src='/images/dir.png'> <a href='/downloads.php?cat_id=1'>Rusiška muzika </a><br>
<img src='/images/dir.png'> <a href='/downloads.php?cat_id=2'>Angliška muzika</a><br>
<img src='/images/dir.png'> <a href='/downloads.php?cat_id=3'>Lietuviška Muzika</a><br>
<img src='/images/dir.png'> <a href='/downloads.php?cat_id=7'>Rock/Hardcore/Punk/Metal</a><br>
<img src='/images/dir.png'> <a href='/downloads.php?cat_id=4'>Techno/Club/Trance/House</a><br>
<img src='/images/dir.png'> <a href='/downloads.php?cat_id=6'>Užsenietiška muzika</a><br>
<br>";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "° Muzikos: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT SUM(download_count) FROM ".$db_prefix."downloads");
echo "° Atsisiusta: [".dbresult($result, 0)."]<br>";
closeside();