<? session_start();
$exmsg="UserID expires in"." ".$_SESSION['expir']." "."days";

if(strlen($brcode)<=0)
{
print "<script> alert('Session timed out'); parent.document.location='ind.php'; </script>";
 return;
}
include("opendb.php");
$br=mysqli_query($db,"select * from branch where brcode='$brcode'");
$brrow=mysqli_fetch_row($br);
?>
<style>
   #txt a {
  text-decoration: none;
  color:black;
font-family: Arial, Helvetica;
    }
#txt{
font-family: Arial, Helvetica;
}
.tb
{

-moz-box-shadow:    inset 1px 1px 10px Grey;
   -webkit-box-shadow: inset 1px 1px 10px Grey;
   box-shadow:         inset 1px 1px 10px Grey;
}
</style>
<body>
<center>
<table width='100%'  class='tb'><tr><td>
 <td align='center'><img  src="xpress/head.jpg"  width="450" height="60" alt="login" title="logo" border='0' valign='middle'/></td>



</td><td align='left' id='txt'><font color='black'><b>Demo</b></br>Branch: <b><?print $brrow[1].'['.$brcode.']'?></b> User: <b><?print $user?><b></br><?print $exmsg?></td>

<td align='right' id='txt'><table><tr><td bgcolor='silver'></td><td align='right'><a href='#'><img src='images/support.png' title='Support' border='0' width=15 height=15 /> <b>Support</b></a>&nbsp;<font color='grey'>&#124;</font>
<a href='#'><img src='images/feedback.png' title='Feedback' border='0' width=18 height=15 /><b>Feedback</b></a>&nbsp;<font color='grey'>&#124;</font>
<a href='#'><img src='images/home.png' title='Home' border='0' /> <b>Home</b></a>&nbsp;<font color='dimgrey'>&#124;</font>
<a href='logout.php'><img src='images/logout.png' title='Logout' border='0' /> <b>Logout</b></a></br></br>

</td></tr></table></td></tr></table>
</body>
