Ejemplo n.º 1
0
    exit;
}
if (isset($_POST["USETERMSTEXT"])) {
    xSaveOptions();
    exit;
}
if (isset($_POST["USELDAP"])) {
    xSaveOptions();
    exit;
}
if (isset($_GET["add-freeweb-js"])) {
    add_freeweb_js();
    exit;
}
if (isset($_GET["radius"])) {
    radius_config();
    exit;
}
if (isset($_POST["RAD_SERVER"])) {
    xSaveOptions();
    exit;
}
if (isset($_GET["hostspot-status"])) {
    services_status();
    exit;
}
if (isset($_GET["download-debug"])) {
    download_debug();
    exit;
}
js();
Ejemplo n.º 2
0
 /**
  * Configures the radius library via external configurationfile
  *
  * @access public
  * @param  string  $servername   Servername or IP-Address
  * @return bool  true on success, false on error
  */
 function putConfigfile($file)
 {
     if (!radius_config($this->res, $file)) {
         return false;
     }
     return true;
 }
Ejemplo n.º 3
0
	echo "alert('$alert');";
	die();	
}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_GET["cas"])){cas_auth();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["options"])){options();exit;}
	if(isset($_POST["EnableArticaHotSpot"])){SaveEnable();exit;}
	if(isset($_POST["ArticaHotSpotPort"])){EnableArticaHotSpot();exit;}
	if(isset($_POST["EnableArticaHotSpotCAS"])){EnableArticaHotSpotCAS();exit;}
	if(isset($_GET["terme-of-use"])){echo terme_of_use();exit;}
	if(isset($_POST["USETERMSTEXT"])){xSaveOptions();exit;}
	if(isset($_POST["USELDAP"])){xSaveOptions();exit;}
	if(isset($_GET["add-freeweb-js"])){add_freeweb_js();exit;}
	if(isset($_GET["radius"])){radius_config();exit;}
	if(isset($_POST["RAD_SERVER"])){xSaveOptions();exit;}
	if(isset($_GET["hostspot-status"])){services_status();exit;}

js();


function js(){
	header("content-type: application/x-javascript");
	$page=CurrentPageName();
	$tpl=new templates();
	$YahooWin=2;
	if(isset($_GET["YahooWin"])){$YahooWin=$_GET["YahooWin"];$YahooWinUri="&YahooWin={$_GET["YahooWin"]}";}
	$title=$tpl->_ENGINE_parse_body("{HotSpot} V3");
	$html="
	var YahooWinx=$YahooWin;