
<!-- #include file="conn.asp"-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>商品清单</title>
<style type="text/css">
<!--
.STYLE1 {
	color: #FFFFFF;
	font-weight: bold;
}
.STYLE2 {color: #FFFFFF}
body,td,th {
	font-size: 13px;
}
body {
	background-color: #006699;
}
a:link {
	color: #316AC5;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #316AC5;
}
a:hover {
	text-decoration: underline;
	color: #FF0000;
}
a:active {
	text-decoration: none;
	color: #FF0000;
}
-->
</style>
</head>

<body>

<%
	set rs=server.createobject("adodb.recordset") 
	sql="select * from FAQ where del=0 order by id desc" 
	rs.open sql,conn,1,1
%>
<table width="99%" border="0" cellspacing="1" bgcolor="#0066CC">
  <tr bgcolor="#0042CA" class="style1">
    <td width="3%" align="center" nowrap>&nbsp;</td>
    <td width="4%" align="center" nowrap>序号</td>
    <td width="18%" align="center" nowrap>名称</td>
    <td width="24%" align="center" nowrap>加入时间</td>
    <td width="16%" align="center" nowrap>删除</td>
  </tr>
<%
for i=1 to rs.recordcount
%>
 
  <tr bgcolor="#FFFFFF" align="center">
    <td><input type="checkbox" name="checkbox" value="checkbox"></td>
    <td><%=i%></td>
    <td><a href="FAQ_exe.asp?action=mod&id=<%=rs("id")%>"><%=rs("title")%>&nbsp;</a></td>
    <td><%=rs("addTime")%></td>
    <td><a href="FAQ_exe.asp?exe=del&id=<%=rs("id")%>">删除</a></td>
  </tr>
  <%
rs.movenext
next
rs.close
set rs=nothing
  %>
</table>
</body>
</html>



