<?php include("parent/callMe.php"); ?>
<?php  include("sessioncheck.php");

        $m->where("branch_id", $_SESSION['branch']);
        $branch=$m->get("edu_branch_config");

        $m->where("user_id", $_REQUEST['emp']);
        $staff=$m->get("edu_user_config");

 ?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>

<script type="text/javascript">
    
    window.print();
</script>

<style>
    /* Add some padding on document's body to prevent the content
    to go underneath the header and footer */
    body{        
        padding-top: 60px;
        padding-bottom: 40px;
    }
    .fixed-header, .fixed-footer{
        width: 100%;
        position: fixed;        
        background: #333;
        padding: 10px 0;
        color: #fff;
    }
    .fixed-header{
        top: 0;
    }
    .fixed-footer{
        bottom: 0;
    }
    .container{
        width: 80%;
        margin: 0 auto; /* Center the DIV horizontally */
    }
    nav a{
        color: #fff;
        text-decoration: none;
        padding: 7px 25px;
        display: inline-block;
    }
</style>
</head>
<body>
    <?php if($_GET['header']==1){?>
    <div class="fixed-header">
        <div class="container" style="height:30px;"></div>
    </div>
    <div class="fixed-header">
        <div class="container" style="height:10px;margin-top: 5px;"></div>
    </div>
    <div style="height:3px;width:101%;margin-top:-15px;background-color:black;"></div>
    

    <div class="container">
        <div style="text-align:center;height:80px;margin-top:2%;">
        <img src="<?php echo DOMAIN;?>Production/img/<?php echo $branch[0]['logo']; ?>" style="height:70px;width:70px;" />
    </div>
    <div style="text-align:center; padding-top:0px;font-size:25px;"><b> <?php echo $branch[0]['Branch_Name']; ?></b>         
    </div>
    <p style="text-align:center;"> <?php  if(isset($_SESSION['slogan'])){?>

              <?php echo $_SESSION['slogan']; ?>
           
          <?php  unset($_SESSION['slogan']); } ?></p>
    <hr class="new2">
    <?php } ?>
    <br><br>
           <?php  if(isset($_SESSION['experience'])){?>

              <?php echo $_SESSION['experience']; ?>
           
          <?php  unset($_SESSION['experience']); } ?>

   

    </div>  
    <?php if($_GET['header']==1){?>  
    <div class="fixed-footer">
    <div class="container">
    <p style="text-align: center;">  Address: <?php echo $branch[0]['Branch_Location']; ?>, Phone: <?php echo $branch[0]['branch_contact']; ?> </p>
    </div>        
    </div>
    <?php } ?>
</body>
</html>
























<!-- 
<div style="margin-left: 45px;">
  <?php if($_GET['border']==1){?>
<div style="width:850px; height:600px; padding:20px; text-align:center; border: 10px solid #787878">
<div style="width:800px; height:550px; padding:20px; text-align:center; border: 5px solid #787878">
<?php } ?>

<br><br><br><br><br><br><br><br><br><br><br><br>
          <?php  if(isset($_SESSION['experience'])){?>

              <?php echo $_SESSION['experience']; ?>
           
          <?php  unset($_SESSION['experience']); } ?>
</div>
</div>
</div>
 -->
