37 lines
1.2 KiB
PHP
37 lines
1.2 KiB
PHP
|
|
<?php
|
||
|
|
//if(!defined('ERROR')){die('Direct access not permitted');}
|
||
|
|
//echo 'you are here';
|
||
|
|
echo '<html>
|
||
|
|
<head>
|
||
|
|
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
|
||
|
|
<link rel="stylesheet" href="css/userPanel.css" />
|
||
|
|
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
|
||
|
|
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.js"></script>
|
||
|
|
<title>Disconnected</title>
|
||
|
|
</head>
|
||
|
|
<body>';
|
||
|
|
|
||
|
|
if(isset($_GET["invalidLicense"])){
|
||
|
|
echo'<h4>Connection rejected. You are trying to connect from an unlicensed domain.</h4>';
|
||
|
|
}else{
|
||
|
|
echo'<h4>Connection lost, the server might be down or you may have lost connection to the internet.</h4>';
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
echo'<a href="m.php" data-role="button" data-inline="true" data-theme="b" data-icon="arrow-l" data-transition="slide" data-direction="reverse">Go To Login Page</a>';
|
||
|
|
|
||
|
|
echo' <script>
|
||
|
|
var goToIndexInterval;
|
||
|
|
|
||
|
|
function refreshTimer(){
|
||
|
|
goToIndexInterval = setInterval(function(){goToIndex()},1000);
|
||
|
|
}
|
||
|
|
|
||
|
|
function goToIndex(){
|
||
|
|
clearInterval(goToIndexInterval);
|
||
|
|
window.location.href = "m.php";
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
</body>
|
||
|
|
</html>';
|
||
|
|
?>
|