<?php
/*
'**************************************************************************************************
' 软件名称: 盘锦DJ舞曲网CMS Content Management PjRen.Net
' 版本编号: Version 2.5
' 盘锦舞曲: http://www.pj57.com
' 官方网站: http://www.pjren.net
' 小说网站: http://www.hx39.com
' 0427DJ网: http://www.0427dj.net
' 官方论坛: http://www.tianjiazhen.com
' 版权所有: 盘锦舞曲开发团队    盘锦人(QQ:814006710)
' 郑重声明:
'    1、任何个人或组织不得在未经授权的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息；
'    2、盘锦网络事业部保留此软件的法律追究权利
'**************************************************************************************************
*/
include_once("../include/install.php");
include "../include/function.php";
include "admin_version.php";
include "admin_loginstate.php";
function get_gd_info($name) { $gd_info = gd_info(); return $gd_info[$name]; }
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<TITLE>管理页面</TITLE>
<link href="images/skins/admin_main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">var tentpath='/';</script>
<script src="js/jquery.js"></script>
<script language="javascript" src="js/alerts.js"></script>
<script language = "javaScript" src = "js/admin.js" type="text/javascript"></script>
<script language="javascript">
	function checkver(){
	$.get("js/ajaxfun.php?action=getver",function(R){
		$("#lastver").html(R);									  
	});	
	}
	function checkup(){
	$.get("js/ajaxfun.php?action=checkupdate",function(R){
		$("#updateinfo").html(R);											   
		});
	}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<th colspan=10 style="text-align:center;"><font color="#FF0000"><?php echo $_COOKIE['S_AdminUserName']?></font>  您好! 欢迎使用盘锦DJ舞曲CMS管理系统PHP<?php echo $S_Version?>！</th>
</tr>
<tr><td colspan="2" class="td2">程序版本信息</td></tr>
<tr>
  <td colspan="2" class="td1"  valign="top" style="padding-top:3px;text-align:cnter;color:#000;">&nbsp;&nbsp;<strong>当前版本：PHP&nbsp;<font color='#ff0000'><?php echo $S_Version?></font>，最新版本为：<font color='#0000ff'><span id="lastver" style="color:red;"><a onClick="checkver()" style="cursor:pointer;">[点击检测]</a></span></font>&nbsp;升级检测：&nbsp;&nbsp;<span id="updateinfo" style="color:red;"><a onClick="checkup()" style="cursor:pointer;">[点击检测]</a></span></span>
		    </strong></td> 
  </tr>
<tr><td colspan="2" class="td2">服务器信息</td></tr>
<tr><td class="td1">服务器IP：<?php echo $_SERVER["REMOTE_ADDR"];?></td>
  <td class="td1">服务器名：<span class="forumRow"><?php echo $_SERVER['SERVER_NAME']?></span></td>
</tr>
<tr>
  <td class="td1">服务器软件：<?php echo $_SERVER['SERVER_SOFTWARE']?></td>
  <td class="td1">站点物理路径：<?php echo $_SERVER['DOCUMENT_ROOT']?></td>
</tr>
<tr>
  <td class="td1">MySQL 支持：<?php echo function_exists('mysql_close')?"<font color=green>[√]</font>".' /版本:'.mysql_get_client_info() :"<font color=red>×</font>"?></td>
  <td class="td1">PHP 运行方式：<?php echo PHP_SAPI?></td>
</tr>
<tr>
  <td class="td1">GD library:<?php echo function_exists('gd_info') ? "<font color=green>[√]</font>/版本:".get_gd_info('GD Version') : "<font color=red>[×]Off</font>";?></td>
  <td class="td1">PHP版本 ：<?php echo phpversion()?></td>
</tr>
<tr>
  <td class="td1">allow_url_fopen:<?php echo ini_get('allow_url_fopen') ? "<font color=green>[√]</font>" : "<font color=red>[×]Off</font>";?>&nbsp;&nbsp;(不符合要求将导致采集、远程资料本地化等功能无法应用)</td>
  <td class="td1">gzip 支持：<?php if(function_exists("gzip")){ echo '<font color=green>[√]</font>';}else{ echo '<font color=red>[×]</font>';}?></td>
</tr>
<tr>
  <td class="td1">safe_mode :<?php echo (ini_get('safe_mode') ? '<font color=red>[×]On</font>' : '<font color=green>[√]Off</font>');?>&nbsp;&nbsp;(本系统不支持在非win主机的安全模式下运行)</td>
  <td class="td1">curl_init:<?php echo function_exists('curl_init') ? "<font color=green>[√]</font>": "<font color=red>[×]Off</font>";?>&nbsp;&nbsp;(不符合要求将导致采集、远程资料本地化等功能无法应用)</td>
</tr>
<tr><td colspan="2" class="td2">官方最新消息</td></tr>
<tr>
  <td colspan="2" class="td1"  valign="top" style="padding-top:3px;text-align:cnter;height:300px;" id=ad_01> 官方资讯加载中,请稍后..... </td> 
  </tr>
</table>
<SPAN class=spanclass id=span_ad_01>
<script src="http://www.pjren.net/pjren_net_vip/vip.php"></script>
</SPAN>
<SCRIPT>ad_01.innerHTML=span_ad_01.innerHTML;span_ad_01.innerHTML="";</SCRIPT>
</body>
</html>