<!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>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>DedeCms Home</title>
<base target="_self">
<link rel="stylesheet" type="text/css" href="css/base.css" />
<link rel="stylesheet" type="text/css" href="css/indexbody.css" />
<link href="images/style<?php echo $cfg_admin_skin;?>/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../include/js/dedeajax2.js"></script>
<script type="text/javascript" src="../include/js/jquery/jquery.js" ></script>
<script language="javascript" src="../include/js/jquery/ui.core.js"></script>
<script language="javascript" src="../include/js/jquery/ui.draggable.js"></script>
<script language="javascript" src="../include/js/jquery/ui.sortable.js"></script>
<script language="javascript" src="js/jquery.json-2.2.min.js"></script>
<script language="javascript" src="js/indexbody.js"></script>
<script language="javascript" src="js/drag.js"></script>
<script type="text/javascript">
function showMore()
{
$("#allInfo").toggle();
$("#allInfoTD").toggle();
}
$(function()
{
$.get("index_testenv.php",function(data)
{
if(data !== '')
{
$("#__testEvn").html(data);
}
})
})
</script>
</head>
<body leftmargin="8" topmargin='8' bgcolor="#FFFFFF">
<div style="min-width:780px">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<div style='float:left'>
欢迎使用专业的PHP网站管理系统,轻松建站的首选利器 -- <?php echo $cfg_softname; ?>
</div>
<div id='' style='float:right;padding-right:8px;'>
<!-- //保留位置(顶右) -->
</div>
</td>
</tr>
<tr>
<td height="1" background="images/sp_bg.gif" style='padding:0px'></td>
</tr>
</table>
<div id="__testEvn"></div>
<div id='mainmsg'>
<div class="column" id="column1"><!--左侧开始-->
<dl class="dbox" id="item1">
<dt class='lside'><span class='l'><?php echo $cfg_soft_enname; ?> 更新消息</span></dt>
<dd>
<div id='updatetest'>
<div id='updateinfos'>
<?php
echo "<div class='updatedvt'><b>您系统版本最后更新时间为:{$oktime} </b><br/>";
echo " <a href='javascript:LoadUpdateInfos();' class='np coolbg'>进行在线更新</a> \r\n";
echo " <a href='sys_repair.php' class='np coolbg'>系统错误修复</a></div>\r\n";
echo "<iframe name='stafrm' src='{$offUrl}&uptime={$oktime}' frameborder='0' id='stafrm' width='98%' height='50'></iframe>";
?>
</div>
</div>
</dd>
</dl><!--更新消息结束-->
<dl class='dbox' id="item2">
<dt class='lside'><span class='l'>商业授权查询</span></dt>
<dd>
<iframe name="showauth" src="index_body.php?dopost=showauth" width="100%" frameborder="0" scrolling="no" marginwidth="10" marginheight="10" id="showauth"></iframe>
</dd>
</dl><!--更新消息结束-->
<dl class='dbox' id="item3">
<dt class='lside'>
<div class='l'>快捷操作</div>
<div class='r'><a href='#' onClick="AddNew()"><b>【新增】</b></a><a href='#' onClick="ListAll()"><b>【管理】</b></a></div>
</dt>
<dd>
<div id='quickmenu'>
<?php
$dtp = new DedeTagparse();
$dtp->SetNameSpace('menu','<','>');
$dtp->LoadTemplet($myIcoFile);
if(is_array($dtp->CTags)){
foreach($dtp->CTags as $ctag){
$title = $ctag->GetAtt('title');
$ico = $ctag->GetAtt('ico');
$link = $ctag->GetAtt('link');
echo "<div class='icoitem' style='background:url($ico) 10px 3px no-repeat;'><a href='{$link}'>{$title}</a></div>\r\n";
}
}
?>
</div>
</dd>
</dl><!--快捷操作结束-->
<dl class="dbox" id="item4">
<dt class='lside'><div class='l'>系统基本信息</div></dt>
<dd class='intable'>
<table width="98%" class="dboxtable">
<tr>
<td width="25%" class='nline' style="text-align:right">您的级别:</td>
<td class='nline'>
<?php
if($cuserLogin->getUserType()==10) {
echo "总管理员";
} else if($cuserLogin->getUserType()==5) {
echo "频道总编";
} else {
echo "信息采集员或其它管理员";
}
?>
[<a href="javascript:showMore()">查看更多</a>]</td>
</tr>
<tr>
<td colspan="2" class='nline' id="allInfoTD" style="display:none"><table width="100%" border="0" cellspacing="0" cellpadding="0" id="allInfo" style="display:none">
<tr>
<td rowspan="5" class='nline' style="text-align:right">PHP环境摘要:</td>
<td class='nline' style="text-align:left"> PHP版本:<?php echo @phpversion(); ?> GD版本:<?php echo @gdversion(); ?></td>
</tr>
<tr>
<td class='nline' style="text-align:left">是否安全模式:<font color='red'><?php echo ($isSafeMode ? 'On' : 'Off')?></font>
<?php
if($isSafeMode) {
echo "<br> <font color='blue'>由于您的系统以安全模式运行,为了确保程序兼容性,第一次进入本系统时请更改“<a href='sys_info.php'><u>更改系统参数</u></a>”里的FTP选项,并选择用FTP形式创建目录,完成后:<a href='testenv.php' style='color:red'><u>点击此进行一次DedeCms目录权限检测>></u></a></font>";
} else {
echo " <a href='testenv.php' style='color:blue'><u>DedeCMS目录权限检测>></u></a></font>";
}
?>
</td>
</tr>
<tr>
<td class='nline' style="text-align:left">
Register_Globals:<font color='red'><?php echo ini_get("register_globals") ? 'On' : 'Off'?></font>
Magic_Quotes_Gpc:<font color='red'><?php echo ini_get("magic_quotes_gpc") ? 'On' : 'Off'?></font>
</td>
</tr>
<tr>
<td class='nline' style="text-align:left">支持上传的最大文件:<?php echo ini_get("post_max_size")?></td>
</tr>
<tr>
<td class='nline' style="text-align:left">是否允许打开远程连接:<?php echo ini_get("allow_url_fopen") ? '支持' : '不支持'; ?></td>
</tr>
<tr>
<td class='nline' style="text-al
评论0
最新资源