<!--#include file="../Inc/Cls_DB.asp" -->
<!--#include file="../Inc/Const.asp" -->
<%
'==============================================================================
'软件名称：风讯网站信息管理系统
'当前版本：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友情连接
'==============================================================================
Set DBC = New DataBaseClass
Set Conn = DBC.OpenConnection()
Set DBC = Nothing
%>
<!--#include file="../Inc/Session.asp" -->
<!--#include file="../Inc/CheckPopedom.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Foosun Contents Management System(FSCMS) V2.0 Manage Center</title>
<style type="text/css">
<!--
.MainMenuBGStyle {
	background-repeat: no-repeat;
	background-position: right center;
}
-->
</style>
</head>
<link href="../CSS/css.css" rel="stylesheet">
<script src="JS/PublicJS.js" language="JavaScript"></script>
<script src="JS/Main.js" language="JavaScript"></script>
<body scroll="no" OnContextMenu="return false;" onclick="//HiddenMainMenu();" onselectstart="return false;" topmargin="1" leftmargin="1">
<iframe id="MenuWindow" scrolling="no" src="Top.asp" style="top:20;left:20;width:100%;height:26pt;"  frameborder=0></iframe>
<iframe id="OpreateWindow" scrolling="no" src="Sys_main.asp" style="top:20;left:20;width:100%;"  frameborder=0></iframe>
<!-- 上下文菜单 -->
<div id=MainMenu onClick="ClickMainMenu(this)" onMouseOver="MouseOverMainMenu()" onMouseOut="MouseOverMainMenu()" class="mainmenu"> 
  <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
    <%if JudgePopedomTF(Session("Name"),"P019") then%>
    <tr> 
      <td width="28" rowspan="16" background="Images/MainMenuLeft.gif"></td>
      <td width="24" background="Images/Main/info.gif" class="MenuItemBg"></td>
      <td width="124"> <div class="MenuItem" HaveChild="true" OperateText="信息管理" id="InformationManage">信息管理 
          <div id=ChildMenu1 class="childmenu"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr class="MenuItem" OperateText="栏目管理" ExeFunction="ChangeOperateWindow('Info/ClassManage.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic1" background="Images/Main/Info_1.gif"></td>
                <td id="ChildreFresh">栏目管理</td>
              </tr>
              <tr class="MenuItem" OperateText="专题管理" ExeFunction="ChangeOperateWindow('Info/SpecialManage.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic1" background="Images/Main/Info_2.gif"></td>
                <td id="ChildreFresh1">专题管理</td>
              </tr>
              <tr class="MenuItem" OperateText="稿件管理" ExeFunction="ChangeOperateWindow('Contribution/ContManage.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic1" background="Images/Main/Info_3.gif"></td>
                <td id="ChildreFresh3">稿件管理</td>
              </tr>
              <tr class="MenuItem" OperateText="下载管理" ExeFunction="ChangeOperateWindow('DownLoad/DownLoadMan.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic1" background="Images/Main/Info_3.gif"></td>
                <td id="ChildreFresh3">下载管理</td>
              </tr>
              <tr> 
                <td colspan="2"><hr id="Childnouse"></td>
              </tr>
              <tr class="MenuItem" OperateText="上传管理" ExeFunction="ChangeOperateWindow('Info/UpFileManage.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic1" background="Images/Main/Info_4.gif"></td>
                <td id="ChildreFresh2">上传管理</td>
              </tr>
              <tr class="MenuItem" OperateText="回收站管理" ExeFunction="ChangeOperateWindow('Recycle/index.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic1" background="Images/Main/Info_5.gif"></td>
                <td id="ChildreFresh3">回收站管理</td>
              </tr>
            </table>
          </div>
          &gt;</div></td>
    </tr>
    <tr> 
      <td colspan="2"> <hr id="nouse"></td>
    </tr>
    <%end if%>
    <%if JudgePopedomTF(Session("Name"),"P039") then%>
    <tr> 
      <td background="Images/Main/templet.gif" class="MenuItemBg"></td>
      <td><div class="MenuItem" OperateText="模板管理" ExeFunction="ChangeOperateWindow('Templet/NewsTemplet_Manage.asp');" id="reFresh">模板管理</div></td>
    </tr>
    <%end if%>
    <%if JudgePopedomTF(Session("Name"),"P049") then%>
    <tr> 
      <td background="Images/Main/sc.gif" class="MenuItemBg"></td>
      <td><div class="MenuItem" OperateText="站点发布" id="reFresh1" ExeFunction="ChangeOperateWindow('Refresh/RefreshManage.asp');">站点发布</div></td>
    </tr>
    <%end if%>
    <%if JudgePopedomTF(Session("Name"),"P059") then%>
    <tr> 
      <td   background="Images/Main/js.gif" class="MenuItemBg"></td>
      <td><div class="MenuItem" OperateText="JS管理" id="JSManage" HaveChild="true">JS管理 
          <div class="Childmenu"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr class="MenuItem" OperateText="系统JS管理" ExeFunction="ChangeOperateWindow('SysJs/SysJsManage.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/JS_1.gif"></td>
                <td id="ChildSystemJSManage">系统JS</td>
              </tr>
              <tr class="MenuItem" OperateText="自由JS管理" ExeFunction="ChangeOperateWindow('FreeJs/JsManage.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/JS_2.gif"></td>
                <td id="ChildAutoJSManage">自由JS</td>
              </tr>
            </table>
          </div>
          &gt;</div></td>
    </tr>
    <%end if%>
    <%if JudgePopedomTF(Session("Name"),"P069") then%>
    <tr> 
      <td  background="Images/Main/system.gif" class="MenuItemBg"></td>
      <td> <div class="MenuItem" OperateText="系统管理" HaveChild="true" id="reFresh3">系统管理 
          <div id=ChildMenu2221 class="childmenu"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr class="MenuItem" OperateText="系统参数设置" ExeFunction="ChangeOperateWindow('System/SysParameterMan.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/Sys_1.gif"></td>
                <td id="ChildnewRole">系统参数</td>
              </tr>
              <tr class="MenuItem" OperateText="虚拟目录管理" ExeFunction="ChangeOperateWindow('System/DummyManage.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/Sys_2.gif"></td>
                <td id="ChildreFresh2">虚拟目录</td>
              </tr>
              <tr class="MenuItem" OperateText="数据库管理" ExeFunction="ChangeOperateWindow('System/DataBase_Manage.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/Sys_3.gif"></td>
                <td id="ChildreFresh">数据库管理</td>
              </tr>
            </table>
          </div>
          &gt;</div></td>
    </tr>
    <tr> 
      <td colspan="2"> <hr id="nouse"></td>
    </tr>
    <%end if%>
    <%if JudgePopedomTF(Session("Name"),"P119") then%>
    <tr> 
      <td background="Images/Main/templet.gif" class="MenuItemBg"></td>
      <td> <div class="MenuItem" OperateText="常规管理" ExeFunction="ChangeOperateWindow('Info/OrdinaryMan.asp');" id="reFresh">常规管理</div></td>
    </tr>
    <%end if%>
    <%if JudgePopedomTF(Session("Name"),"P089") then%>
    <tr> 
      <td  background="Images/Main/Users.gif" class="MenuItemBg"></td>
      <td> <div class="MenuItem" OperateText="用户|管理员管理" ExeFunction="ChangeOperateWindow('System/SysAdminManage.asp');" id="reFresh">用户管理</div></td>
    </tr>
    <%end if%>
    <%if JudgePopedomTF(Session("Name"),"P109") then%>
    <tr> 
      <td  background="Images/Main/code.gif" class="MenuItemBg"></td>
      <td> <div class="MenuItem" id="reFresh5" OperateText="代码调用" ExeFunction="ChangeOperateWindow('Code/CodeManage.asp');">代码调用</div></td>
    </tr>
    <%end if%>
    <%if JudgePopedomTF(Session("Name"),"P079") then%>
    <tr> 
    <tr> 
      <td colspan="2"><hr id="nouse1"></td>
    </tr>
    <td  background="Images/Main/info_6.gif" class="MenuItemBg"></td>
    <td valign="top"> <div class="MenuItem" HaveChild="true" OperateText="系统插件" id="InformationManage">系统插件 
        <div id=ChildMenu1 class="childmenu"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr class="MenuItem" OperateText="广告管理" ExeFunction="ChangeOperateWindow('Ads/AdsManage.asp');"> 
              <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/Plus_1.gif"></td>
              <td id="ChildreFreshp">广告管理</td>
            </tr>
            <tr class="MenuItem" OperateText="投票管理" ExeFunction="ChangeOperateWindow('Vote/VoteManage.asp');"> 
              <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/Plus_2.gif"></td>
              <td id="ChildreFreshp1">投票管理</td>
            </tr>
            <tr class="MenuItem" OperateText="流量统计" ExeFunction="ChangeOperateWindow('System/Visit_Manage.asp');"> 
              <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/Plus_3.gif"></td>
              <td id="ChildreFreshp3">流量统计</td>
            </tr>
          </table>
        </div>
        &gt;</div></td>
    </tr>
    <%end if%>
    <%if JudgePopedomTF(Session("Name"),"P099") then%>
    <tr> 
      <td  background="Images/Main/3fcj.gif" class="MenuItemBg"></td>
      <td> <div class="MenuItem" HaveChild="true" OperateText="第三方插件" id="InformationManage">第三方插件 
          <div id=ChildMenu1 class="childmenu"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr class="MenuItem" OperateText="管理插件" ExeFunction="ChangeOperateWindow('Plus/PlusManage.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/3fcj.gif"></td>
                <td id="ChildreFreshp">管理插件</td>
              </tr>
              <%
		Dim RsPlusObj,SpecialPicStr,TempObj,FileNum,TempShowNavi
		Set RsPlusObj = Conn.Execute("Select top 5 * from Plus order by id desc")
		do while Not RsPlusObj.Eof 
		 %>
              <tr class="MenuItem" OperateText="投票管理" ExeFunction="ChangeOperateWindow('Plus/PlusRedirect.asp?id=<%=RsPlusObj("id")%>');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/templet.gif"></td>
                <td id="ChildreFreshp1"><%=left(RsPlusObj("Name"),5)%></td>
              </tr>
              <%
		RsPlusObj.movenext
		Loop
		%>
              <tr class="MenuItem" OperateText="管理插件" ExeFunction="ChangeOperateWindow('Plus/PlusManage.asp');"> 
                <td width="10" class="MenuItemBg" id="ChildMenuPic2" background="Images/Main/3fcj.gif"></td>
                <td id="ChildreFreshp">更多</td>
              </tr>
            </table>
          </div>
          &gt;</div></td>
    </tr>
    <%end if%>
    <tr> 
      <td colspan="2"> <hr id="nouse"></td>
    </tr>
    <tr> 
      <td  background="Images/Main/help.gif" class="MenuItemBg"></td>
      <td> <div class="MenuItem" id="reFresh5" OperateText="帮助" ExeFunction="ChangeOperateWindow('../Help/Index.htm');">帮助中心</div></td>
    </tr>
  </table>
</div>
<div onclick="CMClickMenu(this)" onMouseOver="MouseOverChildMenu();" onMouseOut="MouseOverChildMenu();" id="ChildMenu"></div>
</body>
</html>
<script language="JavaScript">
window.name='FooSunCMSMainWindow';
function SetWindowHeight()
{
	var BodyHeight=document.body.clientHeight;
	var OperateWindowHeight=BodyHeight-33;
	document.all.OpreateWindow.height=OperateWindowHeight;
}
SetWindowHeight();
window.onresize=SetWindowHeight;
MainMenu.onblur=aaa;
function aaa()
{
	alert('aaa');
}
</script>