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