<?php
session_start();
require_once "../init.php";
require_once "../authority.inc.php";

$action = $_GET['action'];
$actionname = $GET['actionname'];

$hot="cache";
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" 
/>
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="/admin/lib/html5.js"></script>
<script type="text/javascript" src="/admin/lib/respond.min.js"></script>
<script type="text/javascript" src="/admin/lib/PIE_IE678.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/admin/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="/admin/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="/admin/lib/Hui-iconfont/1.0.7/iconfont.css" />
<link rel="stylesheet" type="text/css" href="/admin/lib/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="/admin/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="/admin/static/h-ui.admin/css/style.css" />



<!--[if IE 6]>
<script type="text/javascript" src="/admin/static/h-ui.admin/js/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>网站缓存管理</title>
<LINK href="../share/style.css" rel="stylesheet">
</style>
<script src="../share/global.js"></script>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 系统管理 <span 
class="c-gray en">&gt;</span>清空缓存<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" 
href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>


<div class="page-container">
<!--子导航-->
<? include "nav.inc.php"?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="table" >
  <tr id="tr">
    <td height='25' align='center' bgcolor='#EEEEEE'>网站缓存管理</td>
  </tr>
  <tr>
    <td height="128" valign="top" align="center" style="text-align:center;">
	<br><br>
      <a href='cache.php?action=clear&actionname=清空缓存'>[ 清空缓存 ]</a><br><br>
	  <?
	  if($action != ''){
	     echo "正在执行 <font color='blue'>清空缓存</font> 的操作.........................<br>";
		 $clearcount = clear_tpl_files(true);
		 echo "一共清空".$clearcount."个文件";
	  }
	  ?>
    </td>
  </tr>
</table>
<br></div>
<? 
$DB->close();
include "../share/bottom.php"?>
</body>
</html>
