Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] Discuz! X2 经典横排美化,调用多条数据(懒人包)

  [复制链接]
GREAT_WALL 发表于 2011-6-20 14:14:38 | 显示全部楼层
bbs.5desd.com
支持一下
回复

使用道具 举报

GREAT_WALL 发表于 2011-6-20 14:16:53 | 显示全部楼层
bbs.5desd.com
支持一下
回复

使用道具 举报

佐之手 发表于 2011-6-20 14:25:21 | 显示全部楼层
很稀饭很稀饭,拿走啦··谢谢了啊
回复

使用道具 举报

eshan888 发表于 2011-6-20 14:37:44 | 显示全部楼层
很好很强大,感谢分享!
回复

使用道具 举报

阳光飞狐 发表于 2011-6-21 13:19:21 | 显示全部楼层
感谢提供,我试试
回复

使用道具 举报

某笨—御妞 发表于 2011-6-21 14:42:04 | 显示全部楼层
这个很好看···谢谢了LZ了···
回复

使用道具 举报

a8604386 发表于 2011-6-22 17:53:20 | 显示全部楼层
不是用默认风格怎么改??
回复

使用道具 举报

小区网站长 发表于 2011-6-22 18:39:23 | 显示全部楼层
覆盖后的结果:
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
回复

使用道具 举报

无聊的聊 发表于 2011-6-22 21:03:29 | 显示全部楼层
很不错 谢谢楼主 收藏
回复

使用道具 举报

ms71677 发表于 2011-6-23 00:35:48 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-24 04:02 , Processed in 0.094325 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表