Ejemplo n.º 1
0
include_once 'ressources/class.artica.inc';
include_once 'ressources/class.ini.inc';
include_once 'ressources/class.squid.inc';
include_once 'ressources/class.rtmm.tools.inc';
$user = new usersMenus();
if (!$user->AsSquidAdministrator) {
    $tpl = new templates();
    echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');";
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["categorizer"])) {
    popup_categories();
    exit;
}
if (isset($_GET["top10"])) {
    popup_top10();
    exit;
}
if (isset($_GET["top10-list"])) {
    popup_top10_list();
    exit;
}
if (isset($_GET["top10-users"])) {
    popup_top10_users();
    exit;
}
if (isset($_GET["category"])) {
Ejemplo n.º 2
0
	include_once('ressources/class.squid.inc');
	include_once('ressources/class.rtmm.tools.inc');

	
	
	$user=new usersMenus();
	if(!$user->AsSquidAdministrator){
		$tpl=new templates();
		echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		exit;
		
	}
	
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["categorizer"])){popup_categories();exit;}
	if(isset($_GET["top10"])){popup_top10();exit;}
	if(isset($_GET["top10-list"])){popup_top10_list();exit;}
	if(isset($_GET["top10-users"])){popup_top10_users();exit;}
	
	
	if(isset($_GET["category"])){save_category();exit;}
	if(isset($_GET["categories-of"])){get_categories();exit;}
	js();
	
function js(){
	$page=CurrentPageName();
	$start="CategorizeLoad()";
	
	if(isset($_GET["load-js"])){
		$_GET["www"]=$_GET["load-js"];