www.gusucode.com > 教程素材资源下载论坛网站源码程序 > 教程素材资源下载论坛/整站源码/template/dean_code_161226/php/innerpics.php
<?php if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $thread_id = substr($thread[tid], -1); $yuerbaike = DB::fetch_all("SELECT * FROM ".DB::table('forum_attachment_'.$thread_id.'')." WHERE tid = '$thread[tid]' AND isimage = '1' ORDER BY `aid` ASC LIMIT 5"); ?>