<?php
/*
'**************************************************************************************************
' 软件名称: 搜一次 Content Management System
' 版本编号: Version 1.X
' 官方网站: http://www.syccms.com
' 官方论坛：http://bbs.syccms.com
' 版权所有: 搜一次运营团队
' 法律顾问: 杭州市元茂律师事务所 严飞律师
' 郑重声明:
'    1、任何个人或组织不得在未经授权的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息；
'    2、搜一次网络事业部保留此软件的法律追究权利
'**************************************************************************************************
*/
include "../include/install.php";
if(S_IsInstall==0) die("<script>window.location='../install/install.php'</script>");
include "admin_loginstate.php";
include "admin_version.php";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>后台管理系统</title>
<link  href="images/style.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="images/favicon.ico">
<script src="js/jquery.js"></script>
<script language="javascript" src="js/layer.js"></script>
<script language="javascript">
$(document).ready(function(e){
		
	$("#line").click(function(){
		if ($("#left").is(":hidden")) {
			$("#left").css("display","")
			$("#line").css("background","url(images/arrow.gif)  center no-repeat")
			$("#td_left").css("display","")
			} 
		else{
			 $("#left").css("display","none")
			$("#line").css("background","url(images/arrow1.gif)  center no-repeat")
			 $("#td_left").css("display","none")
			}		
	});
	
	$("li[m=1]").click(function(){
		//$("#showme").css("display","none");
		//$("#showme2").css("display","none");
		var strMenu = $(this).attr("id") + "Menu";
		$("div[id$='Menu']").hide();
		//头部样式更改
		$("li[m=1]").removeClass("two");
		$("li[m=1]").addClass("one");
		var show=$(this).attr("id");
		$("#"+show).addClass("two");
		//左侧主菜单样式更改
		//左侧主菜单子菜单样式更改
		var listname=$("#"+strMenu).find("li").attr("id");
		$("li[m=2]").removeClass("list1");
		$("li[m-2]").addClass("list2");
		$("#"+listname).addClass("list1");
		$("#" + strMenu).show();
	});
	
	$("li[m=2]").mouseover(function(){
		$("li[m=2]").removeClass("list1");
		$("li[m=2]").addClass("list2");
		$("#"+$(this).attr("id")).addClass("list1");
	});
	

	
	$("div[m=3]").click(function(){
		var divnameone=$(this).attr("id");
		var divnametwo=divnameone+"_1";
		$("#"+divnametwo).slideToggle("slow");
		//切换图片
		$("#"+divnameone).toggle(function(){
			$(this).removeClass("title2");
			$(this).removeClass("title1");
			$(this).addClass("title1");
		},function(){
			$(this).removeClass("title2");
			$(this).removeClass("title1");
			$(this).addClass("title2");
		});
		
	});
	$("#ShowMenu").click(function (){
		$("#ShowMenu").removeClass("one");
		$("#ShowMenu").addClass("two");
		
	});
	
});	
</script></head>
<body style="margin:0px;" scroll="no" >

