实例://TAG [e:loop={34,50,3,0}] <?=$bqno?><a href= <?=$bqsr['titleurl
实例:
//TAG
[e:loop={34,50,3,0}]
<?=$bqno?><a href="<?=$bqsr['titleurl']?>" target="_blank"><?=$bqr['title']?></a>
tag:
<?php
$tbname="news";
$ftbname=$dbtbpre."ecms_".$tbname."_data_".$bqr['stb'];
$hlt = $empire->fetch1("select infotags from {$ftbname} where id='$bqr[id]'");
$keyr=explode(',',$hlt[infotags]);
for($i=0;$i<count($keyr);$i++)
{
echo '<a href="'.$public_r[newsurl].'e/tags/?tagname='.$keyr[$i].'" target=_blank>'.$keyr[$i].'</a> ';
}
?>
//关键字:
<?php
$keyr=explode(',',$bqr[keyboard]);
for($i=0;$i<count($keyr);$i++)
{
echo'<a href="'.$public_r[newsurl].'e/search/?searchget=1&keyboard='.$keyr[$i].'&show=title" target=_blank>'.$keyr[$i].'</a>';
}
?>
<br>
[/e:loop]
粉丝
0
关注
0
收藏
0