<?php include 'header.tpl.php';?>
<style>
.step_2{float:left;width:600px;padding-left:150px}
.step_2 .tit{width:600px;text-align:left;font-weight:bold;font-size:15px}
.step_2 .row{float:left;width:600px;padding:8px 0px 3px 0px}
.step_2 .coltit{width:200px;float:left;text-align:left;color:#234f8d;font-weight:bold}
.step_2 .col{float:left;text-align:left;float:left;width:200px}
</style>
<div class="title"><span class='num'>01.</span> <span class='tit'>服务器环境检测</span> <span class='beta'>检测服务器环境是否能够支持程序的正常运行</span> </div>
<div class="step_pic"><img src="images/step1.gif"></div>
<div class="step_2">
	<div class="tit">服务器环境检查</div>
	<div class="row"><div class="coltit">项目名称</div> <div class="coltit">所需环境</div> <div class="coltit">当前服务器</div> </div>
	<div class="row"><div class="col">PHP版本</div> <div class="col">>=4.3</div> <div class="col"><?php echo PHP_VERSION;?></div> </div>
	<div class="row"><div class="col">GD库版本</div> <div class="col">>=1.0</div> <div class="col"><?php $arr_gd_info=gd_info();echo $arr_gd_info["GD Version"];?></div> </div>
	<div class="row"><div class="col">/data 目录</div> <div class="col">可读写</div> <div class="col"><img src="images/<?php if($lng_dir_data>2){echo "yes.gif";}else{echo "no.gif";}?>"></div> </div>
	<div class="row"><div class="col">/upload 目录</div> <div class="col">可读写</div> <div class="col"><img src="images/<?php if($lng_dir_upload>2){echo "yes.gif";}else{echo "no.gif";}?>"></div> </div>
	<div class="row"><div class="col">/cache 目录</div> <div class="col">可读写</div> <div class="col"><img src="images/<?php if($lng_dir_cache>2){echo "yes.gif";}else{echo "no.gif";}?>"></div> </div>
</div>
<div class="step_btn"><input type="button" name="btn_exit" value="退出安装" class="btn" onclick="window.close()">　　　<input type="submit" name="btn_ok" value="下一步" class="btn"></div>
<script>
function me_click()
{
	if(frmMain.chk_read.checked){
		frmMain.btn_ok.disabled=false;
	}else{
		frmMain.btn_ok.disabled=true;
	}
}
</script>
<?php include 'footer.tpl.php';?>		