<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>安装程序 - 爱特企业网站管理系统<?php echo $verMsg; ?></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<link href="images/reset.css" rel="stylesheet" type="text/css" />
<link href="images/aitecms.css" rel="stylesheet" type="text/css" />
<style>
.auwgph li{ width:100%}
</style>
</head>
<!---->

<body>
<div class="top">
		<div class="topcont">
			<div class="logo">
				<a href="http://www.aitecms.com" target="_blank"><img src="images/logo.png" alt="Aitecms企业网站管理系统"></a>
			</div>
			<div class="headright">爱特企业网站管理系统 <font>全新安装</font></div>
			<div class="clear"></div>
		</div>
</div>

<div class="body">
		<div class="bodycont">
			<div class="bodyleft">
				<ul>
					<li id="license" class="stepnow"><span>1</span> 系统环境检测</li>
					<li id="inspect"><span>2</span> 数据库设置</li>
					<li id="databasesetup"><span>3</span> 正在安装</li>
					<li id="adminsetup"><span>4</span> 安装完成</li>
				</ul>
				<div class="clear"></div>
			</div>
			<div class="bodyright">

<div id="jsheit">
<div class="contenttext round">


	<fieldset>
		<legend><strong>服务器信息</strong></legend>
		<div class="section">
			<ul class="inspect-list aownbwef">
				<li class="OK"><span>服务器域名</span><?php echo $sp_name; ?></li>
				<li class="OK"><span>服务器操作系统</span><?php echo $sp_os; ?> </li>

				<li class="OK"><span>服务器解译引擎</span><?php echo $sp_server; ?></li>
	
				<li class="OK"><span>PHP版本</span><?php echo $phpv; ?></li>
                <li class="OK"><span>系统安装目录</span><?php echo DEDEROOT; ?></li>
                
		</ul>
		</div>
	</fieldset>

<p style="font-size:14px;">检查您的服务器是否支持安装AiteCMS企业网站管理系统，请在继续安装前消除错误或警告信息。</p>
	<fieldset>
		<legend><strong>系统环境检测</strong></legend>
		<div class="section">
			<ul class="inspect-list aownbwef">
				<li class="OK"><span>allow_url_fopen</span><?php echo $sp_allow_url_fopen; ?></li>
				<li class="OK"><span>safe_mode</span> <?php echo $sp_safe_mode; ?> </li>
<!---->	
				<li class="OK"><span>GD 支持</span><?php echo $sp_gd; ?></li>
<!---->			
				<li id="api" class="OK"><span>MySQL 支持</span><?php echo $sp_mysql; ?></li>
		</ul>
		</div>
	</fieldset>





<fieldset>
<legend><strong>目录权限检测</strong></legend>
<div class="section">&nbsp;&nbsp;&nbsp;&nbsp;要能正常使用AiteCMS企业网站管理系统，需要将几个文件/目录设置为 "可写"。
<ul class="inspect-list auwgph">
<!---->
<?php
			foreach($sp_testdirs as $d)
			{
			?>
   <li class="OK">
   <span><?php echo $d; ?></span>
   
   
   <?php
      		$fulld = DEDEROOT.str_replace('/*','',$d);
      		$rsta = (is_readable($fulld) ? '<font color=green>[√]读</font>' : '<font color=red>[×]读</font>');
	    		$wsta = (TestWrite($fulld) ? '<font color=green>[√]写</font>' : '<font color=red>[×]写</font>');
	    		echo "$rsta $wsta\r\n";
      ?>
   
   </li>
   <?php
			}
			?>
<!---->
  
</ul>
<div class="clear"></div>
</div>
</fieldset>
</div>
<div style=" text-align:center; ">
<input type="button" class="submit" value="后退" onClick="window.location.href='index.php';" />
<input type="button" class="submit" value="继续" onClick="window.location.href='index.php?step=3';" />

</div>
</div>
</div>
<br><br>
			<div class="foot">
Powered by <b><a href="http://www.aitecms.com" target="_blank">Aitecms</a></b> ©2005-2017 &nbsp;<a href="http://www.aitecms.com" target="_blank">Aitecms Inc.</a>
			</div>
		</div>
</div>
<!---->
</body></html>