31
Mods & Plugins (Releases & Support) / Re: [Mod] Let visitors to chose how to sort images(date,name,..)
« on: August 22, 2010, 09:00:10 PM »
I've been looking in this mod and don't think its possible, but I'll ask:
is it possible to show images with most hits from last month (ORDER BY images_hits DESC && WHERE image_date > ".$last month.")
I know that i can get last month date by:
is it possible to show images with most hits from last month (ORDER BY images_hits DESC && WHERE image_date > ".$last month.")
I know that i can get last month date by:
Code: [Select]
$last_month = time() - 60 * 60 * 24 * 7 * 30;