www.gusucode.com > 搜一次CMS电影程序 PHP 1.5源码程序 > admin/admin_main.php
<?php /* '************************************************************************************************** ' 软件名称: 搜一次 Content Management System ' 版本编号: Version 1.X ' 官方网站: http://www.syccms.com ' 官方论坛:http://bbs.syccms.com ' 版权所有: 搜一次开发团队 无痕(QQ:512591) ' 法律顾问: 杭州市元茂律师事务所 严飞律师 ' 郑重声明: ' 1、任何个人或组织不得在未经授权的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息; ' 2、搜一次网络事业部保留此软件的法律追究权利 '************************************************************************************************** */ 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]; } ?> <!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=gb2312" /> <title>系统设置</title> <script src="js/jquery.js"></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> <link href="images/style.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style></head> <body> <div class="r_main"> <div class="r_content"> <div class="r_content_1"> <div class="v_info"> 程序版本信息</div> <div class="v_show"> 版本检测: <strong>当前版本:<font color='#ff0000'><?php echo $S_Version?></font>,最新版本为</strong><strong><span id="lastver" style="color:red;"><a onclick="checkver()" style="cursor:pointer;">[点击检测]</a></span></strong></div> <div class="v_show"> 升级检测: <span id="updateinfo" style="color:red;"><a onclick="checkup()" style="cursor:pointer;">[点击检测]</a></span><strong></strong></div> <div class="S_info"> 服务器信息</div> <div class="S_info2"> <div class="S_list"> 服务器IP:<?php echo $_SERVER["REMOTE_ADDR"];?></div> <div class="S_list">服务器名:<span class="forumRow"><?php echo $_SERVER['SERVER_NAME']?></span></div> <div class="S_list" style="overflow:hidden"> 服务器软件:<?php echo $_SERVER['SERVER_SOFTWARE']?></div> <div class="S_list" style="overflow:hidden;">站点物理路径:<?php echo $_SERVER['DOCUMENT_ROOT']?></div> <div class="S_list"> MySQL 支持:<?php echo function_exists('mysql_close')?"<font color=green>[√]</font>".' /版本:'.mysql_get_client_info() :"<font color=red>×</font>"?></div> <div class="S_list"><span class="forumRow">PHP 运行方式:<?php echo PHP_SAPI?></span></div> <div class="S_list"> GD library:<?php echo function_exists('gd_info') ? "<font color=green>[√]</font>/版本:".get_gd_info('GD Version') : "<font color=red>[×]Off</font>";?></div> <div class="S_list">PHP版本 :<?php echo phpversion()?></div> <div class="S_list" style="width:100%;"> allow_url_fopen:<?php echo ini_get('allow_url_fopen') ? "<font color=green>[√]</font>" : "<font color=red>[×]Off</font>";?> (不符合要求将导致采集、远程资料本地化等功能无法应用) </div> <div class="S_list" style="width:100%;"> safe_mode :<?php echo (ini_get('safe_mode') ? '<font color=red>[×]On</font>' : '<font color=green>[√]Off</font>');?> (本系统不支持在非win主机的安全模式下运行)</div> <div class="S_list" style="width:100%;"> curl_init:<?php echo function_exists('curl_init') ? "<font color=green>[√]</font>": "<font color=red>[×]Off</font>";?> (不符合要求将导致采集、远程资料本地化等功能无法应用) </div> </div> <div style="clear:left"></div> <div class="S_info"> 官方最新消息</div> <div class="s_inewlist"> <script src="http://vip.syccms.com/news.js"></script> </div> </div> </div> </div> <?php include "admin_bottom.php" ?> </body> </html>