PDA

View Full Version : 5 random adoptables


zhiichiro
04-24-2009, 01:04 PM
only those on top 10 where shown on 5 random adoptables..

i think it should show 5 other pets..

and can i make it.. 20 random adoptables?

BMR777
04-24-2009, 01:27 PM
only those on top 10 where shown on 5 random adoptables..

i think it should show 5 other pets..

and can i make it.. 20 random adoptables?


Yeah, you can make it 20. In stats.php find:

$query = "SELECT * FROM ".$prefix."owned_adoptables ORDER BY totalclicks DESC LIMIT 5 OFFSET ".$offset."";

Change LIMIT 5 to LIMIT 20 for this to work. :)

zhiichiro
04-25-2009, 10:55 AM
where can i change it??

BMR777
04-25-2009, 04:09 PM
In stats.php. :)