⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adminmain.php

📁 不错的一个网站管理系统
💻 PHP
字号:
<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
$r=ReturnLeftLevel($loginlevel);
?>
<HTML>
<HEAD>
<TITLE>帝国网站管理系统 V5.1 --- Powered by EmpireCMS</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="adminstyle/1/include/site.css" rel=stylesheet>
<STYLE>.yToolbar {
	BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; LEFT: 1px; BACKGROUND-IMAGE:   VISIBILITY: visible; BORDER-LEFT: buttonhighlight 1px solid; BORDER-BOTTOM: buttonshadow 1px solid; POSITION: relative; TOP: 0px; HEIGHT: 27px; BACKGROUND-COLOR: #8CBDEF
}
.TBHandle {
	BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; FONT-SIZE: 1px; BORDER-LEFT: buttonhighlight 1px solid; WIDTH: 3px; POSITION: absolute; TOP: 1px; HEIGHT: 22px; BACKGROUND-COLOR: buttonface
}
.TBHandle2 {
	BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; FONT-SIZE: 1px; BORDER-LEFT: buttonhighlight 1px solid; WIDTH: 3px; POSITION: absolute; TOP: 1px; HEIGHT: 60px; BACKGROUND-COLOR: buttonface
}
.TBSep {
	BORDER-RIGHT: buttonhighlight 1px solid; FONT-SIZE: 0px; BORDER-LEFT: buttonshadow 1px solid; WIDTH: 1px; POSITION: absolute; TOP: 1px; HEIGHT: 22px
}
.flyoutLink A {
	COLOR: black; TEXT-DECORATION: none
}
.flyoutLink A:hover {
	COLOR: black; TEXT-DECORATION: none
}
.flyoutLink A:visited {
	COLOR: black; TEXT-DECORATION: none
}
.flyoutLink A:active {
	COLOR: black; TEXT-DECORATION: none
}
.flyoutMenu {
	BACKGROUND-COLOR: #8CBDEF
}
.flyoutMenu TD.flyoutLink {
	BORDER-RIGHT: #8CBDEF 1px solid; BORDER-TOP: #8CBDEF 1px solid; BORDER-LEFT: #8CBDEF 1px solid; CURSOR: hand; PADDING-TOP: 1px; BORDER-BOTTOM: #8CBDEF 1px solid
}
.flyoutMenu1 {
	BACKGROUND-COLOR: #fbf9f9
}
.flyoutMenu1 TD.flyoutLink1 {
	BORDER-RIGHT: #fbf9f9 1px solid; BORDER-TOP: #fbf9f9 1px solid; BORDER-LEFT: #fbf9f9 1px solid; CURSOR: hand; PADDING-TOP: 1px; BORDER-BOTTOM: #fbf9f9 1px solid
}
</STYLE>
<SCRIPT>
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("frmTitle").style.display="none"
}else{
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}}
function switchSysBarInfo(){
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}

function about()
{
window.showModalDialog("adminstyle/1/help/about.htm","ABOUT","dialogwidth:300px;dialogheight:150px;center:yes;status:no;scroll:no;help:no");
}

function over(){
	if(obj=event.srcElement)
		if(obj.className=="flyoutLink"){
			obj.style.backgroundColor='#B5C4EC'
			obj.style.borderColor = '#380FA6'
		}else if(obj.className=="flyoutLink1"){
		    obj.style.backgroundColor='#B5C4EC'
			obj.style.borderColor = '#380FA6'				
			}
}
function out(){
	if(obj=event.srcElement)
		if(obj.className=="flyoutLink"){
			obj.style.backgroundColor='8CBDEF'
			obj.style.borderColor = '8CBDEF'
		}else if(obj.className=="flyoutLink1"){
		    obj.style.backgroundColor='#FBF9F9'
			obj.style.borderColor = '#FBF9F9'				
			}
}
function show(d){
	if(obj=document.all(d))	obj.style.visibility="visible";

}
function hide(d){
	if(obj=document.all(d))	obj.style.visibility="hidden";
}

document.onmouseover=over
document.onmouseout=out
</SCRIPT>
<SCRIPT language=javascript>       
<!--       
var displaymode=0       
//var iframecode='<iframe id="jshtml" style="width:85%;height:200px" src="http://www.phome.net"></iframe>'
//if (displaymode==0)       
//document.write(iframecode)       
       
function jumpto(inputurl){       
if (document.getElementById&&displaymode==0)       
document.getElementById("main").src=inputurl       
else if (document.all&&displaymode==0)       
document.all.external.src=inputurl       
else{       
if (!window.win2||win2.closed)       
win2=window.open(inputurl)       
//else if win2 already exists       
else{       
}       
}       
}       

