Пример #1
0
    exit;
}
if (isset($_POST["websites-add"])) {
    websites_save();
    exit;
}
if (isset($_POST["websites-analyze"])) {
    websites_analyze();
    exit;
}
if (isset($_POST["ffCatAdd"])) {
    ffCatAdd();
    exit;
}
if (isset($_GET["AddWebsites-popup"])) {
    AddWebsites_popup();
    exit;
}
if (isset($_POST["websites-delete"])) {
    websites_delete();
    exit;
}
if (isset($_POST["PerformProposal"])) {
    PerformProposal();
    exit;
}
if (isset($_POST["retry-analyze"])) {
    retry_analyze();
    exit;
}
if (isset($_REQUEST["WEBTESTS"])) {
Пример #2
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["websites-test"])){websitelist();exit;}
	if(isset($_POST["websites-add"])){websites_save();exit;}
	if(isset($_POST["websites-analyze"])){websites_analyze();exit;}
	if(isset($_POST["ffCatAdd"])){ffCatAdd();exit;}
	if(isset($_GET["AddWebsites-popup"])){AddWebsites_popup();exit;}
	if(isset($_POST["websites-delete"])){websites_delete();exit;}
	if(isset($_POST["PerformProposal"])){PerformProposal();exit;}
	if(isset($_POST["retry-analyze"])){retry_analyze();exit;}
	if(isset($_REQUEST["WEBTESTS"])){WEBTESTS();exit;}
	if(isset($_POST["import-artica"])){import_artica_fr();exit;}
page();


function WEBTESTS(){
	
$www=$_REQUEST["WEBTESTS"];
$q=new mysql_squid_builder();
$www=$q->WebsiteStrip($www);

if($www==null){echo "corrupted\n";return;}