コード例 #1
0
ファイル: squid.visited.php プロジェクト: brucewu16899/1.6.x
	header("Pragma: no-cache");	
	header("Expires: 0");
	//header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
	header("Cache-Control: no-cache, must-revalidate");	
	
	
	
	$user=new usersMenus();
	if(!$user->AsWebStatisticsAdministrator){
		$tpl=new templates();
		echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}").");";
		exit;
		
	}
	
	if(isset($_GET["progressDefaultRescanVisited"])){progressDefaultRescanVisited();exit;}
	if(isset($_POST["QuickCategorize"])){QuickCategorize();exit;}
	if(isset($_GET["rescan-js"])){rescan_js();exit;}
	if(isset($_POST["ResCanVisited"])){rescan_perform();exit;}
	if(isset($_POST["rescan_perform"])){rescan_perform();exit;}
	if(isset($_POST["ResCanWeek"])){rescan_week_perform();exit;}
	
	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;}
コード例 #2
0
ファイル: squid.visited.php プロジェクト: BillTheBest/1.6.x
include_once dirname(__FILE__) . '/ressources/class.artica.inc';
include_once dirname(__FILE__) . '/ressources/class.rtmm.tools.inc';
include_once dirname(__FILE__) . '/ressources/class.squid.inc';
include_once dirname(__FILE__) . '/ressources/class.dansguardian.inc';
header("Pragma: no-cache");
header("Expires: 0");
//header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
$user = new usersMenus();
if (!IsPersonalCategoriesRights()) {
    $tpl = new templates();
    echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . ");";
    exit;
}
if (isset($_GET["progressDefaultRescanVisited"])) {
    progressDefaultRescanVisited();
    exit;
}
if (isset($_POST["QuickCategorize"])) {
    QuickCategorize();
    exit;
}
if (isset($_GET["rescan-js"])) {
    rescan_js();
    exit;
}
if (isset($_POST["ResCanVisited"])) {
    rescan_perform();
    exit;
}
if (isset($_POST["rescan_perform"])) {