不会改汗~~
- //动漫世界首页调用
- $kwshmain = '';
- $query = $db->query("SELECT t . fid , f . fup , f . name ,t.author,t.views, t . tid , t . subject ,t . dateline FROM {$tablepre}threads t LEFT JOIN {$tablepre}forums f ON f . fid =t . fid where f . fup =10 ORDER BY `t` . `dateline` DESC LIMIT 0, 6");
- while($kwsh = $db->fetch_array($query)) {
- $kwsh[subject]=cutstr($kwsh[subject],28);
- $kwshmain.="<table width='98%' height='20' border='0' align='center' cellpadding='0' cellspacing='0'><tr><td><a href='forumdisplay.php?fid=$kwsh[fid]' class='mainlink3'>$kwsh[name]</a><a href='viewthread.php?tid=$kwsh[tid]' title='作者:$kwsh[author] 查看:$kwsh[views]' class='mainlink1'>$kwsh[subject]</a></td></tr></table>";
- }
复制代码
gid=9<缤纷世界> fid=10<动漫世界>
我怎么改?
改了这个f . fid =t . fid where f . fup =10 ORDER BY `t` . `dateline` DESC LIMIT 0, 6");
没有出动漫世界版块 |