<!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=utf-8" />
<title>BookingeCMS <?php echo $MyConfig['Config']['version']; ?> 安装</title>
<meta name="keywords" content="BookingeCMS安装" />
<meta name="description" content="BookingeCMS安装" />
<meta name="generator" content="BookingeCMS <?php echo $MyConfig['Config']['version']; ?>" />
<link type="text/css" href="css/main.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
$(function() {
	$("#a_detailedMessage").click(function() {
		$(this).hide();
		$("#detailedMessage").show();
		$("#a_hide").show();
	});
	$("#a_hide").click(function() {
		$("#a_detailedMessage").show();
		$("#detailedMessage").hide();
		$(this).hide();
	});
	$("#recheck").click(function() {
		window.location.reload();
	});
	$("#next").click(function() {
		window.location.href = "index.php?step=3";
	});
});
</script>
</head>

<body>
<div class="wrap">
<div class="side s_clear">
<div class="side_bar">
<h1><?php echo $MyConfig['Config']['version']; ?></h1>
<ul>
<li class="currentitem">欢迎</li>
<li class="currentitem">环境检测</li>
<li>数据库信息</li>
<li>网站信息</li>
<li>完成</li>
</ul>
<div class="copy"><!-- 珠海中新信息科技有限公司 --></div>
</div>
</div>
<div class="main s_clear">
<div class="content">
<h1>环境检测</h1>
<div class="info">检测到你的系统环境：</div>
<div class="inner">
<div class="hint_info">以下目录需要NETWORK SERVICE的完全控制权限
<a id="a_detailedMessage" href="#">&gt;&gt;查看详细信息</a>
<div id="detailedMessage" style="display:none">
如果出现目录或文件没有写入和删除权限情况,请选择该目录或文件->右键属性->安全->添加,
在"输入对象名称来选择"中输入"Network Service",点击"确定".选择"组或用户名称"中"Network Service"用户组,在下面
"Network Service"的权限中勾选"修改"的"允许"复选框,点击"确定"后再次重新刷新本页面继续.
<a id="a_hide" href="#" style="display:none">&lt;&lt;收起</a>
</div>
</div>
<ul class="list">
<li><cite><?php echo $sp_allow_url_fopen[0]; ?></cite><a title="" href="javascript:void(0);" onfocus="this.blur()"><?php echo $sp_allow_url_fopen[1]; ?></a></li>
<li><cite><?php echo $sp_safe_mode[0]; ?></cite><a title="" href="javascript:void(0);" onfocus="this.blur()"><?php echo $sp_safe_mode[1]; ?></a></li>
<li><cite><?php echo $sp_gd[0]; ?></cite><a title="" href="javascript:void(0);" onfocus="this.blur()"><?php echo $sp_gd[1]; ?></a></li>
<li><cite><?php echo $sp_mysql[0]; ?></cite><a title="" href="javascript:void(0);" onfocus="this.blur()"><?php echo $sp_mysql[1]; ?></a></li>
<?php foreach($auth as $key => $value) { ?>
<li><cite><?php if($value['state']==15) { ?><img src="images/ok.gif" alt="成功" /><?php } else { ?><img src="images/error.gif" alt="失败" /><?php } ?></cite><a title="" href="javascript:void(0);" onfocus="this.blur()">目录<?php echo $key, ' ', $value['info']; ?>！</a></li>
<?php } ?>
</ul>
</div>
</div>
<div class="btn_box">
<button type="button" id="recheck"<?php echo $isError ? '' : ' disabled="disabled"'; ?>>重新检测</button>
<button type="button" id="next"<?php echo $isError ? ' disabled="disabled"' : ''; ?>>下一步</button>
</div>
</div>
</div>
</body>
</html>