<?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['children'])) {
	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">
</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> Children Tracking System </div>
</li>

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


        
    </ul>
</div> 
    <div class="row">
        <div class="columnsearch"><?php include 'jquerysearch.php' ?>;</div>
        
        <hr>
        
        <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>
        
        <hr>
        <p>Print Id Card</p> </hr>
           
        </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">
        <p><?php include 'add_children.php'?>;</p>
        
        </div>
        <div class= 'colum'>
        <p><?php include '../../includes/youtube.php'?>;</p>
        
        </div>
            
        </div>
        

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