Subversion Repositories ALCASAR

Rev

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

Rev 1878 Rev 2008
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: status.php 1878 2016-05-09 13:09:13Z raphael.pion $
2
# $Id: status.php 2008 2016-07-25 09:00:46Z raphael.pion $
3
#
3
#
4
# status.php for Alcasar captive portal
4
# status.php for Alcasar captive portal
5
# by steweb57 & Rexy
5
# by steweb57 & Rexy
6
# 
6
# 
7
/****************************************************************
7
/****************************************************************
Line 380... Line 380...
380
<textarea id="debugarea" rows="20" cols="60">
380
<textarea id="debugarea" rows="20" cols="60">
381
</textarea>
381
</textarea>
382
</div-->
382
</div-->
383
		</div>
383
		</div>
384
	</body>
384
	</body>
-
 
385
	
-
 
386
<!-- For no compliant browser with these javascript functions : onbeforeunload and unload, to disconnect users whose close status.php window. Now, we check if user is still connected while he is joinning 'still_connected.php' -->
-
 
387
<iframe id='iframe1' name='iframe1' src='/still_connected.php' frameborder="0" frameborder="0" width='0' height='0'></iframe>
-
 
388
<script>
-
 
389
document.getElementById('iframe1').contentDocument.location.reload(true);
-
 
390
window.setInterval("reloadIFrame();", 170000);
-
 
391
function reloadIFrame() {
-
 
392
	document.getElementById("iframe1").src="/still_connected.php";
-
 
393
}
-
 
394
</script>
-
 
395
 
385
</html>
396
</html>