打开 /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;}# 补丁结束
-
<!--{tag("moduleid=21&condition=status=3&pagesize=10&showcontent=1&template=list-mytpl")}-->
-
<ul>
{loop $tags $i $t}
<li><a title="{$t[title]}" src="" style="{$t[css]}">{$t[title]}<br/>{$t[content]}</a></li>
{/loop}
</ul>