$usersmenus=new usersMenus();
if(!$usersmenus->AsSquidAdministrator){
	$tpl=new templates();
	$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
	echo "alert('$alert');";
	die();	
}
if( isset($_GET['TargetArticaUploaded']) ){upload_artica_perform();exit();}
if(isset($_GET["file-uploader-demo1"])){upload_artica_final();exit;}
if(isset($_GET["uncompress"])){uncompress();exit;}
if(isset($_GET["remove"])){remove();exit;}

if(isset($_GET["tabs"])){tabs();exit;}
if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["manu"])){manu();exit;}
if(isset($_GET["compile-list"])){squid_compile_list();exit;}

js();

function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	header("content-type: application/x-javascript");
	$title=$tpl->_ENGINE_parse_body("{compilation_status}");
	$html="YahooWin4('585','$page?tabs=yes','$title');";
	echo $html;
}


function tabs(){
    exit;
}
if (isset($_GET["remove"])) {
    remove();
    exit;
}
if (isset($_GET["tabs"])) {
    tabs();
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["manu"])) {
    manu();
    exit;
}
if (isset($_GET["compile-list"])) {
    squid_compile_list();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    header("content-type: application/x-javascript");
    $title = $tpl->_ENGINE_parse_body("{upload_package}   /   {compilation_status}");
    $html = "YahooWin4('585','{$page}?tabs=yes','{$title}');";
    echo $html;