exit;
}
if (isset($_GET["whoissave-js"])) {
    whoissave_js();
    exit;
}
if (isset($_POST["whoissave"])) {
    whoissave_perform();
    exit;
}
if (isset($_GET["search-stats-categories"])) {
    site_infos_categories();
    exit;
}
if (isset($_POST["action_delete_from_category"])) {
    action_delete_from_category();
    exit;
}
if (isset($_POST["action_compile_category"])) {
    action_compile_category();
    exit;
}
if (isset($_GET["ChangeFilterCatz-popup"])) {
    ChangeFilterCatz_popup();
    exit;
}
// json();exit;}
start();
function whoissave_js()
{
    $page = CurrentPageName();
	include_once('ressources/class.squid.inc');
	include_once('ressources/class.status.inc');
	include_once('ressources/class.artica.graphs.inc');
	
	$users=new usersMenus();
	if(!$users->AsWebStatisticsAdministrator){die();}
	if(isset($_GET["search-stats-forms"])){left_forms();exit;}
	if(isset($_GET["search-stats-results"])){right_datas();exit;}
	if(isset($_GET["ok"])){if(isset($_POST["qtype"])){json();exit;}}
	if(isset($_GET["familysite-show"])){jstable_familysite();exit;}
	if(isset($_GET["familysite"])){json_familysite();exit;}
	if(isset($_GET["site-infos"])){site_infos();exit;}
	if(isset($_GET["whoissave-js"])){whoissave_js();exit;}
	if(isset($_POST["whoissave"])){whoissave_perform();exit;}
	if(isset($_GET["search-stats-categories"])){site_infos_categories();exit;}
	if(isset($_POST["action_delete_from_category"])){action_delete_from_category();exit;}
	if(isset($_POST["action_compile_category"])){action_compile_category();exit;}
	if(isset($_GET["ChangeFilterCatz-popup"])){ChangeFilterCatz_popup();exit;}
	
	
	// json();exit;}
	start();
	
function whoissave_js(){
	$page=CurrentPageName();
	$idcallbackJS=null;
	$idcallback=$_GET["idcallback"];
	if($idcallback<>null){
		$idcallbackJS="if(document.getElementById('$idcallback')){LoadAjax('$idcallback','squid.search.statistics.php?site-infos={$_GET["whoissave-js"]}&idcallback=$idcallback&disposition={$_GET["disposition"]}&gen-thumbnail={$_GET["gen-thumbnail"]}');}";
	}