列表内容模板(list.var)中使用了程序代码,代码如下:
$f2=explode("|",$r[soft]); for($f=1;$f<count($f2)-1;$f++) $soft.="".$f2[$f].","; $listtemp='<li>'.$soft.'</li>';