Incorrect DATETIME value: ''SQL=select a.username,pagetext,b.*, from_unixtime(b.lastpost)>'' as new_post, d.thumb, a.postid,
date_format(from_unixtime(a.dateline),'%m-%d-%Y %h:%i%p') as dp,
group_id,c.registry_id,from_unixtime(b.lastpost) as lp, e.title as forum_name FROM forum_posts as a, forum_threads as b
LEFT JOIN forum_users as c ON b.postusername=c.username
LEFT JOIN registry_data as d ON c.registry_id=d.registry_id
LEFT JOIN forums as e on b.forumid=e.forum_id
LEFT JOIN forum_subscriptions as fs on
(b.threadid=fs.thread_id and fs.registry_id='')
WHERE a.threadid=b.threadid and e.cp_id=21
order by a.dateline desc limit 0,15Content-Type: text/html; charset=ISO-8859-1