<!--#include file="../siteconfig/conn.asp"-->
<%
if session("adminlogin")<>sessionvar then
Response.Write("<script language=javascript>alert('你尚未登录，或者超时了！请重新登录');this.location.href='login.asp';</script>")
Response.End
End if
%>
<!--#include file="Admin_ClassFunction.asp"-->
<HTML>
<HEAD>
<TITLE>模板分类管理</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 
<link href="./images/admincp/admincp.css" rel="stylesheet" type="text/css" />

</HEAD>

<script language="JavaScript" type="text/javascript" src="js.js"></script>
<BODY>

<h3>生成HTML模板管理</h3>
<table width="96%" border="0" cellspacing="1" cellpadding="8" align="center" class="tb tb2 fixpadding">
  <tr>
    <td class="vtop lineheight">选择生成HTML分类</td>
    <td class="vtop lineheight"><select name="Class_Id" class="inputcss" id="Class_Id">
      <option value="0" selected>-无上级分类-</option>
<%
set RsClass(0)=server.createobject("adodb.recordset")
RsClass(0).open "select Class_Id,Class_Name from Class where Class_TopClassId=0",conn,1,3
while not RsClass(0).eof
		response.write "<option value='"&RsClass(0)("Class_Id")&"'>"&RsClass(0)("Class_Name")&"</option>"&vbCrLf
	call addlistunder(1)
	RsClass(0).movenext
wend
%>
</select></td>
    <td class="vtop lineheight"><a href="#" onClick="javascript:HtmlOpenClose('1');return false">确定生成该分类</a></td>
  </tr>
  <tr>
    <td colspan="2" class="vtop lineheight">&nbsp;</td>
    <td class="vtop lineheight"><a href="#" onClick="javascript:HtmlOpenClose('0');return false">生成全部分类</a></td>
  </tr>
</table>
<br /><div align="center">
<div id="DivMenu" style="position:absolute; width:100%; height:100%; z-index:1; left: 0px; top: 0px; filter:Alpha(opacity=50); background-color: #E8E8E8; layer-background-color: #E8E8E8; border: 1px none #000000; visibility: hidden;"></div>
<div id="DivIframe" style="position:absolute; width:0; height:0px; z-index:1; visibility: hidden; overflow: visible; filter:Alpha(opacity=80);"><font color="#FF0000">正在生成静态页...请不要刷新！</font><iframe id=OpenIframe name=OpenIframe src=londing.html width=100% height=100% frameborder=0 scrolling=no>管理员</iframe>
</div>
</div>
</BODY>
</HTML>

