我的forumdisplay.php
找不到这段代码。
- query("SELECT t.* FROM {$tablepre}threads t
复制代码
不过我找到了类似的几个代码,可能我装了其他插件修改了,请帮我看一下怎么修改!
1 类似
- $querysticky = '';
- $query = $db->query("SELECT $dotadd1 t.*, p.rate FROM {$tablepre}threads t $dotadd2
- LEFT JOIN {$tablepre}posts p USING(tid, dateline)
- WHERE t.fid='$fid' $filteradd AND $displayorderadd
- ORDER BY t.displayorder DESC, t.$orderby $ascdesc
- LIMIT ".($filter == 'digest' || $filter == 'type' ? $start_limit :
- $start_limit - $stickycount).", $tpp");
- } else {
复制代码
2类似
- $querysticky = $db->query("SELECT $dotadd1 t.*, p.rate FROM {$tablepre}threads t
- $dotadd2
- LEFT JOIN {$tablepre}posts p USING(tid, dateline)
- WHERE t.tid IN ($stickytids) AND t.displayorder IN (2, 3)
- ORDER BY displayorder DESC, $orderby $ascdesc
- LIMIT $start_limit, ".($stickycount - $start_limit < $tpp ? $stickycount -
- $start_limit : $tpp));
复制代码
3类似
- $start_limit : $tpp));
- if($tpp - $stickycount + $start_limit > 0) {
- $query = $db->query("SELECT $dotadd1 t.*, p.rate FROM {$tablepre}threads t
- $dotadd2
复制代码
请问修改哪里? |