<% Option Explicit %>
<!--#include file="../../Inc/Const.asp" -->
<!--#include file="../../Inc/Cls_DB.asp" -->
<%
Dim DBC,Conn
Set DBC = New DataBaseClass
Set Conn = DBC.OpenConnection()
Set DBC = Nothing
%>
<!--#include file="../../Inc/Session.asp" -->
<!--#include file="../../Inc/CheckPopedom.asp" -->
<%
if Not JudgePopedomTF(Session("Name"),"P0302") then Call ReturnError()
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>查看下载列表样式</title>
<link href="../../CSS/css.css" rel="stylesheet">
</head>
<%
Dim ID,RsLableObj,SQLStr
ID = Request("ID")
Set DBC = New DataBaseClass
Set Conn = DBC.OpenConnection()
Set DBC = Nothing
%>
<body topmargin="0" leftmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%
if ID = "" then
%>
  <tr> 
    <td>参数传递错误</td>
  </tr>
  <%
else
	Set RsLableObj = Server.CreateObject("ADODB.Recordset")
	SQLStr="Select * From DownListStyle Where ID=" & ID
	Set RsLableObj = Conn.Execute(SQLStr)
	if Not RsLableObj.Eof then
%>
  <tr> 
    <td>名称：<% = RsLableObj("Name") %></td>
  </tr>
  <tr> 
    <td>内容：<% = RsLableObj("Content") %></td>
  </tr>
  <%
	else
%>
  <tr> 
    <td>标签不存在</td>
  </tr>
  <%
	end if
%>
  <tr> 
    <td>&nbsp;</td>
  </tr>
  <%
end if
%>
</table>
</body>
</html>
<%
Set RsLableObj = Nothing
Set Conn = Nothing
%>
<script language="JavaScript">
document.designMode="On";
document.open();
</script>