Пример #1
0
    exit;
}
if (isset($_GET["tabs"])) {
    tabs();
    exit;
}
if (isset($_GET["popup"])) {
    tableau();
    exit;
}
if (isset($_GET["search-store"])) {
    search_store();
    exit;
}
if (isset($_GET["nas-settings-js"])) {
    nas_settings_js();
    exit;
}
if (isset($_GET["nas-settings"])) {
    nas_settings();
    exit;
}
if (isset($_POST["BackupSquidLogsUseNas"])) {
    nas_settings_save();
    exit;
}
js();
function storage_view_js()
{
    header("content-type: application/x-javascript");
    $tpl = new templates();
Пример #2
0
	die();	
}

if(isset($_GET["log-js"])){storage_view_js();exit;}
if(isset($_GET["storage-view-search"])){storage_view_search();exit;}
if(isset($_GET["storage-popup"])){storage_view_popup();exit;}
if(isset($_POST["extract-file"])){storage_view_extract();exit;}
if(isset($_POST["storage-delete"])){storage_delete();exit;}
if(isset($_POST["delete-extracted"])){storage_view_delete();exit;}

if(isset($_GET["status"])){status();exit;}
if(isset($_GET["tabs"])){tabs();exit;}
if(isset($_GET["popup"])){tableau();exit;}
if(isset($_GET["search-store"])){search_store();exit;}

if(isset($_GET["nas-settings-js"])){nas_settings_js();exit;}
if(isset($_GET["nas-settings"])){nas_settings();exit;}

if(isset($_POST["BackupSquidLogsUseNas"])){nas_settings_save();exit;}


js();

function storage_view_js(){
	header("content-type: application/x-javascript");
	$tpl=new templates();
	$page=CurrentPageName();
	$filename=$_GET["filename"];
	$html="YahooWin5('1060','$page?storage-popup=yes&storeid={$_GET["storeid"]}&filename=$filename','$filename')";
	echo $html;
}