覆盖后的结果:
Discuz! Database Error
The database has encountered a problem. Need Help?
--------------------------------------------------------------------------------
Error messages:
•[Type] 查询语句错误
•[1016] Can't open file: '.\dgbbs\forum_thread.frm' (errno: 24)
•[Query] (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='2' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='5' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='6' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='7' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='8' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='11' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='12' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='13' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='15' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='16' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='17' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='19' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='20' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='21' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='22' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='30' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='35' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='37' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='38' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='39' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='40' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='41' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='42' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='43' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='47' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='48' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='49' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='51' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='52' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='53' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='54' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='55' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='56' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='58' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='59' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='60' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='61' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='62' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='63' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='64' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='65' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='66' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='67' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='68' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='69' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='70' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='71' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='72' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='73' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='74' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='75' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='78' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='79' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='80' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='81' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='82' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='83' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='84' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='85' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='86' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='87' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='88' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='89' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='90' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='91' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='92' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='93' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='94' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='95' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='96' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='97' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='98' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='99' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='100' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='101' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='102' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='103' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='104' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='105' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='106' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='107' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='108' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='110' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='111' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='112' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='113' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='114' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='115' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='116' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='117' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='118' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='119' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='120' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='121' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='122' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='123' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='124' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='125' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='126' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='127' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='128' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='129' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='130' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='131' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='132' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='133' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='134' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='135' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='136' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='137' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='138' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='139' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='140' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='141' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='142' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='143' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='144' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='145' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='146' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='147' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='148' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='149' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='150' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='151' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='152' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='153' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='154' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='155' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='156' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='157' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='158' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='159' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='160' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='161' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='162' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='163' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='164' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='165' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='166' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='167' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='168' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='169' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='170' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='171' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='172' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='173' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='174' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='175' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='176' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='177' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='178' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='179' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='180' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='181' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='182' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='183' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='184' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='185' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='186' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='187' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='188' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='189' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='190' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='191' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='192' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='193' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='194' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='195' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='196' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='197' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='198' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='199' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='200' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='201' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='202' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='203' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='204' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='205' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='206' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='207' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='208' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='209' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='210' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='211' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='212' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='213' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='214' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='215' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT
|