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 '';
?>