<? if(!defined('UC_ROOT')) exit('Access Denied');?>
<? include $this->gettpl('header');?>

<script src="js/common.js" type="text/javascript"></script>

<div class="container">
	<h3>更新缓存</h3>
	<? if($updated) { ?>
		<div class="correctmsg"><p>更新成功。</p></div>
	<? } ?>
	<div class="mainbox">
		<form action="admin.php?m=cache&a=update" method="post">
			<input type="hidden" name="formhash" value="<?=FORMHASH?>">
			<table class="datalist fixwidth" onmouseover="addMouseEvent(this);">
				<tr>
					<td class="option"><input type="checkbox" name="type[]" value="data" class="checkbox" checked="checked" /></td>
					<td>更新数据缓存</td>
				</tr>
				<tr>
					<td class="option"><input type="checkbox" name="type[]" value="tpl" class="checkbox" /></td>
					<td>更新模板缓存</td>
				</tr>
				<tr class="nobg">
					<td colspan="2"><input type="submit" value="提 交" class="btn" /></td>
				</tr>
			</table>
		</form>
	</div>
</div>

<? include $this->gettpl('footer');?>