Exemplo n.º 1
0
    ini_set('display_errors', 1);
    ini_set('error_reporting', E_ALL);
    ini_set('error_prepend_string', null);
    ini_set('error_append_string', null);
}
include_once 'ressources/class.templates.inc';
include_once 'ressources/class.users.menus.inc';
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;
<?php
	if(isset($_GET["verbose"])){$GLOBALS["VERBOSE"]=true;ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string',null);ini_set('error_append_string',null);}
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.users.menus.inc');
	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"];