4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: dosensteck on June 13, 2005, 04:59:55 PM

Title: Top Images of month?
Post by: dosensteck on June 13, 2005, 04:59:55 PM
is it possible to show the top image statistics of a month?

for example: top.php?month=may

similarly as: top.php?catid=xx

ps: sorry for the bad english
Title: Re: Top Images of month?
Post by: dosensteck on June 17, 2005, 12:39:45 AM
hm, keiner eine idee dazu?
Title: Re: Top Images of month?
Post by: Loda on July 20, 2005, 06:56:06 PM
hallo!
ersetze mal diese zeile:
Code: [Select]
WHERE i.image_active = 1 AND i.cat_id NOT IN ($cat_id_sql) AND i.cat_id = c.cat_id durch diese:
Code: [Select]
WHERE i.image_active = 1 AND i.cat_id NOT IN ($cat_id_sql) AND i.cat_id = c.cat_id AND i.image_date >= ".(mktime(0, 0, 0, date("m")  , 1, date("Y")))."
ich glaube, es müsste gehen..
ansonsten mal die suchfunktion benutzen.