function JumpToLeftMenu(url){
	document.getElementById("left").src=url;
}

function JumpToMain(url){
	document.getElementById("main").src=url;
}
//-->       
</SCRIPT>
<SCRIPT>

<!--

function winopen(){

var targeturl=""
//closetime=1
//oldwin=window
newwin=window.open("","","")


if (document.all){

newwin.moveTo(0,0)

newwin.resizeTo(screen.width,screen.height)
newwin.focus();
//self.close();
//window.setTimeout("window.close();",5000);
//if (closetime) setTimeout("oldwin.close();", closetime*1000);
}

newwin.location=targeturl

}

function winopen1(){

var targeturl="../../index.htm"
//closetime=1
//oldwin=window
newwin=window.open("","","")


if (document.all){

newwin.moveTo(0,0)

newwin.resizeTo(screen.width,screen.height)
newwin.focus();
//self.close();
//window.setTimeout("window.close();",5000);
//if (closetime) setTimeout("oldwin.close();", closetime*1000);
}
newwin.location=targeturl
}
//-->
</SCRIPT>
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</SCRIPT>
</HEAD>
<BODY bgColor="#8CBDEF" leftMargin=0 topMargin=0>
<TABLE width="100%" height="100%" border=0 cellpadding="0" cellSpacing=0>
<tr>
<td height="60">

  <TABLE width="100%" height="60" border=0 cellpadding="0" cellSpacing=0 background="adminstyle/1/images/topbg.gif">
    <TBODY>
      <TR> 
        <TD width="1%"></TD>
		<TD width="99%" height=60> 
			<TABLE width=737 border=0 cellpadding="0" cellSpacing=0>
			<TBODY>
              <TR align=middle> 
                
              <TD width=80 onmouseover="this.style.backgroundColor='#8CBDEF'" onmouseout="this.style.backgroundColor=''" onclick="JumpToLeftMenu('adminstyle/1/left.php?ecms=system');" style="CURSOR: hand"> 
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td><div align="center"><IMG height=32 src="adminstyle/1/images/system.gif" width=32 border=0 title="系统设置"></div></td>
                  </tr>
                  <tr> 
                    <td height="23"><div align="center"><font color="#FFFFFF">系统设置</font></div></td>
                  </tr>
                </table>
			  </TD>
                
              <TD width=80 onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#8CBDEF'" onclick="switchSysBarInfo();JumpToLeftMenu('ListEnews.php');" style="CURSOR: hand"> 
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td><div align="center"><IMG height=32 src="adminstyle/1/images/info.gif" width=32 border=0 title="信息管理"></div></td>
                  </tr>
                  <tr> 
                    <td height="23"><div align="center"><font color="#FFFFFF">信息管理</font></div></td>
                  </tr>
                </table>
              </TD>
                
              <TD width=80 onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#8CBDEF'" onclick="JumpToLeftMenu('adminstyle/1/left.php?ecms=classdata');" style="CURSOR: hand"> 
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td><div align="center"><img height=32 src="adminstyle/1/images/class.gif" width=32 border=0 title="栏目管理"></div></td>
                  </tr>
                  <tr> 
                    <td height="23"><div align="center"><font color="#FFFFFF">栏目管理</font></div></td>
                  </tr>
                </table>
              </TD>
                
              <TD width=80 onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#8CBDEF'" onclick="JumpToLeftMenu('adminstyle/1/left.php?ecms=template');" style="CURSOR: hand">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td><div align="center"><img src="adminstyle/1/images/template.gif" width="32" height="32" border="0" title="模板管理"></div></td>
                  </tr>
                  <tr> 
                    <td height="23"><div align="center"><font color="#FFFFFF">模板管理</font></div></td>
                  </tr>
                </table>
                </TD>
                
              <TD width=80 onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#8CBDEF'" onclick="JumpToLeftMenu('adminstyle/1/left.php?ecms=usercp');" style="CURSOR: hand">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td><div align="center"><IMG height=32 src="adminstyle/1/images/usercp.gif" width=32
            border=0 title="用户面板"></div></td>
                  </tr>
                  <tr> 
                    <td height="23"><div align="center"><font color="#FFFFFF">用户面板</font></div></td>
                  </tr>
                </table>
                </TD>
                
              <TD width=80 onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#8CBDEF'" onclick="JumpToLeftMenu('adminstyle/1/left.php?ecms=tool');" style="CURSOR: hand"> 
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td><div align="center"><IMG height=32 src="adminstyle/1/images/tool.gif" width=32 border=0 title="插件管理"></div></td>
                  </tr>
                  <tr> 
                    <td height="23"><div align="center"><font color="#FFFFFF">插件管理</font></div></td>
                  </tr>
                </table>
                </TD>
                
              <TD width=80 onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#8CBDEF'" onclick="JumpToLeftMenu('adminstyle/1/left.php?ecms=other');" style="CURSOR: hand"> 
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td><div align="center"><IMG height=32 src="adminstyle/1/images/other.gif" width=32 border=0 title="其他管理"></div></td>
                  </tr>
                  <tr> 
                    <td height="23"><div align="center"><font color="#FFFFFF">其他管理</font></div></td>
                  </tr>
                </table>
                </TD>
                <TD width="351"><font color="#ffffff">当前用户: 
                  <a href="user/EditPassword.php" target="main"><font color="#ffffff"><?=$loginin?></font></a>
                  </font></TD>
              </TR>
            </TBODY>
          </TABLE>
        
      </TD>
      </TR>
    </TBODY>
  </TABLE>

