<?
defined('ROOT_PHPLEFT') or exit();
/*
	phpleftcms Copyright (c) 2011 phpleft.COM
	Joeychen
	
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <link href="css/main.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script src="<?=PL_URL;?>js/win/artDialog.js?skin=default"></script>
<script src="<?=PL_URL;?>js/win/plugins/iframeTools.js"></script>
<style>
ul{margin:0px; padding:0px; list-style:none;}
</style>
</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
<div class="tpis"><img src="images/icos.gif" align="absmiddle"/>当前位置：后台管理 > 管理首页</div>

<? if ($safe_n>0){?>
<table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center"
        border="0">
        <tr>
            <th colspan="3">后台提示
                </th>
        </tr>
        <? if ($safe['update']==1) {?>
         <tr class="list1">
            <td class="usertablerow1" align="right" width="120"><img src="<?=PL_URL;?>ico/upcoming-work.png" align="absmiddle"> 更新提示：</td>
            <td class="usertablerow1">
             官方以及升级更新版的程序！ <a href="http://www.phpleft.com/">查看</a></td>
                
  </tr>
  <? }?>
        <? if ($safe['adminpath']==1) {?>
      <tr class="list1">
            <td class="usertablerow1" align="right" width="120"><img src="images/safe.gif" align="absmiddle"> 安全提示：</td>
            <td width="881" class="usertablerow1">
             后台目录为 'admin',手动更改目录能提高网站安全。
                </td>
                
        </tr>
        <? }?>
         <? if ($safe['installpath']==1) {?>
      <tr class="list1">
            <td class="usertablerow1" align="right" width="120"><img src="images/safe.gif" align="absmiddle"> 安全提示：</td>
            <td class="usertablerow1">
             安装目录'install'未删除，如果不需要再次安装，请删除根目录下的install文件。<input name="" onClick="art.dialog.confirm('你确认删除操作？', function(){
             window.location.href='main.php?post=delinstall';
}, function(){
    art.dialog.tips('你取消了操作');
});" type="button" value=" 删除文件 "></td>
                
  </tr>
        <? }?>
           </table>
           
           <? }?>

    <table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center"
        border="0">
        <tr>
            <th colspan="3">
                环境信息</th>
        </tr>
        <tr class="list">
            <td class="usertablerow2" width="33%">
                网站网址：<?=PL_URL?></td>
            <td class="usertablerow2">
                当前版本：<?=CMS;?> <?=PL_VERSION;?> <?=$PL_CFG['charset'];?></td>
            <td class="usertablerow2" width="33%">
                更新时间：<?=PL_DAY;?></td>
        </tr>
        <tr class="list1">
            <td class="usertablerow1">
                当前管理员：<?=$info['username'];?> </td>
            <td class="usertablerow1">
                登陆次数：<?=$info['logn'];?></td>
            <td class="usertablerow1">
                管理级别：<?=adminleve($info['permission']);?></td>
        </tr>
        <tr class="list">
            <td class="usertablerow2">
                <div align="left" width="33%">
                    服务器ip地址：<?=$_SERVER['SERVER_NAME']."(".@gethostbyname($_SERVER['SERVER_NAME']).")"?></div>
            </td>
            <td class="usertablerow2">
                <div align="left">
                    脚本解释引擎：<?=$_SERVER['SERVER_SOFTWARE']?></div>
            </td>
            <td class="usertablerow2">
                <div align="left" width="33%">
                    PHP版本：<?=PHP_VERSION?></div>
            </td>
        </tr>
        <tr class="list1">
            <td class="usertablerow1">
                <div align="left">
                    服务器当前时间：<?php echo date("Y-m-d H:i:s");?></div>
            </td>
            <td class="usertablerow1">
                <div align="left">
                    站点物理路径：<?php echo PL_ROOT;?></div>
            </td>
            <td class="usertablerow1">
                <div align="left">
                    iis版本名称：microsoft-iis/5.1</div>
            </td>
        </tr>
    </table>
    <table class="usertableborder" cellspacing="1" cellpadding="4" width="100%" align="center"
        border="0">
        <tr>
            <th colspan="3">
                官方版本</th>
        </tr>
        <tr class="list">
            <td class="usertablerow1" align="right" width="91">官方网站</td>
            <td class="usertablerow1" style="padding-left:10px;">
                <a href="http://www.PhpLeft.com/" target="_blank" title="PhpLeftDMS请保留官方版权，以便升级！">http://www.PhpLeft.com</a>
                <!--去除后整个系统将严重出现问题-->
                </td>
                <td rowspan="5" align="left" class="usertablerow1">遇到问题？@他提供技术帮助...<br /><iframe src="http://follow.v.t.qq.com/index.php?c=follow&a=quick&name=chenjoey&style=1&t=1349426221089&f=1" frameborder="0" scrolling="auto" width="227" height="75" marginwidth="0" marginheight="0" allowtransparency="true"></iframe><br /></td>
                
        </tr>
           <tr class="list1">
            <td class="usertablerow2" align="right" width="91">
                当前版本</td>
            <td class="usertablerow2" style="padding-left:10px;">
             <?=CMS;?> Version <?=PL_VERSION;?> Release <?=PL_DAY;?> <?=$PL_CFG['charset'];?> <?=$CFG['lang'];?>
              
                </td>
        </tr>
                <tr class="list">
            <td class="usertablerow1" align="right" width="91">
        最新版本</td>
            <td class="usertablerow1" style="padding-left:10px;">
              <?=CMS;?> <?=PL_VERSION;?> <?=$PL_CFG['charset'];?>
              
                </td>
        </tr>
                        <tr class="list1">
            <td class="usertablerow1" align="right" width="91">
        是否授权</td>
            <td class="usertablerow1" style="padding-left:10px;">
 
       <?php if ($Authorization=='2'){?>授权商业版<? }else{?>免费个人版<? }?> <span style="color:#F00">(<?php if ($Authorization>'1'){?>已授权<? }else{?>未授权<? }?>)</span> [<a href="http://www.phpleft.com/service_center/chaxun.php">授权查询</a>] <?php if ($Authorization=='1'){?> [<a href="http://www.phpleft.com/service_center/">购买</a>]<? }?> </td>
        </tr>
        <tr class="list1">
            <td class="usertablerow1" align="right" width="91">&nbsp;</td>
            <td class="usertablerow1" style="padding-left:10px;">&nbsp;</td>
        </tr>
    </table>
    

</body>
</html>
