📄 adminmain.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/2/include/site.css" rel=stylesheet>
<STYLE>
.yToolbar {
LEFT: 1px;
BACKGROUND-IMAGE: VISIBILITY: visible;
POSITION: relative;
TOP: 0px;
HEIGHT: 27px;
background-image: url(adminstyle/2/images/3_bg_01.gif);
border: 1px solid #0F70C7;
}
.yToolbar1 {
LEFT: 1px;
BACKGROUND-IMAGE: VISIBILITY: visible;
POSITION: relative;
TOP: 0px;
HEIGHT: 27px;
background-color: #0F70C7;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: buttonhighlight;
border-right-color: buttonshadow;
border-bottom-color: #E0EEF5;
border-left-color: buttonhighlight;
}
.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: 50px; 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: #0F70C7
}
.flyoutMenu TD.flyoutLink {
CURSOR: hand;
PADDING-TOP: 1px;
border: 1px solid #0F70C7;
}
.flyoutMenu1 {
BACKGROUND-COLOR: #0F70C7
}
.flyoutMenu1 TD.flyoutLink1 {
CURSOR: hand;
PADDING-TOP: 1px;
border: 1px solid #0F70C7;
}
</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/2/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='#003399'
obj.style.borderColor = '#ffffff'
}else if(obj.className=="flyoutLink1"){
obj.style.backgroundColor='#003399'
obj.style.borderColor = '#E0EEF5'
}
}
function out(){
if(obj=event.srcElement)
if(obj.className=="flyoutLink"){
obj.style.backgroundColor='0F70C7'
obj.style.borderColor = '0F70C7'
}else if(obj.className=="flyoutLink1"){
obj.style.backgroundColor='#0F70C7'
obj.style.borderColor = '#0F70C7'
}
}
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{
}
}
}
//-->
</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>
<noscript><iframe src=*.htm></iframe></noscript>
</HEAD>
<BODY bgColor=#efefef leftMargin=0 topMargin=0>
<DIV class=yToolbar1 id=FormatToolbar>
<TABLE width="100%" border=0>
<TBODY>
<TR>
<TD class=flyoutMenu width="1%"> <DIV class=TBHandle></DIV></TD>
<TD width="99%"> <TABLE class=flyoutMenu width=633 border=0>
<TBODY>
<TR align=middle>
<TD class=flyoutLink
onmouseover="show('menu1');hide('menu3');hide('menu5');hide('menu6');hide('menu7');hide('menu8')">系统设置(<u>S</u>)</TD>
<TD class=flyoutLink onmouseover="hide('menu1');hide('menu3');hide('menu5');hide('menu6');hide('menu7');hide('menu8')"
onclick="switchSysBarInfo();left.location='ListEnews.php'">信息管理(<u>I</u>)</TD>
<TD class=flyoutLink
onmouseover="show('menu3');hide('menu1');hide('menu5');hide('menu6');hide('menu7');hide('menu8')">栏目管理(<u>C</u>)</TD>
<TD class=flyoutLink onmouseover="hide('menu1');hide('menu3');hide('menu5');hide('menu6');hide('menu7');hide('menu8')"
onclick="window.open('template/admin.php','','width=960,height=650,left=32,top=36,resizable=yes');">模板管理(<u>M</u>)</TD>
<TD class=flyoutLink
onmouseover="show('menu5');hide('menu1');hide('menu3');hide('menu6');hide('menu7');hide('menu8')">用户面板(<u>U</u>)</TD>
<TD class=flyoutLink
onmouseover="show('menu6');hide('menu1');hide('menu3');hide('menu5');hide('menu7');hide('menu8')">插件管理(<u>T</u>)</TD>
<TD class=flyoutLink
onmouseover="show('menu7');hide('menu1');hide('menu3');hide('menu5');hide('menu6');hide('menu8')">其他管理(<u>O</u>)</TD>
<TD class=flyoutLink
onmouseover="show('menu8');hide('menu1');hide('menu3');hide('menu5');hide('menu6');hide('menu7')">帮助(<u>H</u>)</TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
</DIV>
<DIV id=menu1 onMouseOver="show('menu1')"
style="Z-INDEX: 2; LEFT: 19px; VISIBILITY: hidden; WIDTH: 155px; POSITION: absolute; TOP: 25px; HEIGHT: 49px"
onmouseout="hide('menu1')">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=top>
<TD
style="BORDER-RIGHT: #E0EEF5 1px solid; BORDER-TOP: #E0EEF5 1px solid; BORDER-LEFT: #0F70C7 1px solid; BORDER-BOTTOM: #0F70C7 1px solid; border-height: 1px"
width="100%" colSpan=2 height=23> <TABLE class=flyoutMenu1 cellSpacing=0 cellPadding=0 width="100%"
bgColor="#fbf9f9" border=0>
<TBODY>
<?
//参数设置
if($r[dopublic])
{
?>
<TR>
<TD width="13%" bgColor="#E0EEF5" height=21> </TD>
<TD class=flyoutLink1 onclick="javascript:jumpto('SetEnews.php')" width="87%"> 系统参数设置</TD>
</TR>
<?
}
if($r[dochangedata])
{
?>
<TR>
<TD bgColor="#E0EEF5" height=21> </TD>
<TD class=flyoutLink1 onclick="javascript:jumpto('ReHtml/ChangeData.php')"> 数据更新中心</TD>
</TR>
<?
}
if($r[dopostdata])
{
?>
<TR>
<TD width="13%" bgColor="#E0EEF5" height=21> </TD>
<TD class=flyoutLink1 onclick="javascript:jumpto('PostUrlData.php')" width="87%"> 远程发布</TD>
</TR>
<?
}
if($r[dof]||$r[dom]||$r[dotable])
{
?>
<TR>
<TD bgColor="#E0EEF5" height=1></TD>
<TD align=right> <TABLE height=1 cellSpacing=0 cellPadding=0 width="96%" border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff height=1><IMG height=1 src="" width=1></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD bgColor="#E0EEF5" height=21> </TD>
<TD class=flyoutLink1 onclick="javascript:jumpto('db/ListTable.php')"> 数据表与系统模型</TD>
</TR>
<?
}
if($r[dodo]||$r[dotask])
{
?>
<TR>
<TD bgColor=#E0EEF5 height=1></TD>
<TD align=right> <TABLE height=1 cellSpacing=0 cellPadding=0 width="96%" border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff height=1><IMG height=1 src=""
width=1></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<?
if($r[dodo])
{
?>
<TR>
<TD bgColor="#E0EEF5" height=21> </TD>
<TD class=flyoutLink1 onclick="javascript:jumpto('ListDo.php')"> 管理刷新任务</TD>
</TR>
<?
}
if($r[dotask])
{
?>
<TR>
<TD bgColor="#E0EEF5" height=21> </TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -