Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<input type="button" value="Log Off" style="display:none" id="theBtn">
function DisplayIt(){
document.getElementById("theBtn").style.display="block";
}
if ($auth == "1") {
if (!session_is_registered('userid')) {
$access = $data_pair[2];
session_register("access");
$userid = $username;
session_register("userid");
echo '<meta http-EQUIV="Refresh" content="5;url=user_check.php?PHPSESSID=', $PHPSESSID, '">';
echo 'function DisplayIt(){
document.getElementById("theBtn").style.display="block";
}';
echo '<center>Acces level of: ', $access, '. Loading in 5 seconds. <a href="user_check.php?PHPSESSID=', $PHPSESSID, '">Click here to continue</a> if not automatically done.</center>';
exit;
}
<a id="theBtn" href="logout.php?PHPSESSID=', $PHPSESSID, '" target="body">Log Off</a>
<form id="frm">
<textarea ID="values" NAME="values">Hello</textarea>
<script language="javascript">
setcontent();
function setcontent() {
try {
parent.frames.item('content').eval('showcontent(\'' + escape(String(frm.values.value)) + '\')');
}
catch(errorObject) {
setTimeout('setcontent()', 500);
}
}
</script>
<script language="JavaScript" type="text/javascript">
<!--
function logOff(){
parent.frames.item('header').getElementById("logOff").style.display="block";
}
//-->
</script>
<center><img src="img/blnkpxl.jpg" onLoad=logOff() alt="Login Complete"><br>
Acces level of: <?php echo $access; ?>. Loading in 5 seconds. <a href="user_check.php?PHPSESSID=<?php echo $PHPSESSID ?>">Click here to continue</a> if not automatically done.</center>
<tr>
<td align="center"><h2>Secure Download Section</h2></td><td align="right" id="logOff" style="display:none">
<?php
//--if (!session_is_registered('userid')){
//-- echo 'Must Log On';
//--}
//--else{
echo '<a href="logout.php?PHPSESSID=', $PHPSESSID, '" target="body">Log Off</a>';
//-- }
?>
</tr>
<?php
if ($auth == "1") {
if (!session_is_registered('userid')) {
$access = $data_pair[2];
session_register("access");
$userid = $username;
session_register("userid");?>
<meta HTTP-EQUIV="Refresh" content="5;url=user_check.php?PHPSESSID=', $PHPSESSID, '">
</head>
<body>
<script language="JavaScript" type="text/javascript">
<!--
function logOff(){
parent.frames.item('header').document.getElementById("logOff").style.display="block";
}
//-->
</script>
<center><img src="img/blnkpxl.jpg" onLoad="logOff()" alt="Login Complete"><br>
Acces level of: <?php echo $access; ?>. Loading in 5 seconds. <a href="user_check.php?PHPSESSID=<?php echo $PHPSESSID ?>">Click here to continue</a> if not automatically done.</center>
<?php
exit;
} else {
session_start();
echo '<meta HTTP-EQUIV="refresh" content="5;url=user_check.php?PHPSESSID=', $PHPSESSID, '">';
echo '<center>Login has already been authorized. Automatic refrech will occur in 5 seconds. <a href="user_check.php?PHPSESSID=', $PHPSESSID, '">Click here to continue</a> if not automatically done.';
exit;
}
?>