admin_cache.php 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. <?php if(!defined('UC_ROOT')) exit('Access Denied');?>
  2. <?php include $this->gettpl('header');?>
  3. <script src="js/common.js" type="text/javascript"></script>
  4. <div class="container">
  5. <h3>更新缓存</h3>
  6. <?php if($updated) { ?>
  7. <div class="correctmsg"><p>更新成功。</p></div>
  8. <?php } ?>
  9. <div class="mainbox">
  10. <form action="admin.php?m=cache&a=update" method="post">
  11. <input type="hidden" name="formhash" value="<?php echo FORMHASH;?>">
  12. <table class="datalist fixwidth" onmouseover="addMouseEvent(this);">
  13. <tr>
  14. <td class="option"><input type="checkbox" name="type[]" value="data" class="checkbox" checked="checked" /></td>
  15. <td>更新数据缓存</td>
  16. </tr>
  17. <tr>
  18. <td class="option"><input type="checkbox" name="type[]" value="tpl" class="checkbox" /></td>
  19. <td>更新模板缓存</td>
  20. </tr>
  21. <tr class="nobg">
  22. <td colspan="2"><input type="submit" value="提 交" class="btn" /></td>
  23. </tr>
  24. </table>
  25. </form>
  26. </div>
  27. </div>
  28. <?php include $this->gettpl('footer');?>