<?php
// We need to use sessions, so you should always start sessions using the below code.
session_start();
// If the user is not logged in redirect to the login page...
if (!isset($_SESSION['checkin']) ) {
	header('Location: ../frontpage/index.html');
	exit;
}
?>


<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Front Desk</title>
  <link rel="stylesheet" href="../includes/main.css">
  <script type="text/javascript" src="search6.js"></script>
</head>
<body>
 
  <?php require '../includes/home.php' ?>

<ul class="nav">
      
      <li>Current Date <br><?php  require '../includes/time.php';?></li>
      <li>Number of Attendees <br><?php  require '../includes/numberOfAttendees.php';
         ?></li>
      <li>Number of Guest <br><?php  require '../includes/numberOfGuest.php';
         ?>
       </li>
      <li>Number Of Children <br><?php  require '../includes/numberofchildren.php';?></li>
      <hr>
      <marquee behavior="scroll" direction="right"><?php  require '../includes/message.php';?></marquee>
      <hr>

    </ul>
    <ul class='nav'
    <li><div style="padding:16px"><?php  include '../includes/search6.php'?></div></li> </ul>
    <div class="checking">
      <li><p>Birthdays for this week</p></li>
    <li><p>Add Guest <br><a href="#" onClick="MyWindow=window.open('../includes/add_guest.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        <li><p>list of Attendees <br> <a href="#" onClick="MyWindow=window.open('../includes/viewAllGuest.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        <li><p>View All Guests <br><a href="#" onClick="MyWindow=window.open('../includes/viewAllGuest.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        <li><p>View All Children <br><a href="#" onClick="MyWindow=window.open('../includes/viewAllChildren.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        <li><p>Add Children <br><a href="#" onClick="MyWindow=window.open('add_children.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        <li><?php include '../includes/youtube.html' ?></li>
      <ul>
         
        
        
      </ul>

     




    </div>
</body>
</html>