示例#1
0
    exit;
}
if (isset($_GET["verify-cache-events"])) {
    verfiy_caches_events();
    exit;
}
if (isset($_POST["delete-cache"])) {
    delete_cache();
    exit;
}
if (isset($_POST["DisableAnyCache"])) {
    DisableAnyCache();
    exit;
}
if (isset($_GET["cache-items"])) {
    cache_items();
    exit;
}
table();
function table()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $users = new usersMenus();
    $TB_HEIGHT = 400;
    $TB_WIDTH = 830;
    $uid = $_GET["uid"];
    $t = time();
    $cache = $tpl->javascript_parse_text("{cache}");
    $type = $tpl->_ENGINE_parse_body("{type}");
    //	$title=$tpl->_ENGINE_parse_body("$attachments_storage {items}: «$size»");
	if(isset($_GET["squid-caches-status"])){squid_cache_status();exit;}
	if(isset($_POST["cachesDirectory"])){squid_cache_save();exit;}
	if(isset($_POST["rebuild-caches"])){rebuild_caches();exit;}
	if(isset($_POST["reindex-caches"])){reindex_caches();exit;}
	if(isset($_POST["cache_directory"])){add_new_disk_save();exit;}
	
	if(isset($_POST["verify-caches"])){verify_caches();exit;}
	if(isset($_GET["add-new-disk-popup"])){add_new_disk_popup();exit;}
	if(isset($_GET["button-mode"])){button_mode();exit;}
	if(isset($_GET["add-new-disk-js"])){add_new_disk_js();exit;}
	if(isset($_GET["verify-caches-logs"])){verfiy_caches_logs();exit;}
	if(isset($_GET["verify-cache-events"])){verfiy_caches_events();exit;}
	if(isset($_POST["delete-cache"])){delete_cache();exit;}
	if(isset($_POST["DisableAnyCache"])){DisableAnyCache();exit;}
	
	if(isset($_GET["cache-items"])){cache_items();exit;}
	
	table();

	
	
function table(){
	
	$page=CurrentPageName();
	$tpl=new templates();	
	$users=new usersMenus();
	$TB_HEIGHT=400;
	$TB_WIDTH=830;
	$uid=$_GET["uid"];
		
	$t=time();