<?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>Children Ministry</title>
  <link rel="stylesheet" href="../includes/main.css">
  <script type="text/javascript" src="scriptschildren.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>
    
    <div class="checking">
        <li><p><div style="padding:16px"><?php  include '../includes/jquery/jquerysearch.php'?></div></p></li></ul>
    <li><p>Add Guest <br><a href="#" onClick="MyWindow=window.open('../includes/add_children.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        <li><p>list of Children's Attendees <br> <a href="#" onClick="MyWindow=window.open('../includes/viewAllchildrenAttendees.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>

      </ul>

      <ul class="liveVideo">
        <li><p><iframe src="https://www.youtube.com/live_chat?continuation=0ofMyAN-Gl5DaWtxSndvWVZVTnNTVEZxYlhod1VWVlhjRlY2YkVoa1RVaDZaMFIzRWdzeExUWkxZbDlzVlRsblNSb1Q2cWpkdVFFTkNnc3hMVFpMWWw5c1ZUbG5TU0FCTUFBJTNEMAGCAQYIBBgCIACIAQGgAb32puL64IUDqAEAsgEA&authuser=0&pageId=102220060290707528311" style="border:0px #ffffff none;" name="myiFrame" scrolling="yes" frameborder="1" marginheight="0px" marginwidth="0px" height="200px" width="200px" allowfullscreen></iframe>
        </p>hjjgg</li>
<li><p><iframe width="260" height="215" src="https://www.youtube.com/embed/1-6Kb_lU9gI?si=PPkHi1ibg57iA3V9&amp;controls=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
      </ul>




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