<div>
  <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:0px;">
      <tr>
      <td colspan="3"  height="85" style="background:#9FD7FF;" ><!--头部开始-->
	   <div class="head">
		  <div class="logo"><a href="http://bbs.yixiu.cc" target="_blank"><img src="images/logo.gif" width="200" height="80" border="0" style="margin-top:3px;"/></a></div>
         <div style=" float:right; margin-top:0px; color:#FFF; margin-right:0px;  height:21px; line-height:21px; background:url(images/topmenu.gif);"><div style="float:left; width:84px; text-align:center; "><a href="bbs.yixiu.cc" target="_blank"><font color="#FFFFFF">官方首页</font></a></div><div style="float:left;width:84px; text-align:center;"><a href="bbs.yixiu.cc" target="_blank"><font color="#FFFFFF">官方论坛</font></a></div><div style="float:left;width:164px; text-align:center;"><a href="http://www.xhyidc.com" target="_blank"><font color="#FFFFFF">美国全能月付虚拟主机</font></a></div><div style="float:left;width:164px; text-align:center;"><a href="http://cpanl.xhyidc.com" ><font color="#FFFFFF">美国四大机房月付VPS</font></a></div></div>
         <div class="menu">
			<ul>
				<li class="two" id="Index" m=1><a href="admin_main.php" target="I2" hidefocus="true">首  页</a></li>
				<li class="one" id="Config" m=1><a href="admin_config.php" target="I2" hidefocus="true">系统设置</a></li>
				<li class="one" id="Video" m=1><a href="admin_video.php" target="I2" hidefocus="true">视频管理</a></li>
				<li class="one" id="News" m=1><a href="admin_article.php" target="I2" hidefocus="true">文章管理</a></li>
				<li class="one" id="Tools" m=1><a href="tools/admin_bulk.php" target="I2" hidefocus="true">高级工具</a></li>
				<li class="one" id="Admin" m=1><a href="users/admin_userset.php?action=conf" target="I2" hidefocus="true">用户中心</a></li>
				<li class="one" id="Mark" m=1><a href="admin_template.php?action=add" target="I2" hidefocus="true">标签模板</a></li>				<li class="one" id="MakeHtml" m=1><a href="mark/admin_makehtml.php" target="I2" hidefocus="true">生成管理</a></li>
				<li class="one" id="ShowMenu"><a href="#" target="I2" hidefocus="true" onClick="show('myDiv',event,800,450);return false;" >全局菜单</a></li>
			</ul>
		</div>
	</div>
<!---下部开始-->
   </td>
