name;?>详细内容
';
echo 'id | '.$row['id'].' |
';
$allowhtml = array('htmltext');
foreach($fieldlist as $field=>$fielddata)
{
if($row[$field]=='') continue;
if($fielddata[1]=='img')
{
$row[$field] = "\r\n";
}
else if($fielddata[1]=='addon')
{
$row[$field] = " 相关附件";
}
else
{
if(!in_array($fielddata[1], $allowhtml))
{
$row[$field] = htmlspecialchars($row[$field]);
}
}
echo ''.$fielddata[0].' | '.$row[$field].' |
';
}
echo '';
?>