<script src="include/jquery.js" type="text/javascript"></script>
  <script src="include/ext.js" type="text/javascript"></script>

<script>
  var RecaptchaOptions = { theme : 'clean' };
</script>
  
	</head>
<body id="body2">
<div id="content">

<div class="header2">
<?php 
echo $_SESSION['s_firstname'];
$logo1 = $_SESSION['ID'];
$arr = staff_detail($logo1);
while ($row = mysql_fetch_array($arr)) {
    $dp = $row['prof_pic'];
}
if ($dp != "") {
    $logo = $dp;
} else {
    $logo = "default_profile.png";
}
?>
<span style="float:right; margin-top:5px;"><a href="logout.php"><img src="images/logout-button-md.png" style="width:2cm; height:2cm;"/></a></span>
</div>
<div>
<br/>
<?php 
print "<img src=\"upload/{$logo}\" id=\"thumb\"/><br/>";
<?php 
include "include/header_staff.php";
include 'include/staff_menu.php';
$id = $_SESSION['ID'];
$res = staff_detail($id);
$rows = mysql_num_rows($res);
if ($rows == 1) {
    while ($row = mysql_fetch_array($res)) {
        $username = $row['UserName'];
        $firstname = $row['FirstName'];
        $lastname = $row['LastName'];
        $password = $row['Password'];
        $birthday = $row['Birthday'];
        $a = explode('-', $birthday);
        $birthday = $a[1] . '/' . $a[2] . '/' . $a[0];
        $qual = $row['Qualification'];
        $gender = $row['Gender'];
        $mob = $row['MobileNo'];
        $land = $row['LandlineNo'];
        $religion = $row['Religion'];
        $nation = $row['Nationality'];
        $postal = $row['PostalID'];
        $city = $row['City'];
        $email = $row['Email'];
        $state = $row['State'];
        $country = $row['Country'];
        $taddress = $row['Taddress'];
        $paddress = $row['Paddress'];
        $logo = $row['prof_pic'];
    }