<% Option Explicit %>
<!--#include file="../../Inc/Cls_DB.asp" -->
<!--#include file="../../Inc/Const.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"),"P059") then Call ReturnError2()
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>模板列表</title>
</head>
<style type="text/css">
<!--
.BtnTemplet {
	cursor: default;
}
.BtnTempletMouseDown {
	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>
<link href="../../CSS/css.css" rel="stylesheet">
<script src="../JS/PublicJS.js" language="JavaScript"></script>
<body topmargin="10" leftmargin="0"  onselectstart="return false;" oncontextmenu="return false;">
<table width="126" height="40" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="34" height="20"><div align="right"><img src="../Images/Main/js_1.gif" width="23" height="22"></div></td>
    <td width="92" height="20"> <span align="left" onClick="ClickType(this,'classjs')" class="TempletSelectItem">栏目JS</span></td>
  </tr>
  <tr> 
    <td height="20"><div align="right"><img src="../Images/Main/js_1.gif" width="23" height="22"></div></td>
    <td height="20"> <span align="left" onClick="ClickType(this,'sysjs')" class="TempletItem">系统JS</span></td>
  </tr>
</table>
<!-- 鼠标右键菜单 -->
<div id=MouseRightMenu onclick="ClickMenu(this);" onmouseover="MouseOverRightMenu();" onmouseout="MouseOverRightMenu();" class="menu"> 
  <div class="MouseRightItem" id="AddTemplet" ExeFunction="window.open('Templet_Edit.asp?TempletType='+SelectTempletType,'TempletEdit','toolbar=0,location=0,maximize=1,directories=0,status=1,menubar=0,scrollbars=0,resizable=1,top=50,left=50,width=800,height=560');">新建模板</div> 
  <hr id="nouse">
  <div class="MouseRightItem" id="reFresh" ExeFunction="location.reload();">刷新</div>
   <hr id="HR6">
  <div class="MouseRightItem" id="Pros" ExeFunction="javascript:window.prompt('本页面路径属性' , '<%=Request.ServerVariables("SCRIPT_NAME")%>');">路径属性</div>
</div>
</body>
</html>
<%
Set Conn = Nothing
%>

<script language="JavaScript">
function ClickType(Obj,Type)
{
	for (var i=0;i<document.all.length;i++)
	{
		if (document.all(i).className=='TempletSelectItem') document.all(i).className='TempletItem';
	}
	Obj.className='TempletSelectItem';
	var Url='';
	switch (Type)
	{
		case 'classjs':
			Url='ClassJsList.asp?Types=Class';
			break;
		case 'sysjs':
			Url='ClassJsList.asp?Types=System';
			break;
		default:
			Url='';
	}
	if (Url!='') parent.frames['OpreateWindow'].location=Url;
}
</script>