<?php
/*
'**************************************************************************************************
' 软件名称: 盘锦DJ舞曲网CMS Content Management PjRen.Net
' 版本编号: Version 2.5
' 盘锦舞曲: http://www.pj57.com
' 官方网站: http://www.pjren.net
' 小说网站: http://www.hx39.com
' 0427DJ网: http://www.0427dj.net
' 官方论坛: http://www.tianjiazhen.com
' 版权所有: 盘锦舞曲开发团队    盘锦人(QQ:814006710)
' 郑重声明:
'    1、任何个人或组织不得在未经授权的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息；
'    2、盘锦网络事业部保留此软件的法律追究权利
'**************************************************************************************************
*/
include "../include/install.php";
include "admin_loginstate.php";
include "admin_version.php";
if(S_IsInstall==0) die("<script>window.location='../install/install.php'</script>");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<TITLE>后台管理</TITLE>
<link href="images/skins/index.css" rel="stylesheet" type="text/css" />
<style>
.main_left {table-layout:auto; background:url(images/skins/left_bg.gif)}
.main_left_top{ background:url(images/skins/left_menu_bg.gif); padding-top:2px !important; padding-top:5px;}
.main_left_title{text-align:left; padding-left:15px; font-size:14px; font-weight:bold; color:#fff;}
.left_iframe{HEIGHT: 92%; VISIBILITY: inherit;WIDTH: 180px; background:transparent;}
.main_iframe{HEIGHT: 92%; VISIBILITY: inherit; WIDTH:100%; Z-INDEX: 1}
table { font-size:12px; font-family : tahoma, 宋体, fantasy; }
td { font-size:12px; font-family : tahoma, 宋体, fantasy;}
</style>
<script language = "javaScript" src = "js/admin.js" type="text/javascript"></script>
<script language="javascript" src="js/jquery.js"></script>
<SCRIPT>
var status = 1;
var Menus = new DvMenuCls;
document.onclick=Menus.Clear;
function switchSysBar(){
     if (1 == window.status){
		  window.status = 0;
          switchPoint.innerHTML = '<img src="images/skins/left.gif">';
          document.all("frmTitle").style.display="none"
     }
     else{
		  window.status = 1;
          switchPoint.innerHTML = '<img src="images/skins/right.gif">';
          document.all("frmTitle").style.display=""
     }
}
</SCRIPT>
<body style="margin: 0px">
<table border=0 cellpadding=0 cellspacing=0 height="100%" width="100%" style="background:#C3DAF9;">
<tbody>
<tr>
<td height="58" colspan="3">
<iframe frameborder="0" id="top" name="top" scrolling="no" src="admin_head.php" style="height: 100%; visibility: inherit;width: 100%;"></iframe>
</td>
</tr>
<tr>
<td height="30" colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr height="32">
	  <td background="images/skins/bg22.gif"width="28" style="padding-left:30px;"><img src="images/skins/arrow.gif" alt="" align="absmiddle" /></td>
	  <td background="images/skins/bg22.gif"><span style="float:left">官方公告：</span><span style="color:#c00; font-weight:bold; float:left;width:500px;" id="ad_1">公告加载中.....</span></td>
	  <td background="images/skins/bg22.gif" style="text-align:right; color: #135294; padding-right:15px; "> <a href="index.php" target='_top'>后台首页</a> | <a href="../index.php" target="_blank">网站首页</a> | <font id="cache" style="color:red; cursor:pointer">更新缓存</font></a>&nbsp;<span id="rcache"></span> | <a href="admin_update.php" target="frmright"><font color="#006600">程序升级</font></a> | <a href="admin_login.php?action=logout" target="_top">退出登入</a> </td>
  </tr>
</table>
</td>
</tr>
<tr>
	<td align="middle" id="frmTitle" valign="top" name="fmtitle" style="background:#c9defa">
	<iframe frameborder="0" id="frmleft" name="frmleft" src="admin_left.php" style="height: 100%; visibility: inherit;width: 185px;background:url(images/skins/leftop.gif) no-repeat" allowtransparency="true"></iframe>
	</td>
	<td style="width:0px;" valign="middle">
		<div onClick="switchSysBar()">
		<span class="navpoint" id="switchPoint" title="关闭/打开左栏"><img src="images/skins/right.gif" alt="" /></span>
		</div>
	</td>
	<td style="width: 100%" id="frmright" valign="top">
		<iframe frameborder="0" id="frmright" name="frmright" scrolling="yes" src="admin_main.php" style="height: 100%; visibility: inherit; width:100%; z-index: 1"></iframe>
	</td>
</tr>
<td height="30" colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="background:url(images/skins/botbg.gif)">
  <tr height="32">
	<td style="padding-left:30px; font-family:arial; font-size:11px;">Copyright Right &copy; 2011 ChShCmS Powered By PHP <?php echo $S_Version?></td>
	<td style="text-align:right; color:#91B1C6;">
	<td style="text-align:right; color: #135294; padding-right:20px;"><a href="http://www.pjren.net/" target="_blank">官方网站</a> | <a href="http://www.pj57.com/" target="_blank">盘锦舞曲</a> | <a href="http://www.hx39.com/" target="_blank">有声小说</a> | <a href="http://www.0427dj.net/" target="_blank">0427DJ</a> |  <a href="http://www.tianjiazhen.com/" target="_blank">官方论坛</a></td>
  </tr>
</table>
</td>
</tr>
 </tbody>
</table>
<script language="javascript">
	$("#cache").click(function(){
		$("#rcache").html("<font color=green>缓存更新中....</font>");					   
		$.get("js/ajaxfun.php?action=cache",function(R){
				if(R=="ok"){
					$("#rcache").html("<font color=green>更新成功!</font>");
					} 
				else{
					$("#rcache").html("<font color=red>更新失败!</font>");
					}	
			})					   
		})
</script>
<span id="span_ad_1" >
	<script language="javascript" src="http://www.pjren.net/pjren_net_vip/notice.js"></script>
</span>

<script type="text/javascript">ad_1.innerHTML=span_ad_1.innerHTML; span_ad_1.innerHTML=""</script>
<script language="javascript" for="back" event="onfocus">
	closeed("myDiv");
</script>
</body>
</body>
</html>