[e:loop={"SELECT * FROM [!db.pre!]ecms_article WHERE id = '".$navinfor[id]."' LIMIT 0,10",10,24,0}]
<?
$a="$bqr[infotags]";
$str=str_replace(',', ',', $a);
$tag='';
$t= explode(",", $str);
for($i=0;$i<count($t);$i++)
{
if($t[$i])
{
$tagslink="[!--news.url--]e/sch/index.php?keyboard=".urlencode($t[$i])."";
$tag.="<a href='$tagslink' target='_blank'>".$t[$i]."</a> ";
}
}
echo $tag;
?>
[/e:loop]
infotags换成keyboard,分词显示关键词
发表评论