<div class="block-title">检测读写权限</div>
<div class="block-summary">检测系统安装所必须的文件目录读写权限是否符合要求，如果权限不够，可能影响您的正常使用，请立即设置相关权限。<br>如: 通过FTP软件更改文件属性(CHMOD)为0777</div>
<div class="block-content">
	<table cellpadding="0" cellspacing="1">
		<tr class="font-bold">
			<td width="80%">目录/文件名称</td>
			<td width="20%">可写状态</td>
		</tr>
		{?section name=i loop=$filepath?}
		<tr>
			<td>{?$filepath[i].name?}：{?$filepath[i].path?}{?if $filepath[i].type=='dir'?}/{?/if?}</td>
			<td>{?if $filepath[i].status==1?}<span class="span-green">可写</span>{?elseif $filepath[i].status==2?}<span class="span-blue">目录不存在</span>{?else?}<span class="span-red">不可写</span>{?/if?}</td>
		</tr>
		{?/section?}
	</table>
</div>
<div class="block-menu">
	<input type="button" name="bt0" value="返回安装首页" class="button" onclick="window.location='index.php';"><span class="span-space"></span>
	<input type="button" name="bt1" value="重新测试" class="button" onclick="location.reload();">
	<input type="button" name="bt2" value="下一步" onclick="window.location='?step=configs';" {?if $check_status == 0?}class="button-off" disabled{?else?}class="button"{?/if?}>
</div>