{dede:datalist} '; foreach($fieldlist as $field=>$fielddata) { if($fields[$field]=='') continue; if($fielddata[1]=='img'){ $fields[$field] = " 图片附件"; } else if($fielddata[1]=='addon'){ $fields[$field] = " 其它附件"; } else { if(!in_array($fielddata[1],$allowhtml)){ $fields[$field] = dede_htmlspecialchars($fields[$field]); } } echo ''; } } else { echo ''; } ?> {/dede:datalist}
'.$fields['id'].' '.$fields['sta'].'
'.$fielddata[0].''.$fields[$field].'
暂无记录
{dede:pagelist listsize='6'/}