{dede:arclist row='5' typeid='2' titlelen='20' orderby='time' addfields='filetype,language,softrank,softtype,os' channelid='3'} 推荐星级:[field:softrank function='GetRankStar(@me)'/]<br /> Tags标签:[field:id runphp=yes] $tsql = new DedeSql(false); $tags = ''; $tsql->SetQuery("Select i.tag From mbtx_taglist t left join mbtx_tagindex i on i.id=t.tid where t.aid='@me'"); $tsql->Execute('t'); while($row = $tsql->GetArray('t',MYSQL_ASSOC)){ $tags .= "<a href='/tags.php?/".urlencode($row['tag'])."'>".$row['tag']."</a>"; } @me=$tags; [/field:id] 模板编码:[field:language/]<br /> 适用CMS版本:[field:os/]{/dede:arclist} |