网上下载了个新闻自动更新程序,不知安全不安全,请你们看看!
1、newslist.asp
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>更多新闻</title>
<STYLE type="text/css">
<!--
a:link {text-decoration: none; font-family: AdobeSm; color: #000000 }
a:visited {text-decoration: none; color: #000000 }
A:hover {COLOR: green; FONT-FAMILY: "Verdana,宋体,MingLiU"; TEXT-DECORATION: underline}
body {font-size: 9pt; font-family: Verdana,宋体,MingLiU, Arial;color: #000000}
TD {FONT-SIZE: 9pt; FONT-FAMILY: "Verdana,宋体,MingLiU, Arial";color: #000000;line-height: 120%;table-layout:fixed;word-break:break-all}
p {FONT-SIZE: 9pt; FONT-FAMILY: "Verdana,宋体,MingLiU, Arial";color: #000000}
input {FONT-SIZE: 9pt; FONT-FAMILY: "Verdana,宋体,MingLiU, Arial";color: #000000}
body {margin-top: 0; margin-bottom: 0;margin-left:0;margin-right:0; color: #000000}
select {FONT-SIZE: 9PT;font-family: Verdana,宋体}
option {FONT-SIZE: 9pt;font-family: Verdana,宋体}
textarea {FONT-SIZE: 9pt;font-family: Verdana,宋体}
-->
</STYLE>
</head>
<body>
<div align="center">
<table border="1" cellpadding="0" width="760" id="table1" height="98" style="border-collapse: collapse" bordercolor="#C0C0C0">
<tr>
<td bgcolor="#DDDDDD">
<p align="center">自行修改页头</td>
</tr>
</table>
</div>
<div align="center">
<table border="1" cellpadding="0" width="760" style="border-collapse: collapse" bordercolor="#DDDDDD">
<tr>
<td width="200" bgcolor="#DDDDDD">
<p align="center">自行修改区域</td>
<td width="560">
<div align="center">
<table border="0" cellpadding="10" cellspacing="0" width="100%" id="table3">
<tr>
<td>
<%
lm=trim(request("lm"))
page=trim(request("page"))
if page="" then page=1
%>
<script language="javascript" type="text/javascript" src=""
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<div align="center">
<table border="1" cellpadding="0" width="760" id="table2" height="116" style="border-collapse: collapse" bordercolor="#C0C0C0">
<tr>
<td bgcolor="#DDDDDD">
<p align="center">自行修改页尾</td>
</tr>
</table>
</div>
</body>
</html>
2、newsview.asp
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<STYLE type="text/css">
<!--
a:link {text-decoration: none; font-family: AdobeSm; color: #000000 }
a:visited {text-decoration: none; color: #000000 }
A:hover {COLOR: green; FONT-FAMILY: "Verdana,宋体,MingLiU"; TEXT-DECORATION: underline}
body {font-size: 9pt; font-family: Verdana,宋体,MingLiU, Arial;color: #000000}
TD {FONT-SIZE: 9pt; FONT-FAMILY: "Verdana,宋体,MingLiU, Arial";color: #000000;line-height: 120%;table-layout:fixed;word-break:break-all}
p {FONT-SIZE: 10.5pt; FONT-FAMILY: "Verdana,宋体,MingLiU, Arial";color: #000000}
input {FONT-SIZE: 9pt; FONT-FAMILY: "Verdana,宋体,MingLiU, Arial";color: #000000}
body {margin-top: 0; margin-bottom: 0;margin-left:0;margin-right:0; color: #000000}
select {FONT-SIZE: 9PT;font-family: Verdana,宋体}
option {FONT-SIZE: 9pt;font-family: Verdana,宋体}
textarea {FONT-SIZE: 9pt;font-family: Verdana,宋体}
-->
</STYLE>
</head>
<div align="center">
<table border="1" cellpadding="0" width="760" id="table1" height="98" style="border-collapse: collapse" bordercolor="#C0C0C0">
<tr>
<td bgcolor="#DDDDDD">
<p align="center"><img src="../images/bt.jpg" width="754" height="92" /></td>
</tr>
</table>
<div align="center">
<table border="0" cellpadding="10" cellspacing="0" width="760" id="table3">
<tr>
<td style="font-size: 10.5pt; font-family: Verdana; line-height:15pt" valign="top">
<%
id=trim(request("id"))
%>
<span style="font-size: 10.5pt">
<script language="javascript" type="text/javascript" src="" </span></td>
</tr>
</table>
</div>
</div>
<center>
<%
id=trim(request("id"))
if id="" then id=0
%>
</center>
<div align="center">
<table border="1" cellpadding="0" width="760" id="table2" height="116" style="border-collapse: collapse" bordercolor="#C0C0C0">
<tr>
<td bgcolor="#DDDDDD">
<p align="center">自行修改页尾</td>
</tr>
</table>
</div>
[此贴子已经被作者于2007-5-15 11:29:43编辑过]