View Single Post
Old September 5th, 2005, 01:58 PM   #10 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Okay well I am just giving you ideas here we dont support code hacking. Try this as this is what I told you to do.

$query = "SELECT id,user,userid,cat,storecat,title,bigimage,views,height,width FROM {$Globals['pp_db_prefix']}photos WHERE approved='1' AND storecat='0' AND date > UNIX_TIMESTAMP( DATE_SUB(NOW(), INTERVAL 14 DAY) ) ORDER BY views DESC LIMIT $grabnum";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote