<table class="sgrid" width="100%"><tr><td><ul>
<li>注意：升级程序有可能覆盖模版文件，请注意备份！</li>
</ul></td></tr></table>
<br>
<table width="100%" class="grid">
	<tr>
		<th>当前版本{?if $flag==1?}为最新版{?/if?}</th>
	</tr>
	<tr>
		<td>V{?$version.edition?} R{?$version.release?}</td>
	</tr>
</table>
<br>
{?if $flag==2?}
<form method="get">
<input type="hidden" name="do" value="1">
<table width="100%" class="grid">
	<tr>
		<th>可升级版本列表</th>
		<th>更新日期</th>
		<th>文件大小</th>
		<th>手动下载</th>
		<th>更新说明</th>
	</tr>
	{?section name=i loop=$patchs?}
	<tr>
		<td>V{?$patchs[i].edition?} R{?$patchs[i].releases?}</td>
		<td>{?$patchs[i].updatetime|date:'Y-m-d'?}</td>
		<td>{?$patchs[i].filesize?}</td>
		<td><a href="{?$patchs[i].downurl?}"><img src="{?$saxue_skin_server?}/admin/images/down.png" align="absmiddle"></a></td>
		<td><a href="{?$patchs[i].url?}" target="_blank"><img src="{?$saxue_skin_server?}/admin/images/detail.png" align="absmiddle"></a></td>
	</tr>
	{?/section?}
</table>
<br>
<input type="submit" name="submit" id="submit" class="button" value="开始升级"/>
<label><input name="cover" id="cover" type="checkbox" value="1" checked>&nbsp;<font color="red">覆盖前台模版（包括HTML、CSS、JS文件）？</font></label>
</form>
{?/if?}