<% 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
'==============================================================================
'软件名称：风讯网站信息管理系统
'当前版本：Foosun Content Manager System 2.0 
'最新更新：2004.12
'==============================================================================
'商业注册联系：028-85098980-601,602 技术支持：028-85098980-606、607,客户支持：608
'产品咨询QQ：159410,655071,66252421
'技术支持:所有程序使用问题，请提问到bbs.foosun.net我们将及时回答您
'程序开发：风讯开发组 & 风讯插件开发组
'论坛支持：风讯在线论坛(http://bbs.foosun.net)
'官方网站：www.Foosun.net  演示站点：test.cooin.com    
'网站建设专区：www.cooin.com
'==============================================================================
'免费版本请在新闻首页保留版权信息，并做上本站LOGO友情连接
'==============================================================================
%>
<!--#include file="../../Inc/Session.asp" -->
<!--#include file="../../Inc/CheckPopedom.asp" -->
<%
if Not JudgePopedomTF(Session("Name"),"P119") 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>
<link href="../../CSS/css.css" rel="stylesheet">
<script src="../JS/PublicJS.js" language="JavaScript"></script>
<body topmargin="0" leftmargin="0" onselectstart="return false;" oncontextmenu="ClickTempletType();showMenu(MouseRightMenu);return false;">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="0" onClick="ClickTempletType();">
  <tr style="cursor:default;"> 
    <td width="39"> <div align="right"><img src="../Images/Ordinary/KeyWord.gif"></div></td>
    <td width="739"><span Type="1" class="TempletSelectItem">关键字管理</span></td>
  </tr>
  <tr style="cursor:default;"> 
    <td> <div align="right"><img src="../Images/Ordinary/Source.gif" width="18" height="18"></div></td>
    <td><span Type="2" class="TempletItem">来源管理</span></td>
  </tr>
  <tr style="cursor:default;"> 
    <td> <div align="right"><img src="../Images/Ordinary/Author.gif" width="18" height="18"></div></td>
    <td><span Type="3" class="TempletItem">作者管理</span></td>
  </tr>
  <tr style="cursor:default;"> 
    <td> <div align="right"><img src="../Images/Ordinary/Editer.gif" width="18" height="18"></div></td>
    <td><span Type="4" class="TempletItem">责任编辑管理</span></td>
  </tr>
  <tr style="cursor:default;"> 
    <td> <div align="right"><img src="../Images/Ordinary/InnerLink.gif" width="18" height="18"></div></td>
    <td><span Type="5" class="TempletItem">内部联接管理</span></td>
  </tr>
  <tr style="cursor:default;"> 
    <td> <div align="right"><img src="../Images/Ordinary/FriendLink.gif" width="18" height="18"></div></td>
    <td><span Type="FrindLink" class="TempletItem">友情连接管理</span></td>
  </tr>
</table>
<!-- 鼠标右键菜单 -->
<div id=MouseRightMenu onclick="ClickMenu(this);" onmouseover="MouseOverRightMenu();" onmouseout="MouseOverRightMenu();" class="menu"> 
  <div style="display:none" class="MouseRightItem" id="New" ExeFunction="OpenWindow('Frame.asp?FileName=OrdinaryEdit.asp&OperateType='+SelectTempletType,300,125,window);">新建</div>
  <hr id="nouse" style="display:none">
  <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>
<script language="JavaScript">
var SelectTempletType='';
New.className='MenuItemDisable';
function ClickTempletType()
{
	var Url='';
	if (event.srcElement.Type!=null)
	{
		for (var i=0;i<document.all.length;i++)
		{
			if (document.all(i).className=='TempletSelectItem') document.all(i).className='TempletItem';
		}
		event.srcElement.className='TempletSelectItem';
		SelectTempletType=event.srcElement.Type;
		if (SelectTempletType=='') {New.className='MenuItemDisable';}
		else New.className='MouseRightItem';
		if (SelectTempletType=='FrindLink') Url='OrdinaryFriendLink.asp';
		else Url='OrdinaryList.asp?Type='+event.srcElement.Type;
		parent.frames['OpreateWindow'].location=Url;
	}
}

window.onload=OnLoadChildWindow;
function OnLoadChildWindow()
{
	parent.frames['OpreateWindow'].location.reload();
}
</script>