SELECT subject as title, concat('http://blog.hr369.com/?viewspace-',`itemid`) as blogurl ,`dateline` FROM supe_spaceitems where `type`='blog' and `dateline` >= UNIX_TIMESTAMP(NOW())-604800 order by viewnum desc
SELECT subject as title, itemid as blogid , dateline FROM hr369_blog.supe_spaceitems where `type`='blog' and `dateline` >= UNIX_TIMESTAMP(NOW())-604800 order by viewnum desc