<?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['frontdesk'])) {
	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>Document</title>
    <link rel="stylesheet" href="jquery.css">
    <link rel="stylesheet" href="childrenstatus.css">
    <script  src="./scripts6.js"></script>
</head>

<body background="black">
    
    
      
     
    
    
    
    
    
    
    
    
    <div><a href="logout.php"><i class="fas fa-sign-out-alt"></i>Logout</a></div>
    <div><p>Welcome back, <?=htmlspecialchars($_SESSION['name'], ENT_QUOTES)?>!</p></div>
    
<div class="Maintitle">
    <ul class="title">
        <li><iframe scrolling="no" frameborder="no" clocktype="html5" style="overflow:hidden;border:0;margin:0;padding:0;width:180px;height:60px;"src="https://www.clocklink.com/html5embed.php?clock=004&timezone=EST&color=green&size=180&Title=&Message=&Target=&From=2025,1,1,0,0,0&Color=green"></iframe></li>
 
<li>New Jerusalem Haitian Baptist Church <div> Main Church(Front Desk) Tracking System </div>
</li>

<div class="Maintitle">
    <ul class="title">
 
</li>


        
    </ul>
</div> 
    <div class="row">
        <div class="columnsearch"><?php include 'jquerysearch.php' ?></div>
        
        <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/numberOfGuest.php';?></li>
      <hr>
        
        <hr>
        <p>Print Id Card</p>
       
        </div>
        <div class="column"> Birthday for this month
       <p><?php include 'birthday.php'?></p>
         
        </div>
        
        
        <div class="column">
       <p><?php include 'viewallchildrenattendeess.php'?></p>
        
        </div>
        <div class="column">
            <p><?php include 'viewallchildrencheckout.php'?></p>
           
           </div>
           
           
           
        <div class="column">
            <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>
            
             
        
        </div>
        
        <div class="column">
            <?php include 'viewCurrentGuest.php' ?>
            
        </div>
        
        <div class= 'colum'>
        <p><?php include '../../includes/youtube.php'?></p>
        
        </div>
        

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