<?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['senior'])) {
	header('Location: .../frontpage/index.html');
	exit;
}
?>




<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <meta charset="utf-8">
    <title>Attendnace Taking</title>
    <link rel="stylesheet" href="main.css">
    <script type="text/javascript" src="search/scripts.js"></script>



  </head>
  <body>


    <ul class="nav">
      <?php require 'home.php' ?>
      <!-- <p id="borderimg"> <h2> New Jerusalem Haitian Baptist Church - Attendance System </h2></p> 
      <p><div class="logo"> <img src="images/newjerusalemlogo.png" alt="Logo"> </div></p>-->
      <li>Current Date <br><?php  require 'time.php';?></li>
      <li>Number of Attendees <br><?php  require 'numberOfAttendees.php';
         ?></li>
      <li>Number of Guest <br><?php  require 'numberOfGuest.php';
         ?>
       </li>
      <li>Number Of Children <br><?php  require 'numberofchildren.php';?></li>
      <hr>
      <marquee behavior="scroll" direction="right"><?php  require 'message.php';?></marquee>
      <hr>

    </ul>
    
    
    
    <div class="checking">
      <ul>
        <!-- <li><iframe src="http://192.168.2.161/php/hello/attendance/includes/search6.php" style="border:0px #ffffff none;" name="myiFrame" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="290px" width="180px" allowfullscreen></iframe></li>
           -->
          <li><?php include '../includes/search6.php'?></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/viewAllAttendees.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('../includes/add_children.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
       
      </ul>

     
        

     
      
      
       <div class="nav">
      <ul>
         <li><p>Send Group text Message <br><a href="#" onClick="MyWindow=window.open('../includes/text.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
          
          
        
        <li><p>Upload files <br><a href="#" onClick="MyWindow=window.open('../documents/viewfolders.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        <li><p>View emails <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>New Member application Received</p></li>
        
         <li><p>Froms <br><a href="#" onClick="MyWindow=window.open('','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
         
      
        
      
      
      




    </div>
    
      
      
      
       <div class="checking">
      <ul>
        <!-- <li><iframe src="http://192.168.2.161/php/hello/attendance/includes/search6.php" style="border:0px #ffffff none;" name="myiFrame" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="290px" width="180px" allowfullscreen></iframe></li>
           -->
         <li><?php include '../includes/membersearch.php' ?></li> 
         
        
          
        <li><p>Enter Thites <br><a href="#" onClick="MyWindow=window.open('../includes/thitesenter.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        
        <li><p>Add New Member <br><a href="#" onClick="MyWindow=window.open('../includes/addnewmember.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        
        <li><p>Add new User <br> <a href="#" onClick="MyWindow=window.open('../access/search6.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        

        <li><p>Upload files <br><a href="#" onClick="MyWindow=window.open('../documents/viewfolders.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        <li><p>View emails <br><a href="#" onClick="MyWindow=window.open('../includes/add_children.php','MyWindow','width=600,height=300'); return false;">Click Here</a></p></li>
        
        <li>
            <?php include '../includes/youtube.html' ?>
        </li>
        
        <li>Number of Members<?php  include '../includes/NumberApplicationReceived.php';?></li>
        
      
       <li>New Member Application Received<?php include '../includes/NewMemberApplicationReceived.php'?></li>
      




    </div>
    
   




  </body>
</html>
