<% Option Explicit %>
<!--#include file="Function.asp" -->
<!--#include file="../../Inc/Function.asp" -->
<!--#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"),"P049") then Call ReturnError1()
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>生成管理</title>
<style type="text/css">
<!--
.BtnSysAdmin {
	cursor: default;
}
.BtnSysAdminMouseDown {
	border-top-width: 3px;
	border-right-width: 3px;
	border-bottom-width: 3px;
	border-left-width: 3px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #666666;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #666666;
}
-->
</style>
</head>
<link href="../../CSS/css.css" rel="stylesheet">
<body topmargin="10" leftmargin="0" onselectstart="return false;" oncontextmenu="return false;">
<table width="146" border="0" align="center" cellpadding="3" cellspacing="0">
  <tr> 
    <td> <table border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="27"><img src="../Images/Templet/Menu/makeindex.gif" width="18" height="18"></td>
          <td width="55"><span class="TempletItem" onClick="ClickType();" Type="RefreshIndex">发布首页</span></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td> <table width="80" height="19" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="27"><img src="../Images/Templet/Menu/makeclass.gif" width="18" height="18"></td>
          <td width="55"><span class="TempletItem" onClick="ClickType();" Type="RefreshClass">发布栏目</span></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td> <table width="79" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="27"><img src="../Images/Templet/Menu/makenews.gif" width="18" height="18"></td>
          <td width="54"><span class="TempletItem" onClick="ClickType();" Type="RefreshNews">发布新闻</span></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td> <table width="78" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="27"><img src="../Images/Templet/Menu/makesp.gif" width="18" height="18"></td>
          <td width="54"><span class="TempletItem" onClick="ClickType();" Type="RefreshSpecial">发布专题</span></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td> <table width="78" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="27"><img src="../Images/Main/Down.gif" width="23" height="22"></td>
          <td width="54"><span class="TempletItem" onClick="ClickType();" Type="RefreshDownLoad">发布下载</span></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td> <table width="78" height="19" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="27"><img src="../Images/Templet/Menu/makejs.gif" width="18" height="18"></td>
          <td width="57"><span class="TempletItem" onClick="ClickType();" Type="RefreshJS">JS生成</span></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
<script language="JavaScript">
var SelectTempletType='';
function ClickType()
{
	var el=event.srcElement,Url='';
	for (var i=0;i<document.all.length;i++)
	{
		if (document.all(i).className=='TempletSelectItem') document.all(i).className='TempletItem';
	}
	if (el.Type!=null)
	{
		el.className='TempletSelectItem';
		SelectTempletType=el.Type;
		switch (el.Type)
		{
			case 'RefreshIndex':
				Url='../Refresh/RefreshIndex.asp';
				break;
			case 'RefreshClass':
				Url='../Refresh/RefreshClass.asp';
				break;
			case 'RefreshNews':
				Url='../Refresh/RefreshNews.asp';
				break;
			case 'RefreshSpecial':
				Url='../Refresh/RefreshSpecial.asp';
				break;
			case 'RefreshDownLoad':
				Url='../Refresh/RefreshDownLoad.asp';
				break;
			case 'RefreshPicStation':
				Url='../Refresh/RefreshPicSite.asp';
				break;
			case 'RefreshJS':
				Url='../Refresh/RefreshAllJs.asp';
				break;
			default:
				Url='';
		}
		if (Url!='') parent.frames['OpreateWindow'].location=Url;
	}
	else
	{
		SelectTempletType='';
	}
}
</script>