예제 #1
0
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["visited"])){visited();exit;}
	if(isset($_GET["visited-list"])){visited_list();exit;}
	
	if(isset($_GET["no-cat"])){not_categorized();exit;}
	if(isset($_GET["no-cat-list"])){not_categorized_list();exit;}
	
	if(isset($_GET["yes-cat"])){categorized();exit;}
	if(isset($_GET["yes-cat-list"])){categorized_list();exit;}	
	
	
	if(isset($_GET["free-cat"])){free_catgorized();exit;}
	if(isset($_POST["textToParseCats"])){free_catgorized_save();exit;}
	
	if(isset($_GET["params"])){parameters();exit;}
	if(isset($_GET["EnableCommunityFilters"])){parameters_save();exit;}
	
	
	if(isset($_GET["CategorizeAll-js"])){CategorizeAll_js();exit;}
	if(isset($_GET["CategorizeAll"])){CategorizeAll_popup();exit;}
	if(isset($_GET["CategorizeAll_category"])){CategorizeAll_perform();exit;}
	if(isset($_GET["cat-explain"])){CategorizeAll_explain();exit;}
	
	
	
	
	
js();

function CategorizeAll_js(){
	$tpl=new templates();
예제 #2
0
<?php
	if(isset($_GET["verbose"])){ini_set('html_errors',0);ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string','');ini_set('error_append_string','');}
	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');
	include_once('ressources/class.computers.inc');
	$users=new usersMenus();
	if(!$users->AsWebStatisticsAdministrator){die();}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["parameters"])){parameters();exit;}
	if(isset($_POST["SquidEnableISPMode"])){parameters_save();exit;}
	if(isset($_POST["SendTestMessage"])){SendTestMessage();exit;}
	if(isset($_GET["SendTestMessage"])){SendTestMessage();exit;}
	js();
	
	
function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{SQUID_ISP_MODE}");
	echo "YahooWin('815','$page?popup=yes','$title')";
}


function popup(){
	$page=CurrentPageName();
	$tpl=new templates();
		
예제 #3
0
파일: sarg.php 프로젝트: brucewu16899/1.6.x
	include_once('ressources/class.system.network.inc');
	
	
	$user=new usersMenus();
	if($user->AsWebStatisticsAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}	
	if(isset($_GET["status-sarg"])){sarg_status();exit;}
	if(isset($_POST["EnableSargGenerator"])){EnableSargGenerator_unique_save();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_GET["sarg-freeweb"])){freeweb();exit;}
	if(isset($_GET["params"])){parameters();exit;}
	if(isset($_GET["topsites_num"])){parameters_save();exit;}
	
	if(isset($_GET["sarg-report-type"])){parameters_reports();exit;}
	
	
	
	if(isset($_GET["sarg-reports"])){sarg_reports();exit;}
	if(isset($_GET["report_type"])){sarg_reports_add();exit;}
	if(isset($_GET["delete_report_type"])){sarg_reports_del();exit;}
	
	
	
	if(isset($_GET["members"])){members();exit;}
	
	if(isset($_GET["remote-users"])){remote_users();exit;}
	if(isset($_GET["local-users"])){local_users();exit;}
예제 #4
0
include_once 'ressources/class.artica.graphs.inc';
include_once 'ressources/class.computers.inc';
$users = new usersMenus();
if (!$users->AsWebStatisticsAdministrator) {
    die;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["parameters"])) {
    parameters();
    exit;
}
if (isset($_POST["SquidEnableISPMode"])) {
    parameters_save();
    exit;
}
if (isset($_POST["SendTestMessage"])) {
    SendTestMessage();
    exit;
}
if (isset($_GET["SendTestMessage"])) {
    SendTestMessage();
    exit;
}
if (isset($_GET["blacklist-list"])) {
    categories_list();
    exit;
}
if (isset($_POST["category"])) {
예제 #5
0
	include_once('ressources/class.system.network.inc');
	include_once('ressources/class.freeweb.inc');
	include_once('ressources/class.awstats.inc');
	
	

	$user=new usersMenus();
	if($user->AsWebMaster==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["parameters"])){parameters();exit;}
	if(isset($_POST["TomcatEnable"])){parameters_save();exit;}
page();


function page(){
	
	$time=time();
	$page=CurrentPageName();
	$html="<div id='tomcat-$time'></div>
	<script>
		LoadAjax('tomcat-$time','$page?tabs=yes');
	</script>
	";
	
	echo $html;