<!--{eval $collthreads = DB::fetch_all("SELECT aid,attachment FROM ".DB::table(getattachtablebytid($thread['tid']))." WHERE `isimage`<>0 ORDER BY `dateline` DESC LIMIT 0,10");}--> <!--{if $collthreads}--> <tr> <td colspan="6"> <!--{loop $collthreads $value}--> <a href="forum.php?mod=viewthread&tid={$thread['tid']}#aimg_{$value['aid']}"><img src="data/attachment/forum/$value['attachment']" width="100px"/></a> <!--{/loop}--> </td> </tr> <!--{/if}--> <!--{/loop}--> |
<!--{if $i<4}--> <!--{eval $collthreads = DB::fetch_all("SELECT aid,attachment FROM ".DB::table(getattachtablebytid($thread['tid']))." WHERE `isimage`<>0 ORDER BY `dateline` DESC LIMIT 0,10");}--> <!--{if $collthreads}--> <tr> <td colspan="6"> <!--{loop $collthreads $value}--> <a href="forum.php?mod=viewthread&tid={$thread['tid']}#aimg_{$value['aid']}"><img src="data/attachment/forum/$value['attachment']" width="100px"/></a> <!--{/loop}--> </td> </tr> <!--{/if}--> <!--{/loop}--> <!--{/if}--> |
版權(quán)聲明: 本站資源均來自互聯(lián)網(wǎng)或會員發(fā)布,如果侵犯了您的權(quán)益請與我們聯(lián)系,我們將在24小時(shí)內(nèi)刪除!謝謝!
轉(zhuǎn)載請注明: discuz x3.2淘帖列表頁調(diào)用縮略圖