</tr>
  <tr>
    <td valign="top" width="180" style="border-right:1px solid #3FB3E3; border-top:1px solid #3FB3E3;border-bottom:1px solid #9FD7FF" id="td_left">&nbsp;<div class="left" id="left" >
			<div class="option" id="IndexMenu">
                <div class="title2" m=3  id="IndexMenuS1" style="margin-bottom:0px;">快捷菜单</div>
				<div m=4 id="IndexMenuS1_1" >
				<?php include "tools/admin_quickmenu.php" ?>
				</div>
        	</div>
			
			<!--系统设置-->
			<div class="option1" id="ConfigMenu">
				<div class="title2" m=3 id="ConfigMenuS1"  style="margin-bottom:0px;">系统设置</div>
				<div m=4 id="ConfigMenuS1_1">
					<ul>
						<li class="list1" m=2 id="ConfigMenuL1"><a href="admin_config.php" target="I2">网站配置</a></li>
						<li class="list2" m=2 id="ConfigMenuL4"><a href="admin_link.php" target="I2">友情链接</a></li>
                       <li class="list2" m=2 id="ConfigMenuL5"><a href="admin_adsense.php" target="I2">广告管理</a></li>
                       <li class="list2" m=2 id="ConfigMenuL6"><a href="admin_adsgroup.php" target="I2">广告组管理</a></li>
                       <li class="list2" m=2 id="ConfigMenuL8"><a href="admin_admin.php" target="I2">后台管理员</a></li>
					</ul>
				</div>
        	</div>
            
            <!--视频管理-->
			<div class="option1" id="VideoMenu">
				<div class="title2" m=3 id="VideoMenuS1" style="margin-bottom:0px;">资源平台</div>
				<div m=4 id="VideoMenuS1_1">
					<ul>
						<li class="list1" m=2 id="VideoMenuL8"><a href="collect/admin_revod.php?action=serverlist" target="I2"><font color="#FF0000"><b>官方资源</b></font></a></li>
						<li class="list2" m=2 id="VideoMenuL9"><a href="collect/vodcollect/admin_inflow.php" target="I2">临时资源</a></li>
                        <!--<li class="list2" m=2 id="VideoMenuL10"><a href="collect/admin_timing.php" target="I2">定时采集</a></li>-->
                        <!--<li class="list2" m=2 id="VideoMenuL11"><a href="webcollect/rules_list.php" target="I2">资源发布站采集</a></li>-->
					</ul>
				</div>
                
                <div class="title2" m=3 id="VideoMenuS2" style="margin-bottom:0px;">视频管理</div>
                <div m=4 id="VideoMenuS2_1" >
					<ul>
						<li class="list2" m=2 id="VideoMenuL1"><a href="admin_video.php" target="I2">视频列表</a></li>
						<li class="list2" m=2 id="VideoMenuL2"><a href="admin_video.php?action=add" target="I2">添加视频</a></li>
		                <li class="list2" m=2 id="VideoMenuL3"><a href="admin_videotopic.php" target="I2">视频专题</a></li>
					    <li class="list2" m=2 id="VideoMenuL4"><a href="admin_videoclass.php" target="I2">视频分类</a></li>
						<li class="list2" m=2 id="VideoMenuL5"><a href="admin_area.php" target="I2">地区语言</a></li>
						<li class="list2" m=2 id="VideoMenuL6"><a href="admin_pathip.php" target="I2">服务器组</a></li>
						<li class="list2" m=2 id="VideoMenuL7"><a href="admin_video.php?action=listdel&showlist=2" target="I2">回收管理</a></li>
					</ul>
				</div>
				
				<div class="title2" m=3 id="VideoMenuS3" style="margin-bottom:0px;">自定采集</div>
                <div m=4 id="VideoMenuS3_1" >
					<ul>
						<li class="list2" m=2 id="VideoMenuL15"><a href="collect/vodcollect/rulelist.php" target="I2">规则列表</a></li>
						<li class="list2" m=2 id="VideoMenuL9"><a href="collect/vodcollect/ruleadd_1.php" target="I2">添加规则</a></li>
						<li class="list2" m=2 id="VideoMenuL14"><a href="collect/vodcollect/admin_inflow.php" target="I2">影片入库</a></li>
					</ul>
				</div>
				
        	</div>
            
            <!--文章管理-->
			<div class="option1" id="NewsMenu">
				<div class="title2" m=3 id="NewsMenuS1" style="margin-bottom:0px;">文章管理</div>
				<div m=4 id="NewsMenuS1_1">
					<ul>
						<li class="list1" m=2 id="NewsMenuL1"><a href="admin_article.php" target="I2">文章列表</a></li>
						<li class="list2" m=2 id="NewsMenuL2"><a href="admin_article.php?action=add" target="I2">添加文章</a></li>
						<li class="list2" m=2 id="NewsMenuL5"><a href="admin_articletopic.php" target="I2">文章专题</a></li>
						<li class="list2" m=2 id="NewsMenuL4"><a href="admin_articleclass.php" target="I2">文章分类</a></li>
                        <li class="list2" m=2 id="NewsMenuL3"><a href="admin_article.php?action=listdel&showlist=1" target="I2">回收管理</a></li>  
					</ul>
				</div>
                
               <div class="title2" m=3 id="NewsMenuS2" style="margin-bottom:0px;">自定采集</div>
                <div m=4 id="NewsMenuS2_1" >
					<ul>
						<li class="list2" m=2 id="NewsMenuS6"><a href="collect/artcollect/admin_collect.php?action=main" target="I2">规则列表</a></li>
						<li class="list2" m=2 id="NewsMenuS7"><a href="collect/artcollect/admin_collect.php?action=ruleadd" target="I2">添加规则</a></li>
						<li class="list2" m=2 id="NewsMenuS9"><a href="collect/artcollect/admin_inflow.php" target="I2">入库管理</a></li>
						
					</ul>
				</div>
			</div>
			
		 
		 
		 					<!--高级工具-->
            <div class="option1" id="ToolsMenu">
				<div class="title2" m=3 id="ToolsMenuS1"  style="margin-bottom:0px;">高级工具</div>
				<div m=4 id="ToolsMenuS1_1">
					<ul>
                    <li class="list2" m=2 id="ToolsMenuL1"><a href="tools/admin_bulk.php" target="I2">数据批量操作</a></li>
					<li class="list2" m=2 id="ToolsMenuL2"><a href="tools/admin_back.php" target="I2">数据库备份</a></li>
					<li class="list2" m=2 id="ToolsMenuL3"><a href="tools/admin_back.php?types=condb" target="I2">数据库修复</a></li>
					<li class="list2" m=2 id="ToolsMenuL4"><a href="tools/admin_sql.php" target="I2">SQL语句执行</a></li>

					</ul>
				</div>

				<div class="title2" m=3 id="ToolsMenuS2"  style="margin-bottom:0px;">其它工具</div>
				<div m=4 id="ToolsMenuS2_1">
					<ul>
			<li class="list2" m=2 id="ToolsMenuL4"><a href="admin_video.php?action=check&showlist=3" target="I2">重复视频检测</a></li>		
			<li class="list2" m=2 id="ToolsMenuL5"><a href="tools/admin_menu.php" target="I2">快捷菜单设置</a></li>
			<li class="list2" m=2 id="ToolsMenuL6"><a href="tools/admin_images.php" target="I2">无效图片检测</a></li>
			<li class="list2" m=2 id="ToolsMenuL7"><a href="tools/admin_bulk.php?action=downpic" target="I2">远程图片保存</a></li>
					</ul>
				</div>
                
         	<div class="title2" m=3 id="ToolsMenuS3"  style="margin-bottom:0px;">伪原创工具</div>
				<div m=4 id="ToolsMenuS3_1">
					<ul>
			<!--<li class="list2" m=2 id="ToolsMenuL4"><a href="admin_video.php?action=check&showlist=3" target="I2">重复视频检测</a></li>-->		
			<li class="list2" m=2 id="ToolsMenuL5"><a href="tools/admin_original.php" target="I2">伪原创执行</a></li>
			<li class="list2" m=2 id="ToolsMenuL6"><a href="tools/admin_original.php?action=add" target="I2">同义词管理</a></li>
			
					</ul>
				</div> 
         </div>

			
            <!--用户管理-->
			<div class="option1" id="AdminMenu">
				<div class="title2" m=3 id="AdminMenuS1"  style="margin-bottom:0px;">基本配置</div>
				<div m=4 id="AdminMenuS1_1">
					<ul>
	<li class="list2" m=2 id="AdminMenuL1"><a href="users/admin_userset.php?action=conf" target="I2">基本设置</a></li>
					</ul>
				</div>
              
			  
			    
           <div class="title2" m=3 id="AdminMenuS2"  style="margin-bottom:0px;">留言评论</div>
                <div m=4 id="AdminMenuS2_1" >
					<ul>
					  <li class="list2" m=2 id="FeedbackMenuL1"><a href="users/admin_review.php" target="I2">网友评论</a></li>
					  <li class="list2" m=2 id="FeedbackMenuL2"><a href="users/admin_message.php" target="I2">网友留言</a></li>
					  <li class="list2" m=2 id="FeedbackMenuL3"><a href="users/admin_message.php?action=error" target="I2">视频报错</a></li>
					</ul>
				</div>
                <div class="title2" m=3 id="AdminMenuS3"  style="margin-bottom:0px;">用户管理</div>
                <div m=4 id="AdminMenuS3_1" >
					<ul>
					
					  <li class="list2" m=2 id="VipMenuL1"><a href="users/admin_users.php" target="I2">会员管理</a></li>
					  <li class="list2" m=2 id="VipMenuL2"><a href="users/admin_usersgroup.php" target="I2">分组管理</a></li>
					  <li class="list2" m=2 id="VipMenuL7"><a href="users/admin_users.php?action=showp" target="I2">权限设置</a></li>
                      <li class="list2" m=2 id="VipMenuL4"><a href="users/admin_message.php?action=listvip" target="I2">会员留言</a></li>
					  <li class="list2" m=2 id="VipMenuL6"><a href="users/admin_stationmes.php?action=add" target="I2">系统消息</a></li>
                      <li class="list2" m=2 id="VipMenuL5"><a href="users/admin_stationmes.php?action=list2" target="I2">消息管理</a></li>
					  <li class="list2" m=2 id="VipMenuL3"><a href="users/admin_card.php" target="I2">充值管理</a></li>
                     
                      
					</ul>
				</div>
        	</div>
        	</div>
            
            <!--标签模板-->
			<div class="option1" id="MarkMenu">
                <div class="title2" m=3 id="MarkMenuS1" style="margin-bottom:0px;">模板管理</div>
                <div m=4 id="MarkMenuS1_1" >
					<ul>
						<li class="list2" m=2 id="MarkMenuL1"><a href="admin_template.php?action=add" target="I2">模板管理</a></li>
					</ul>
				</div>
                
                <div class="title2" m=3 id="MarkMenuS2" style="margin-bottom:0px;">标签管理</div>
                <div m=4 id="MarkMenuS2_1" >
					<ul>
                        <li class="list2" m=2 id="MarkMenuL2"><a href="admin_label.php" target="I2">自定义标签</a></li>
					</ul>
				</div>

			</div>
			
			<!--生成设置-->
			<div class="option1" id="MakeHtmlMenu">
				<div class="title2" m=3 id="MakeHtmlMenuS1" style="margin-bottom:0px;">生成全局</div>
				<div m=4 id="MakeHtmlMenuS1_1">
					<ul>
						<li class="list2" m=2 id="MakeHtmlMenuL7"><a href="mark/admin_makehtml.php?action=main" target="I2">生成选项</a></li>
                        <li class="list2" m=2 id="MakeHtmlMenuL2"><a href="mark/admin_spanindex.php?type=index" target="I2">生成首页</a></li>
                        <li class="list2" m=2 id="MakeHtmlMenuL10"><a href="mark/admin_spanindex.php?type=map" target="I2">生成地图</a></li>
					</ul>
				</div>
                
             <div class="title2" m=3 id="MakeHtmlMenuS2" style="margin-bottom:0px;">生成选项</div>
				<div m=4 id="MakeHtmlMenuS2_1">
					<ul>
					<li class="list2" m=2 id="MakeHtmlMenuL5"><a href="mark/admin_spanvideolist.php?type=spanall" target="I2">生成视频</a></li>
						<li class="list2" m=2 id="MakeHtmlMenuL6"><a href="mark/admin_spanvideoshow.php?sel=today" target="I2">当天视频</a></li>
						<li class="list2" m=2 id="MakeHtmlMenuL8"><a href="mark/admin_spanarticlelist.php?type=spanall" target="I2">生成文章</a></li>
						<li class="list2" m=2 id="MakeHtmlMenuL9"><a href="mark/admin_spanarticleshow.php?sel=today" target="I2">当天文章</a></li>
					</ul>
				</div>
			</div>
            

        <div style="position:absolute;width:180px;text-align:center;height:45px;bottom:0px;left:0px;border-top:1px solid #3FB3E3;font-family:Tahoma,auto;background-color:#9FD7FF">
        <p style="vertical-align:middle;top:18%;position:static;+position:relative; color:#000;">版权所有:&nbsp;<a href="http://www.syccms.com/" target="_blank" style="color:#00F">搜一次团队</a></br>当前版本:&nbsp;Version&nbsp;<?php echo str_replace("V","",$S_Version);?></p>
        </div>
  </div>
        </td>
   <td width="10" style=" background:#9FD7FF;">
		<div class="line" id="line"></div>
   </td>
      <td width="100%" height="100%" valign="top" >
		<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  		<tr height="28">
   			 <td width="100%" height="32"><iframe src="admin_head.php" width="100%;" scrolling="no" height="32" frameborder="0"></iframe></td>
  		</tr>
  		<tr>
    	<td ><iframe src="admin_main.php" name="I2" width="100%"  height="100%" scrolling="yes" frameborder="0"></iframe></td>
  </tr>
</table>
    </td>
  </tr>
</table>
</div>
<script language="javascript" for="back" event="onfocus">
	closeed("myDiv");
</script>
<div id="myDiv" style="display: none; position:absolute;top:118px;left:195px">
        <?php include "tools/admin_menuall.php";?>
        <iframe height="460px" width="810px" style=" position:absolute; top:-2px;left:-2px;border:0px solid #FFF;z-index:-111;"></iframe>
</body>
</html>