include(dirname(__FILE__)."/dbconfig.php"); header("Cache-Control: no-cache, must-revalidate"); header("Content-Type: text/html; charset=utf-8"); $link = Conn(); $where = ""; if(!empty($id) ) { $id = isnum ( $id, '请不要非法操作!' ); } else { ErrTo("请不要非法操作!","/index.shtml"); } $sql = "select * from tab_cp where id=" . $id; $query = mysql_query($sql, $link); $row=mysql_fetch_array($query); ?>
年代: echo $ndAry[$row['nd']]; ?>
类别: echo $typesAry[$row['types']]; ?>
尺寸: echo $row['cc']; ?>
特征: echo nl2br(eregi_replace(" {2}"," ",htmlspecialchars(stripslashes($row['content']))));?>
if ($row['jzr'] <> "") { ?>捐赠人: echo $row['jzr']; ?>
} ?>