Blog | Personal

SELECT * FROM news WHERE category = 'Blog' AND subcategory='Personal' AND reference='2mx' AND ( (rel='0000-00-00 00:00:00') OR (TIMESTAMPDIFF(MINUTE, rel, NOW()) > 0 ) ) AND ( (showuntil='0000-00-00 00:00:00') OR ( TIMESTAMPDIFF (MINUTE, NOW(), showuntil) > 0) ) ORDER BY date DESC, ID ASC LIMIT 20
/news.php :: /news.php?c=Blog&sc=Personal