<!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>运行环境检测 - dircms安装第<?php echo $step;?>步 </title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="template/images/installcss.css" rel="stylesheet" type="text/css" />
</head>
<script language="JavaScript" src="template/images/jquery.min.js"></script>
<body>
<div class="Conten">
<div class="box ">
<div class="instop"><span><a href="http://www.dircms.net" target="_blank">官方网站</a>　|　<a href="http://bbs.dircms.net" target="_blank">官方论坛</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><strong>开始安装易创CMS-Dircms<?php echo DIRCMS_VERSION;?></strong></div>
</div>
  <div class="box">
  <div class="insdirbg">
  <div class="insjd04"></div>
  <div class="insdir_l">
  <div class="t1 by"></div> <div class="t2 by"></div>
  <div class="insdir_lbh">
  <ul>
    <li>1、安装须知</li>
    <li>2、软件许可协议</li>
    <li class="dir">3、运行环境检测</li>
    <li>4、文件权限检测</li>
    <li>5、帐号设置</li>
    <li>6、安装完成</li>
    </ul></div>
    <div class="t2 by"></div> <div class="t1 by"></div>
  </div>
  <div class="insdir_r">
  <div class="t1 bs"></div> <div class="t2 bs"></div>
  <div class="insdir_rbh">
  <div id="introducetd">
  <table width="646px" border="0" cellspacing="1" cellpadding="0" class="table">
                  <tr>
                    <td width="18%"><strong>检查项目</strong></td>
                    <td width="36%"><strong>当前环境</strong></td>
                    <td width="28%"><strong>安装建议</strong></td>
                    <td width="18%"><strong>功能影响</strong></td>
                  </tr>
                  <tr>
                    <td>操作系统</td>
                    <td><?php echo strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'?'Windows操作系统':'unix操作系统';?></td>
                    <td>Windows_NT/Linux/Freebsd</td>
                    <td><font color="red">√</font></td>
                  </tr>
                  <tr>
                    <td>web 服务器</td>
                    <td><?php echo $_SERVER['SERVER_SOFTWARE'];?></td>
                    <td>Apache/IIS</td>
                    <td><font color="red">√</font></td>
                  </tr>
                  <tr>
                    <td>php 版本</td>
                    <td>php <?php echo phpversion();?></td>
                    <td>php 5.0.0 及以上</td>
                    <td><?php if(phpversion() >= '5.0.0'){ ?><font color="red">√<?php }else{ ?><font color="red">无法安装</font><?php }?></td>
                  </tr>
                  <tr>
                    <td>支持 mysql</td>
                    <td><?php echo $mysql_enabled;?></td>
                    <td>必须支持</td>
                    <td><?php if(extension_loaded('mysql')){ ?><font color="red">√</font><?php }else{ ?><font color="red">无法安装</font><?php }?></td>
                  </tr>
                  <tr>
                    <td>gd 扩展</td>
                    <td><?php echo $gd_enabled;?></td>
                    <td>建议开启</td>
                    <td><?php if(extension_loaded('gd')&&function_exists('imagecreate')){ ?><font color="red">√</font><?php }else{ ?><font color="red">不支持缩略图和水印</font><?php }?></td>
                  </tr>
                  <tr>
                    <td>zlib 扩展</td>
                    <td><?php echo $gzip_enabled;?></td>
                    <td>建议开启</td>
                    <td><?php if(extension_loaded('iconv') || extension_loaded('mbstring')){ ?><font color="red">√</font><?php }else{ ?><font color="red">字符集转换效率低</font><?php }?></td>
                  </tr>

                  <tr>
                    <td>iconv 扩展</td>
                    <td><?php echo $iconv_enabled;?></td>
                    <td>必须支持</td>
                    <td><font color="red">√</font></td>
                  </tr>
                  <tr>
                    <td>allow_url_fopen</td>
                    <td><?php echo ini_get('allow_url_fopen')?'√':'×';?></td>
                    <td>建议打开</td>
                    <td><?php if(ini_get('allow_url_fopen')){ ?><font color="red">√</font><?php }else{ ?><font color="red">不支持保存远程图片或采集</font><?php }?></td>
                  </tr>
                </table>
  </div>
</div>
    <div class="t2 bs"></div> <div class="t1 bs"></div>
  </div>
  </div>

      <div class="ins_rin" align="center">
     <form id="install" action="install.php?" method="post">
	<input type="hidden" name="step" value="4">
    <span><input onClick="javascript:history.back(-1);" type="button" name="step" value="返回上一步"style='background:url(template/images/bgbtn.gif);width:108px;height:27px;max-height:27px; line-height:27px;border:0px;cursor:pointer;font-size:13px;margin-top:1px; text-align:center; color:#FFF;'/></span> <span><input onClick="$('#install').submit();" type="button" name="step" value="同意安装继续"style='background:url(template/images/bgbtn.gif);width:108px;height:27px;max-height:27px; line-height:27px;border:0px;cursor:pointer;font-size:13px;margin-top:1px; text-align:center; color:#FFF;'/></span>
    </form>
      </div>


  </div>
</div>
</body>
</html>
