Subversion Repositories ALCASAR

Rev

Rev 1452 | Rev 1670 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1452 Rev 1491
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: intercept.php 1452 2014-09-19 13:21:07Z richard $
2
# $Id: intercept.php 1491 2014-11-19 10:00:30Z franck $
3
#
3
#
4
# intercept.php for ALCASAR captive portal
4
# intercept.php for ALCASAR captive portal
5
# Copyright (C) 2003, 2004 Mondru AB.
5
# Copyright (C) 2003, 2004 Mondru AB.
6
# Modify by REXY & steweb57
6
# Modify by REXY & steweb57
7
# UI & css style by stephane ERARD
7
# UI & css style by stephane ERARD
Line 434... Line 434...
434
		if ($reply) {
434
		if ($reply) {
435
		#traitement du reply ...
435
		#traitement du reply ...
436
		echo "<center> $reply <br /><br /></center>";
436
		echo "<center> $reply <br /><br /></center>";
437
		}
437
		}
438
	}
438
	}
439
	if ($userurl == "http://logout/") $userurl="http://www.qwant.com"; //avoid cyclic logout
439
	if ($userurl == "http://logout/") $userurl="http://www.google.com"; //avoid cyclic logout
440
	echo "
440
	echo "
441
	<img id=\"logo-alcasar\" src=\"/images/logo-alcasar.png\">
441
	<img id=\"logo-alcasar\" src=\"/images/logo-alcasar.png\">
442
	<form name=\"form1\" method=\"post\" action=\"$loginpath\">
442
	<form name=\"form1\" method=\"post\" action=\"$loginpath\">
443
	<input type=\"hidden\" name=\"challenge\" value=\"$challenge\">
443
	<input type=\"hidden\" name=\"challenge\" value=\"$challenge\">
444
	<input type=\"hidden\" name=\"uamip\" value=\"$uamip\">
444
	<input type=\"hidden\" name=\"uamip\" value=\"$uamip\">