$user=new usersMenus();
	if($user->AsSquidAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["wizard1"])){wizard1();exit;}
	if(isset($_GET["wizard2"])){wizard2();exit;}
	if(isset($_GET["wizard3"])){wizard3();exit;}
	if(isset($_GET["wizard4"])){wizard4();exit;}
	if(isset($_GET["wizard5"])){wizard5();exit;}
	if(isset($_GET["wizard6"])){wizard6();exit;}
	if(isset($_GET["wizard7"])){wizard7();exit;}
	if(isset($_GET["wizard8"])){wizard8();exit;}
	if(isset($_GET["wizard9"])){wizard9();exit;}
	if(isset($_GET["wizard10"])){wizard10();exit;}
	if(isset($_GET["wizard11"])){wizard11();exit;}
	if(isset($_GET["wizard12"])){wizard12();exit;}
	
	if(isset($_POST["EnableRemoteStatisticsAppliance"])){Save();exit;}
	if(isset($_POST["SERVER"])){wizard_save();exit;}
	if(isset($_POST["SquidDBListenPort"])){wizard_save();exit;}
js();


function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	header("content-type: application/x-javascript");
Esempio n. 2
0
    exit;
}
if (isset($_GET["wizard5"])) {
    wizard5();
    exit;
}
if (isset($_GET["wizard6"])) {
    wizard6();
    exit;
}
if (isset($_GET["wizard7"])) {
    wizard7();
    exit;
}
if (isset($_GET["wizard8"])) {
    wizard8();
    exit;
}
if (isset($_GET["finish"])) {
    finish();
    exit;
}
step1();
function Wizardpme()
{
    $users = new usersMenus();
    $play_is = RoundedLightGrey("\n\t<table style='width:100%'>\n\t<tr>\n\t<td valign='top'>" . imgtootltip('icon_settings-64.png', '{apply}', "MyHref('artica.wizard.ispout.php')") . "</td>\n\t<td valign='top'>\n\t\t<H5>{send_to_isp}</h5>\n\t\t{send_to_isp_text}\n\t\n\t</td>\n\t</tr>\n\t</table>", null, 1);
    $plays_is1 = RoundedLightGrey("\t<table style='width:100%'>\n\t<tr>\n\t\t<td valign='top'>" . imgtootltip('icon_settings-64.png', '{apply}', "MyHref('artica.wizard.isprelay.php')") . "</td>\n\t\t<td valign='top'>\n\t\t\t<H5>{send_isp_relay}</h5>\n\t\t\t{send_isp_relay_text}\n\t\t\n\t\t</td>\n\t</tr>\n\t</table>\n\t", null, 1);
    $plays_is2 = RoundedLightGrey("\t<table style='width:100%'>\n\t<tr>\n\t\t<td valign='top'>" . imgtootltip('icon_settings-64.png', '{apply}', "MyHref('artica.wizard.fetchmail.php')") . "</td>\n\t\t<td valign='top'>\n\t\t\t<H5>{get_mails_isp}</h5>\n\t\t\t{get_mails_isp_text}\n\t\t\n\t\t</td>\n\t</tr>\t\n\t</table>", null, 1);
    $html = "<h4>{play_with_your_isp}</h4>\n\t{$play_is}\n\t{$plays_is1}\n\t{$plays_is2}";
    return $html;