if(isset($_GET["popup"])){page();exit;}
if(isset($_GET["tabs"])){tabs();exit;}
if(isset($_GET["flow-day"])){flow_day();exit;}
if(isset($_GET["flow-month-graph1"])){flow_month_graph1();exit;}
if(isset($_GET["flow-month-graph2"])){flow_month_graph2();exit;}
if(isset($_GET["websites"])){websites_table();exit;}
if(isset($_GET["search-websites"])){websites_search();exit;}

if(isset($_GET["members"])){members_table();exit;}
if(isset($_GET["search-members"])){members_search();exit;}

if(isset($_GET["categories"])){categories_table();exit;}
if(isset($_GET["search-categories"])){categories_search();exit;}

if(isset($_GET["days"])){days_table();exit;}
if(isset($_GET["search-days"])){days_search();exit;}





js();


function js(){
	header("content-type: application/x-javascript");
	$tpl=new templates();
	$suffix=suffix();
	$t=time();
	$title=$tpl->_ENGINE_parse_body("{this_month}::{$_GET["field"]} {$_GET["value"]}");
	$page=CurrentPageName();
    exit;
}
if (isset($_GET["categories"])) {
    categories_table();
    exit;
}
if (isset($_GET["search-categories"])) {
    categories_search();
    exit;
}
if (isset($_GET["days"])) {
    days_table();
    exit;
}
if (isset($_GET["search-days"])) {
    days_search();
    exit;
}
js();
function js()
{
    header("content-type: application/x-javascript");
    $tpl = new templates();
    $suffix = suffix();
    $t = time();
    $title = $tpl->_ENGINE_parse_body("{members_this_month}::{$_GET["field"]}::{$_GET["value"]}");
    $page = CurrentPageName();
    $html = "\n\tfunction Start{$t}(){\n\tYahooWin2('1019','{$page}?tabs=yes{$suffix}','{$title}')\n}\n\nStart{$t}();";
    echo $html;
}
function suffix()