<!-- tag调用 --> [e:loop={"SELECT * FROM phome_ecms_news WHERE id = '".$navinfor[id]."' LIMIT 0 , 30",1,24,0}] <? $a="$bqr[infotags]"; $str=str_replace(',', ',', $a); $tag=''; $t= explode(",", $str); for($i=0;$i<count($t);$i++) { if($t[$i]) { $tagslink="/e/tags/?tagname=".urlencode($t[$i]).""; $tag.="<a href='$tagslink' target='_blank'>".$t[$i]."</a> "; } } echo $tag; //by http://www.cmsyuanma.com ?> [/e:loop] <!-- tag调用 -->