</td></tr>
<tr><td height="22">

  <TABLE width="100%" height="22" border=0 cellpadding="0" cellSpacing=0>
    <TBODY>
      <TR> 
        <TD class=flyoutMenu width="1%"> </TD>   
		<TD width="99%" height="22"> 
			<TABLE class=flyoutMenu width=685 border=0>
			<TBODY>
            <TR align=middle> 
              <TD class="flyoutLink"
          onclick="JumpToMain('ListAllInfo.php');">增加信息</TD>
              <TD class=flyoutLink 
          onclick="JumpToMain('ListAllInfo.php');">管理信息</TD>
              <TD class="flyoutLink" 
          onclick="JumpToMain('ListAllInfo.php?showspecial=4&sear=1');">审核信息</TD>
              <TD class="flyoutLink"
          onclick="JumpToMain('ListNewsQf.php');">签发信息</TD>
              <TD class="flyoutLink"
          onclick="JumpToMain('ListAllPl.php');">评论管理</TD>
              <TD class="flyoutLink"
          onclick="JumpToMain('ReHtml/ChangeData.php');">数据更新</TD>
              <TD class="flyoutLink"
          onclick="JumpToMain('main.php');">后台首页</TD>
              <TD class="flyoutLink"
          onclick="window.open('../../');">网站首页</TD>
              <TD class="flyoutLink"
          onclick="window.open('map.php','','width=1200,height=550,scrollbars=auto,resizable=yes,top=190,left=120');">后台地图</TD>
              <TD class="flyoutLink"
          onclick="window.open('http://bbs.phome.net/listthread-23-cms-page-0.html');">在线升级</TD>
              <TD class="flyoutLink"
          onclick="if(confirm('确认要退出?')){JumpToMain('enews.php?enews=exit');}">退出</TD>
            </TR>
          </TBODY>
        </TABLE>
      </TD>
      </TR>
    </TBODY>
  </TABLE>

</td></tr>
<tr><td height="100%" bgcolor="#ffffff">

  <TABLE width="100%" height="100%" cellpadding="0" cellSpacing=0 border=0 borderColor="#ff0000">
  <TBODY>
    <TR> 
      <TD width="123" valign="top" bgcolor="#8CBDEF">
		<IFRAME frameBorder="0" id="dorepage" name="dorepage" scrolling="no" src="DoTimeRepage.php" style="HEIGHT:0;VISIBILITY:inherit;WIDTH:0;Z-INDEX:1"></IFRAME>
      </TD>
      <TD noWrap id="frmTitle">
		<IFRAME frameBorder="0" id="left" name="left" scrolling="auto" src="ListEnews.php" style="HEIGHT:100%;VISIBILITY:inherit;WIDTH:200px;Z-INDEX:2"></IFRAME>
      </TD>
      <TD>
		<TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" bgcolor="#8CBDEF">
          <TBODY>
            <tr> 
              <TD onclick="switchSysBar()" style="HEIGHT:100%;"> <font style="COLOR:666666;CURSOR:hand;FONT-FAMILY:Webdings;FONT-SIZE:9pt;"> 
                <SPAN id="switchPoint" title="打开/关闭左边导航栏">3</SPAN></font> 
          </TBODY>
        </TABLE>
      </TD>
      <TD width="100%">
		<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" align="right" border=0>
          <TBODY>
            <TR> 
              <TD align=right>
				<IFRAME id="main" name="main" style="WIDTH: 100%; HEIGHT: 100%" src="main.php" frameBorder=0></IFRAME>
              </TD>
            </TR>
          </TBODY>
        </TABLE>
      </TD>
    </TR>
  </TBODY>
  </TABLE>

</td></tr>
</TABLE>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -