<?php die;?><html style="overflow:auto">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title><!--{$title}--></title>
<base href="<!--{$url}--><!--{$smarty.const.MICE_TPL}-->/install/" />
<link href="css/Default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var baseurl = '<!--{$url}--><!--{$smarty.const.MICE_TPL}-->/install/';
var siteurl = '<!--{$url}-->';
</script>
<script type="text/javascript" src="js/Main.js"></script>
</head>
<body style="min-width: 1003px;">
	<table id="_TableHeader" class="bluebg" style="background: url(imgs/Images/vistaBlue.jpg) rgb(51, 136, 187) repeat-x scroll left top; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" border="0" cellpadding="0" cellspacing="0" width="100%">
		<tbody><tr>
			<td height="70" valign="bottom">
			<table style="position: relative;" border="0" cellpadding="0" cellspacing="0" height="70">
				<tbody><tr>
					<td style="padding: 0pt;"><img src="imgs/logo.gif"></td>
				</tr>
				<tr>
					<td nowrap="nowrap" valign="bottom">
					<div style="padding: 6px 23px 0pt 10px; background: url(imgs/Images/selectsitebg.gif) transparent no-repeat scroll right top; float: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(102, 102, 102); margin-bottom: -2px;vertical-align:middle;"><a href="<!--{$url}-->" target="_blank" class="blue1"><img src="imgs/home.png" style="cursor: pointer;" title="在新窗口中打开 网站首页" align="absmiddle" border="0"></a> <a href="<!--{$url}-->" target="_blank" title="在新窗口中打开 网站首页" class="blue1">打开网站首页</a></div>
					</td>
				</tr>
			</tbody></table>
			</td>
			<td valign="bottom">
			<div style="margin: 0pt 20px 15px 0pt; text-align: right;">miceCMS 5.0技术支持：&nbsp;[&nbsp;<a href="http://t.sina.com.cn/ZuoWangZhan" target="_blank">新浪微博</a> | <a href="http://t.qq.com/ZuoWangZhan" target="_blank">腾讯微博</a> | <a href="http://www.micecms.com" target="_blank">官网网站</a> ]</div>
			<table border="0" cellpadding="0" cellspacing="0">
				<tbody><tr>
					<td align="center">
					<div id="_Navigation" class="navigation">&nbsp;</div>
					</td>
				</tr>
			</tbody></table>
			</td>
		</tr>
	</tbody></table>
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
		<tbody><tr>
			<td style="padding: 6px 3px 3px;">
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tbody><tr>
					<td style="background: transparent url(imgs/Images/jiao.gif) no-repeat scroll right bottom; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" height="2" width="2"></td>
					<td id="_HMenutable" style="background: url(imgs/Images/tabpageBar_bg.gif) repeat-x left bottom;padding-left: 30px;" width="100%"></td>
				</tr>
				<tr valign="top">
					<td id="_VMenutable" class="verticalTabpageBar" align="right">
					<table border="0" cellpadding="0" cellspacing="0" width="100%">
						<tbody><tr>
							<td align="right" valign="bottom">
							<div id="_ChildMenu">
							<div id='step1' class='divtab'><img src='imgs/step2.gif' /><b><span>许可协议</span></b></div>
							<div id='step2' class='divtabCurrent'><img src='imgs/step2.gif' /><b><span>环境检测</span></b></div>
							<div id='step3' class='divtab'><img src='imgs/step1.gif' /><b><span>参数配置</span></b></div>
							<div id='step4' class='divtab'><img src='imgs/step1.gif' /><b><span>正在安装</span></b></div>
							<div id='step5' class='divtab'><img src='imgs/step1.gif' /><b><span>安装完成</span></b></div>
							</div>
							</td>
						</tr>
					</tbody></table>
					</td>
					<td>
					<table id="maintable" style="border-right: 1px solid rgb(153, 153, 153); border-bottom: 1px solid rgb(153, 153, 153);" border="0" cellpadding="0" cellspacing="0" width="100%">
						<tbody><tr>
							<td>
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-collapse: separate; border-spacing: 6px;">
      <tr valign="top">
        <td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
            <tr>
			  <td width="100%" style="padding:6px 10px;" class="blockTd"><img src="imgs/step2.gif" />　参数配置</td>
            </tr>
			<tr>
              <td style="padding-top:0px;padding-left:6px;padding-right:6px;padding-bottom:8px;">
<!--内容开始-->
<table width="99%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
	<form name="form1" id="form1" method="POST" action="<!--{$smarty.const.MICE_URL}-->install.php/set">
      <tr>
        <td height="28" bgcolor="#F9F9F9">&nbsp;<b>服务器信息</b></td>
      </tr>
      <tr>
        <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="28" class="bottomline">&nbsp;服务器域名</td>
    <td height="28" class="bottomline">&nbsp;<!--{php}-->echo $_SERVER["SERVER_ADDR"];<!--{/php}--></td>
  </tr>
  <tr>
    <td height="28" class="bottomline">&nbsp;服务器操作系统</td>
    <td height="28" class="bottomline">&nbsp;<!--{php}-->echo PHP_OS;<!--{/php}--></td>
  </tr>
  <tr>
    <td height="28" class="bottomline">&nbsp;服务器解释引擎</td>
    <td height="28" class="bottomline">&nbsp;<!--{php}-->echo $_SERVER['SERVER_SOFTWARE']<!--{/php}--></td>
  </tr>
  <tr>
    <td height="28" class="bottomline">&nbsp;服务器时间</td>
    <td height="28" class="bottomline">&nbsp;<!--{php}-->echo Date('Y-m-d H:i:s');<!--{/php}--></td>
  </tr>
  <tr>
    <td height="28" class="bottomline">&nbsp;系统安装目录</td>
    <td height="28" class="bottomline">&nbsp;<!--{$smarty.const.MICE_DIR}--></td>
  </tr>
</table>
</td>
      </tr>
    </table>
      <table width="99%" height="5" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td></td>
        </tr>
      </table>
	  <table width="99%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">  
  <tr>
    <td height="28" bgcolor="#F9F9F9">&nbsp;<b>PHP 配置检查</b></td>
  </tr>
  <tr>
    <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="28" class="bottomline">&nbsp;PHP版本</td>
        <td width="65%" height="28"" class="bottomline"><strong style="color:<!--{php}--> if (strnatcmp(phpversion(), 5.1)>=0) echo 'green'; else echo 'red'; <!--{/php}-->"> PHP v<!--{php}--> echo phpversion(); <!--{/php}--></strong>(PHP版本要求 >= v5.1.0)</td>
	  </tr>
      <tr>
        <td height="28" class="bottomline">&nbsp;safe_mode</td>
        <td height="28" class="bottomline"><!--{php}-->echo ini_get('safe_mode')?'<strong style="color:gray">On</strong>(建议关闭php.ini中的safe_mode)':'<strong style="color:green">Off</strong>(推荐)';<!--{/php}--></td>
      </tr>
      <tr>
        <td height="28" class="bottomline">&nbsp;file_uploads</td>
        <td height="28" class="bottomline"><!--{php}-->echo ini_get('file_uploads')?'<strong style="color:green">On</strong>(可以上传文件)':'<strong style="color:gray">Off</strong>(无法上传文件)';<!--{/php}--></td>
      </tr>
      <tr>
        <td height="28" class="bottomline">&nbsp;GD库</td>
        <td height="28" class="bottomline"><!--{php}-->if(function_exists('imagecreate'))	echo "<strong style='color:green'>On</strong>(可以开启图片验证码功能)";	else	echo "<strong style='color:gray'>Off</strong>(不能开启图片验证码功能,请和服务器管理员联系)";<!--{/php}--></td>
      </tr>
      <tr>
        <td height="28" class="bottomline">&nbsp;magic_quotes_gpc</td>
        <td height="28" class="bottomline"><!--{php}-->echo ini_get('magic_quotes_gpc')?'<strong style="color:gray">On</strong>(miceCMS不需要这个薄弱的安全机制,它可能会影响其他工作
)':'<strong style="color:green">Off</strong>(推荐)';<!--{/php}--></td>
      </tr>
      <tr>
        <td height="28" class="bottomline">&nbsp;magic_quotes_runtime</td>
        <td height="28" class="bottomline"><!--{php}-->echo ini_get('magic_quotes_runtime')?'<strong style="color:gray">On</strong>(您的PHP支持被停止,所有的PHP程序都无法正常工作)':'<strong style="color:green">Off</strong>(推荐)';<!--{/php}--></td>
      </tr>
	  <tr>
        <td height="28" class="bottomline">&nbsp;register_globals</td>
        <td height="28" class="bottomline"><!--{php}-->echo ini_get('register_globals')?'<strong style="color:gray">On</strong>(一个非常危险的安全威胁! 此安全漏洞不会通过miceCMS威胁您的安全,但可能会通过您的其他PHP程序威胁您的安全!)':'<strong style="color:green">Off</strong>(推荐)';<!--{/php}--></td>
      </tr>
	  <tr>
        <td height="28" class="bottomline">&nbsp;session.auto_start</td>
        <td height="28" class="bottomline"><!--{php}-->echo ini_get('session.auto_start')?'<strong style="color:gray">On</strong>(miceCMS无法开启 session, 它会一直处于开始状态)':'<strong style="color:green">Off</strong>(推荐)';<!--{/php}--></td>
      </tr>
	  <tr>
        <td height="28" class="bottomline">&nbsp;iconv</td>
        <td height="28" class="bottomline">
