<?php TPL::output('admin/global/header.tpl.htm'); ?>
<!--left-->
<?php TPL::output('admin/global/left.tpl.htm'); ?>
<!--left-->

<div id="main-content" style="margin:0 0 0 200px;">
	<div class="clear"></div>
	<div class="content-box">
		<div class="content-box-header">
			<h3> Optimize performance </h3>
			<ul class="content-box-tabs">
			</ul>
			<div class="clear"></div>
		</div>
		<div class="content-box-content">
			<div id="notification_box" class="notification success png_bg" style="display:none;"> <a class="close" href="javascript:;"></a>
				<div name="notification_content"></div>
			</div>
			<div class="tab-content default-tab" id="tab1">
				<form id="_save_form" action="admin/setting/sys_save_ajax/" method="post">
					<fieldset>
					<p groupid="10" name="cache_open">
						<label>Open system cache:</label>
						<input type="radio" name="cache_open" value="Y" <?php if ($this->setting['cache_open'] == 'Y'){ ?> checked="true"<?php } ?>/>
						Yes
						<input type="radio" name="cache_open" value="N" <?php if ($this->setting['cache_open'] == 'N'){ ?> checked="true"<?php } ?>/>
						No </p>
					<p style="color:#999;" name="cache_open" groupid="10">Open the cache can greatly reduce the server load</p>
					<p groupid="10" name="cache_level_high">
						<label>Cache advanced level cache time (unit:second):</label>
						<input name="cache_level_high" class="text-input small-int" type="text" value="<?php echo $this->setting['cache_level_high']; ?>"/>
					</p>
					<p groupid="10" name="cache_level_normal">
						<label>Cache normal level cache time (unit:second):</label>
						<input name="cache_level_normal" class="text-input small-int" type="text" value="<?php echo $this->setting['cache_level_normal']; ?>"/>
					</p>
					<p groupid="10" name="cache_level_low">
						<label>Cache lower level cache time (unit:second):</label>
						<input name="cache_level_low" class="text-input small-int" type="text" value="<?php echo $this->setting['cache_level_low']; ?>"/>
					</p>
					<p>
						<input class="button" type="button" onclick="ajax_post($('#_save_form'), _form_process);" value="Save" />
					</p>
					</fieldset>
					<div class="clear"></div>
				</form>
			</div>
		</div>
		<div class="clear"></div>
		<div id="notf_tip" style="display:none;" class="notification png_bg"> <a href="javascript:;" class="close"><img src="<?php echo GET_STATIC_URL;?>/admin/images/icons/cross_grey_small.png" alt="Close" /></a>
			<div id="notf_cont"></div>
		</div>
	</div>
	<!-- footer -->
	<?php TPL::output('admin/global/footer.tpl.htm'); ?>
	<!-- footer -->
</div>
<!-- main -->
</div>
</body></html>