第一步:
打开 /include/tag.func.php
找到 isset($showpage) or $showpage = 0; 这句。
在其上行或其下行添上
(isset($showcontent) && $MODULE[$moduleid]['module']=='article') or $showcontent = 0;
找到 $query = "SELECT ".$fields." FROM ".$table." WHERE ".$condition.$order." LIMIT ".$offset.",".$pagesize;这句。
第二步:
替换成:
if($showcontent){ $query = "SELECT t.".preg_replace('/,\s*/im','t.',$fields).",c.`content` FROM ".$table." as t left join ".preg_replace('/(\d+)$/','data_$1',$table)." as c on t.itemid=c.itemid WHERE ".$condition.$order." LIMIT ".$offset.",".$pagesize;}else{ $query = "SELECT ".$fields." FROM ".$table." WHERE ".$condition.$order." LIMIT ".$offset.",".$pagesize;}
第三步: