123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341 |
- <?php
- define('EmpireCMSAdmin','1');
- require("../class/connect.php");
- require("../class/db_sql.php");
- require("../class/functions.php");
- require("../member/class/user.php");
- $link=db_connect();
- $empire=new mysqlquery();
- $lur=is_login();
- $logininid=(int)$lur['userid'];
- $loginin=$lur['username'];
- $loginrnd=$lur['rnd'];
- $loginlevel=(int)$lur['groupid'];
- $loginadminstyleid=$lur['adminstyleid'];
- $ecms_hashur=hReturnEcmsHashStrAll();
- $user_r=$empire->fetch1("select pretime,preip,loginnum,preipport from {$dbtbpre}enewsuser where userid='$logininid'");
- $gr=$empire->fetch1("select groupname from {$dbtbpre}enewsgroup where groupid='$loginlevel'");
- $adminnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsuser");
- $date=date("Y-m-d");
- $noplnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewspl_".$public_r['pldeftb']." where checked=1");
- $nomembernum=$empire->gettotal("select count(*) as total from ".eReturnMemberTable()." where ".egetmf('checked')."=0");
- $outtimeadnum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsad where endtime<'$date' and endtime<>'0000-00-00'");
- $qfinfonum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewswfinfo where checktno=0 and (groupid like '%,".$lur['groupid'].",%' or userclass like '%,".$lur['classid'].",%' or username like '%,".$lur['username'].",%')");
- if(function_exists('ini_get')){
- $onoff = ini_get('register_globals');
- } else {
- $onoff = get_cfg_var('register_globals');
- }
- if($onoff){
- $onoff="打开";
- }else{
- $onoff="关闭";
- }
- if(function_exists('ini_get')){
- $upload = ini_get('file_uploads');
- } else {
- $upload = get_cfg_var('file_uploads');
- }
- if ($upload){
- $upload="可以";
- }else{
- $upload="不可以";
- }
- if(function_exists('ini_get')){
- $uploadsize = ini_get('upload_max_filesize');
- } else {
- $uploadsize = get_cfg_var('upload_max_filesize');
- }
- if(function_exists('ini_get')){
- $uploadpostsize = ini_get('post_max_size');
- } else {
- $uploadpostsize = get_cfg_var('post_max_size');
- }
- $register_ok="开启";
- if($public_r[register_ok])
- {$register_ok="关闭";}
- $addnews_ok="开启";
- if($public_r[addnews_ok])
- {$addnews_ok="关闭";}
- @include("../class/EmpireCMS_version.php");
- ?>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>帝国网站管理系统</title>
- <link href="adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
- <?php
- $filename = '../../e/install/';
-
- if (file_exists($filename)) {
- echo "<h3><div align='center'><font color='#FF0000'>存在安全风险!请将 $filename 文件夹删除或改名!</font></div></h3>";
- } else {
- echo "<h3><div align='center'><font color='#FF0000'> (☆_☆)文件夹 $filename 以删除或改名 (☆_☆)</font></div></h3>";
- }
- ?>
- <h3><div align='center'><font color='#FF0000'>安装完后及时修改后台默认登录目录及初始密码</font></div></h3>
- <tr>
- <td><div align="center"><script src=http:
- <h3>欢迎使用帝国网站管理系统 (EmpireCMS)</h3>
- </strong></div></td>
- </tr>
- <tr>
- <td><table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25">我的状态</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td height="22">登录者: <b>
- <?=$loginin?>
- </b> ,所属用户组: <b>
- <?=$gr[groupname]?>
- </b></td>
- </tr>
- <tr>
- <td height="22">这是您第 <b>
- <?=$user_r[loginnum]?>
- </b> 次登录,上次登录时间:
- <?=$user_r[pretime]?date('Y-m-d H:i:s',$user_r[pretime]):'---'?>
- ,登录IP:
- <?=$user_r[preip]?$user_r[preip].':'.$user_r[preipport]:'---'?> </td>
- </tr>
- </table> </td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td><table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td width="100%" height="25">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="50%"><strong><a href="#ecms">快捷菜单</a></strong></td>
- <td><div align="right"><a href="http://www.phome.net/edown25/" target="_blank"><strong>帝国下载系统</strong></a></div></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"><strong>信息操作</strong>: <a href="AddInfoChClass.php<?=$ecms_hashur['whehref']?>">增加信息</a>
- <a href="ListAllInfo.php<?=$ecms_hashur['whehref']?>">管理信息</a> <a href="ListAllInfo.php?ecmscheck=1<?=$ecms_hashur['ehref']?>">审核信息</a>
- <a href="workflow/ListWfInfo.php<?=$ecms_hashur['whehref']?>">签发信息</a>(<strong><font color="#FF0000"><?=$qfinfonum?></font></strong>) <a href="openpage/AdminPage.php?leftfile=<?=urlencode('../pl/PlNav.php'.$ecms_hashur['whehref'])?>&mainfile=<?=urlencode('../pl/PlMain.php'.$ecms_hashur['whehref'])?>&title=<?=urlencode('管理评论')?><?=$ecms_hashur['ehref']?>">管理评论</a> <a href="sp/UpdateSp.php<?=$ecms_hashur['whehref']?>">更新碎片</a> <a href="special/UpdateZt.php<?=$ecms_hashur['whehref']?>">更新专题</a> <a href="info/InfoMain.php<?=$ecms_hashur['whehref']?>">数据统计</a></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"><strong>栏目操作</strong>: <a href="ListClass.php<?=$ecms_hashur['whehref']?>">管理栏目</a>
- <a href="special/ListZt.php<?=$ecms_hashur['whehref']?>">管理专题</a> <a href="ListInfoClass.php<?=$ecms_hashur['whehref']?>">管理采集</a>
- <a href="openpage/AdminPage.php?leftfile=<?=urlencode('../file/FileNav.php'.$ecms_hashur['whehref'])?>&title=<?=urlencode('管理附件')?><?=$ecms_hashur['ehref']?>">附件管理</a>
- <a href="SetEnews.php<?=$ecms_hashur['whehref']?>">系统参数设置</a> <a href="ReHtml/ChangeData.php<?=$ecms_hashur['whehref']?>">数据更新中心</a></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"><strong>用户操作</strong>: <a href="member/ListMember.php?sear=1&schecked=1<?=$ecms_hashur['ehref']?>">审核会员</a>
- <a href="member/ListMember.php<?=$ecms_hashur['whehref']?>">管理会员</a> <a href="user/ListLog.php<?=$ecms_hashur['whehref']?>">管理登陆日志</a>
- <a href="user/ListDolog.php<?=$ecms_hashur['whehref']?>">管理操作日志</a> <a href="user/EditPassword.php<?=$ecms_hashur['whehref']?>">修改个人资料</a>
- <a href="user/UserTotal.php<?=$ecms_hashur['whehref']?>">用户发布统计</a></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"><strong>反馈管理</strong>: <a href="tool/gbook.php<?=$ecms_hashur['whehref']?>">管理留言</a>
- <a href="tool/feedback.php<?=$ecms_hashur['whehref']?>">管理反馈信息</a> <a href="DownSys/ListError.php<?=$ecms_hashur['whehref']?>">管理错误报告</a>
- <a href="#empirecms" onClick="window.open('openpage/AdminPage.php?leftfile=<?=urlencode('../ShopSys/pageleft.php'.$ecms_hashur['whehref'])?>&mainfile=<?=urlencode('../ShopSys/ListDd.php'.$ecms_hashur['whehref'])?>&title=<?=urlencode('商城系统管理')?><?=$ecms_hashur['ehref']?>','AdminShopSys','');">管理订单</a> <a href="pay/ListPayRecord.php<?=$ecms_hashur['whehref']?>">管理支付记录</a>
- <a href="PathLevel.php<?=$ecms_hashur['whehref']?>">查看目录权限状态</a></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="102">
- <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr>
- <td bgcolor="#FFFFFF"><div align="center"><img src="loginimg/ecmsbanner.gif" border="0"></div></td>
- </tr>
- </table> </td>
- </tr>
- <tr>
- <td><table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="50%"><a href="#"><strong>系统信息</strong></a></td>
- <td><div align="right"><a href="http://ebak.phome.net" target="_blank"><strong>帝国MYSQL备份王下载</strong></a></div></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td width="43%"><strong>网站信息</strong></td>
- <td width="57%"><strong>服务器信息</strong></td>
- </tr>
- <tr>
- <td valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td width="28%" height="23">会员注册:</td>
- <td width="72%">
- <?=$register_ok?> </td>
- </tr>
- <tr>
- <td height="23">会员投稿:</td>
- <td>
- <?=$addnews_ok?> </td>
- </tr>
- <tr>
- <td height="23">管理员个数:</td>
- <td><a href="user/ListUser.php<?=$ecms_hashur['whehref']?>"><?=$adminnum?></a> 人</td>
- </tr>
- <tr>
- <td height="23">未审核评论:</td>
- <td><a href="openpage/AdminPage.php?leftfile=<?=urlencode('../pl/PlNav.php'.$ecms_hashur['whehref'])?>&mainfile=<?=urlencode('../pl/ListAllPl.php?checked=2'.$ecms_hashur['ehref'])?>&title=<?=urlencode('管理评论')?><?=$ecms_hashur['ehref']?>"><?=$noplnum?></a> 条</td>
- </tr>
- <tr>
- <td height="23">未审核会员:</td>
- <td><a href="member/ListMember.php?sear=1&schecked=1<?=$ecms_hashur['ehref']?>"><?=$nomembernum?></a> 人</td>
- </tr>
- <tr>
- <td height="23">过期广告:</td>
- <td><a href="tool/ListAd.php?time=1<?=$ecms_hashur['ehref']?>"><?=$outtimeadnum?></a> 个</td>
- </tr>
- <tr>
- <td height="23">登陆者IP:</td>
- <td><? echo egetip();?></td>
- </tr>
- <tr>
- <td height="23">程序版本:</td>
- <td> <a href="http://www.phome.net" target="_blank"><strong>EmpireCMS
- v<?=EmpireCMS_VERSION?> Free</strong></a> <font color="#666666">(<?=EmpireCMS_LASTTIME?>)</font></td>
- </tr>
- <tr>
- <td height="23">程序编码:</td>
- <td><?=EmpireCMS_CHARVER?></td>
- </tr>
- </table></td>
- <td valign="top" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td width="25%" height="23">服务器软件:</td>
- <td width="75%">
- <?=$_SERVER['SERVER_SOFTWARE']?> </td>
- </tr>
- <tr>
- <td height="23">操作系统:</td>
- <td><? echo defined('PHP_OS')?PHP_OS:'未知';?></td>
- </tr>
- <tr>
- <td height="23">PHP版本:</td>
- <td><? echo @phpversion();?></td>
- </tr>
- <tr>
- <td height="23">MYSQL版本:</td>
- <td><? echo do_eGetDBVer(0);?></td>
- </tr>
- <tr>
- <td height="23">全局变量:</td>
- <td>
- <?=$onoff?>
- <font color="#666666">(建议关闭)</font></td>
- </tr>
- <tr>
- <td height="23">魔术引用:</td>
- <td>
- <?=MAGIC_QUOTES_GPC?'开启':'关闭'?>
- <font color="#666666">(建议开启)</font></td>
- </tr>
- <tr>
- <td height="23">上传文件:</td>
- <td>
- <?=$upload?>
- <font color="#666666">(最大文件:<?=$uploadsize?>,表单:<?=$uploadpostsize?>)</font> </td>
- </tr>
- <tr>
- <td height="23">当前时间:</td>
- <td><? echo date("Y-m-d H:i:s");?></td>
- </tr>
- <tr>
- <td height="23">使用域名:</td>
- <td>
- <?=$_SERVER['HTTP_HOST']?> </td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td><table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">官方信息</td>
- </tr>
- <tr>
- <td width="43%" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="3" cellspacing="1">
- <tr bgcolor="#FFFFFF">
- <td width="28%" height="25">帝国官方主页</td>
- <td width="72%" height="25"><a href="http://www.phome.net" target="_blank">http://www.phome.net</a></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height="25">帝国官方论坛</td>
- <td height="25"><a href="http://bbs.phome.net" target="_blank">http://bbs.phome.net</a></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height="25">帝国产品中心</td>
- <td height="25"><a href="http://www.phome.net/product/" target="_blank">http://www.phome.net/product/</a></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height="25">公司网站</td>
- <td height="25"><a href="http://www.digod.com" target="_blank">http://www.digod.com</a></td>
- </tr>
- </table></td>
- <td width="57%" height="125" valign="top" bgcolor="#FFFFFF"><IFRAME frameBorder="0" name="getinfo" scrolling="no" src="ginfo.php<?=$ecms_hashur['whehref']?>" style="HEIGHT:100%;VISIBILITY:inherit;WIDTH:100%;Z-INDEX:2"></IFRAME></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td><table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25">EmpireCMS 开发团队</td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"><table width="80%" border="0" cellpadding="3" cellspacing="1">
- <tr bgcolor="#FFFFFF">
- <td width="15%" height="25">版权所有</td>
- <td width="85%"><a href="http://www.digod.com" target="_blank">漳州市芗城帝兴软件开发有限公司</a></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height="25">开发与支持团队</td>
- <td>wm_chief、amt、帝兴、小游、zeedy</td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height="25">特别感谢</td>
- <td>禾火木风、yingnt、hicode、sooden、老鬼、小林、天浪歌、TryLife、5starsgeneral</td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- </table>
- </body>
- </html>
- <?php
- db_close();
- $empire=null;
- ?>
|