Subversion Repositories ALCASAR

Rev

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

Rev 2086 Rev 2097
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: status.php 2086 2016-12-11 21:33:11Z richard $
2
# $Id: status.php 2097 2016-12-17 02:20:43Z 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 466... Line 466...
466
<textarea id="debugarea" rows="20" cols="60">
466
<textarea id="debugarea" rows="20" cols="60">
467
</textarea>
467
</textarea>
468
</div-->
468
</div-->
469
		</div>
469
		</div>
470
	</body>
470
	</body>
471
	
471
 
472
<!-- 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' -->
-
 
473
<iframe id='iframe1' name='iframe1' src='/still_connected.php' frameborder="0" frameborder="0" width='0' height='0'></iframe>
-
 
474
<script>
-
 
475
document.getElementById('iframe1').contentDocument.location.reload(true);
-
 
476
window.setInterval("reloadIFrame();", 170000);
-
 
477
function reloadIFrame() {
-
 
478
	document.getElementById("iframe1").src="/still_connected.php";
-
 
479
}
-
 
480
</script>
-
 
481
 
472
 
482
</html>
473
</html>