<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>网站基本设置</title>
<LINK href="<?=base_url()?>csdj/admin/images/admin.css" type="text/css" rel="stylesheet">
<SCRIPT type="text/javascript" src="<?=base_url()?>csdj/admin/js/admin.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/dialog.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/setcolor.js"></script>
</head>
<BODY style="margin:2px">
 
	<table align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
	<form method="post" Name="myForm" action="<?=site_url('admin/setting/dbcacheedit')?>"> 
	<tr><td align="center" height="20" colspan="3" class="title">数据缓存设置</td></tr>
	<tr><td align="right"><strong>数据缓存状态：</strong></td>
		<td><input id="zt1" type="radio" name="CS_Cache_On" value="TRUE"<?php if(CS_Cache_On==TRUE) echo ' checked';?>/><label for="zt1">开启</label>&nbsp;&nbsp;
			<input id="zt2" type="radio" name="CS_Cache_On" value="FALSE"<?php if(CS_Cache_On==FALSE) echo ' checked';?>/><label for="zt2">关闭</label></td>
		<td>数据库缓存，开启后会大大提高运行速度，减轻数据库的压力！</td>
	</tr>
	<tr><td align="right"><strong>数据缓存时间：</strong></td>
		<td><input size="10" name="CS_Cache_Time" value="<?=CS_Cache_Time?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;秒</td>
		<td>数据更新时间，越小更新越快，为秒数！</td>
	</tr>
	<tr><td align="right"><strong>数据缓存目录：</strong></td>
		<td><input size="30" name="CS_Cache_Dir" value="<?=CS_Cache_Dir?>"></td>
		<td>前后不要带“/”数据缓存保存的目录,位于./cache/下！</td>
	</tr>
  	<tr align="center">
    		<td height="36" colspan="3" ><input type="submit" name="Submit" class="italk-bt" value=" 保 存 "></td>
  	</tr></form>
	</table>
</body>
</html>

