<?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["delete-js"])){categorykey_delete_js();exit;}
if(isset($_POST["delete"])){categorykey_delete();exit;}
if($_POST["field"]){familysite_save();exit;}
if(isset($_GET["search"])){search();exit;}


table();

//squid_reports_members

function table(){
	$t=time();
	$page=CurrentPageName();
	$tpl=new templates();
	$users=new usersMenus();
	$sock=new sockets();
	$t=time();
	$members=$tpl->_ENGINE_parse_body("{members}");
	$add_member=$tpl->_ENGINE_parse_body("{add_member}");
include_once 'ressources/class.status.inc';
include_once 'ressources/class.artica.graphs.inc';
$users = new usersMenus();
if (!$users->AsWebStatisticsAdministrator) {
    die;
}
if (isset($_GET["delete-js"])) {
    categorykey_delete_js();
    exit;
}
if (isset($_POST["delete"])) {
    categorykey_delete();
    exit;
}
if ($_POST["field"]) {
    familysite_save();
    exit;
}
if (isset($_GET["search"])) {
    search();
    exit;
}
table();
//squid_reports_members
function table()
{
    $t = time();
    $page = CurrentPageName();
    $tpl = new templates();
    $users = new usersMenus();
    $sock = new sockets();