<!--{php}-->if(function_exists('iconv')){
    echo '<strong style="color:green">On</strong>(推荐,如果使用MSSQL数据库,必须支持此函数)';
}else{
    echo '<strong style="color:gray">Off</strong>(推荐)';
}<!--{/php}-->
		</td>
      </tr>
    </table></td>
  </tr>
      </table>
	  <table width="99%" height="5" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td></td>
        </tr>
      </table>
	  <table width="99%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
  <tr>
    <td height="28" bgcolor="#F9F9F9">&nbsp;<b>目录权限检测</b></td>
  </tr>
  <tr>
    <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="28" class="bottomline">&nbsp;uploads/</td>
        <td width="65%" height="28"" class="bottomline"><!--{php}-->echo IsWritable(MICE_DIR.'uploads/')?"<strong style='color:green'>可写</strong>(正常)":"<strong style='color:red'>不可写</strong>(会导致文件上传失败)";<!--{/php}--></td>
      </tr>
	  <tr>
        <td height="28" class="bottomline">&nbsp;templates_c/</td>
        <td width="65%" height="28"" class="bottomline"><!--{php}-->echo IsWritable(MICE_DIR.'templates_c/')?"<strong style='color:green'>可写</strong>(正常)":"<strong style='color:red'>不可写</strong>(会导致网站访问异常)";<!--{/php}--></td>
      </tr>
	  <tr>
        <td height="28" class="bottomline">&nbsp;<!--{$smarty.const.MICE_PRIVATE}--></td>
        <td width="65%" height="28"" class="bottomline"><!--{php}-->echo IsWritable(MICE_DIR.MICE_PRIVATE)?"<strong style='color:green'>可写</strong>(正常)":"<strong style='color:red'>不可写</strong>(会导致无法修改配置文件等错误)";<!--{/php}--></td>
      </tr>
	  <tr>
        <td height="28" class="bottomline">&nbsp;list/</td>
        <td width="65%" height="28"" class="bottomline"><!--{php}-->echo IsWritable(MICE_DIR.'list/')?"<strong style='color:green'>可写</strong>":"<strong style='color:red'>不可写</strong>";<!--{/php}-->(用于生成静态HTML,如果网站不需要生成HTML可不设置权限)</td>
      </tr>
	  <tr>
        <td height="28" class="bottomline">&nbsp;article/</td>
        <td width="65%" height="28"" class="bottomline"><!--{php}-->echo IsWritable(MICE_DIR.'article/')?"<strong style='color:green'>可写</strong>":"<strong style='color:red'>不可写</strong>";<!--{/php}-->(用于生成静态HTML,如果网站不需要生成HTML可不设置权限)</td>
      </tr>
	  <tr>
        <td height="28" class="bottomline">&nbsp;channel/</td>
        <td width="65%" height="28"" class="bottomline"><!--{php}-->echo IsWritable(MICE_DIR.'channel/')?"<strong style='color:green'>可写</strong>":"<strong style='color:red'>不可写</strong>";<!--{/php}-->(用于生成静态HTML,如果网站不需要生成HTML可不设置权限)</td>
      </tr>
    </table></td>
  </tr>
      </table>
	  <table width="99%" height="5" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td></td>
        </tr>
      </table>
	  <table width="99%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
      <tr>
        <td bgcolor="#F9F9F9" height="30" valign='middle'><input name="next" type="hidden" value="<!--{$next}-->">&nbsp;&nbsp;
          <!--{if $next==1}--><input name="button" type="button" accesskey="p" onClick="javascript:history.back(-1)" value="上一步[P]"/>
          &nbsp;&nbsp;
          <input name="submit" type="submit" accesskey="N" value="下一步[N]"/><!--{else}--><strong style='color:red'>系统不满足安装的最低要求,请检查红色的选项!</strong><!--{/if}-->
        </td>
      </tr>
	  </form>
    </table>
<!--内容结束-->
		</td>
		</tr>
	</table></td>
  </tr>
</table>
							
							</td>
						</tr>
					</tbody></table>
					</td>
				</tr>
			</tbody></table>
			</td>
		</tr>
	</tbody></table>

<div style="position: absolute; z-index: 999; width: 137px; left: 11px; top: 82px; display: none;" id="_SelectorDiv_">
	<iframe id="_SelectorFrame" name="_SelectorFrame" src="about:blank" frameborder="0" height="42" width="250">
	</iframe>
</div>
<div style="background-color: rgb(51, 51, 51); position: absolute; left: 0px; top: 0px; opacity: 0; width: 100%; height: 630px; z-index: 960; display: none;" id="_DialogBGDiv"></div>
<div style="background-color: rgb(51, 51, 51); position: absolute; left: 0px; top: 0px; opacity: 0; width: 100%; height: 630px; z-index: 991; display: none;" id="_AlertBGDiv"></div>
</body>
</html>