PK

ADDRLIN : /home/questend/www/subdomain/rwa.questend.com/
FLL :
Current File : /home/questend/www/subdomain/rwa.questend.com/news-event.php

<?php
   ob_start();
   //error_reporting(E_ALL ^ E_NOTICE);
   @session_start();
   ini_set('allow_url_include',1);    
   date_default_timezone_set("Asia/Kolkata");
   set_time_limit(600);
   ini_set('max_execution_time',600);
   include 'admin/includes/settings/constant.php';
   //include '../includes/settings/db.php';
   require_once 'admin/includes/settings/PDODB.php';
   include 'admin/includes/modules/functions.php';
   
   $function = new FUNCTIONS();
   $news = $function->getLatestnews(NULL,1);
   $upcoming = $function->getUpcomingevent(NULL,1);
   $past = $function->getPastevent(NULL,1);

?>
<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      <meta name="description" content="">
      <meta name="author" content="">
      <title>RWA Sectore 40 Noida</title>
      <!-- Bootstrap core CSS -->
      <link href="vendor/bootstrap/css/bootstrap.css" rel="stylesheet">
      <!-- Custom styles for this template -->
      <link href="css/noida40.css" rel="stylesheet">
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
      <link href="css/bootstrap-dropdownhover.css" rel="stylesheet">
      <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
   </head>
   <body>
      <?php include_once 'header.php'; ?>
      <!-- banner -->
        <header class="bg-info text-center py-5 mb-4">
          <div class="container">
            <h1 class="font-weight-light text-white heading">News &amp; Events</h1>
          </div>
        </header>
      <!--end banner -->
      <!-- Page Content -->
      <!-- <div class="container-fluid"> -->
         <!--Latest News section-->
         <div class="container news-event-blog">
            <h2><a name="latest"><span>Latest</span> News</a></h2>

            <div class="row justify-content-center mx-2">
             <?php for($i=0;$i<count($news);$i++){ ?>
               <div class="card" style="flex-direction: unset!important;">
                 <div class="col-md-3 col-12 p-0">
                   <img style="width: 100%;" src="admin/uploads/latest-news/<?=$news[$i]['file'];?>" alt="Image" class="img-fluid">
                 </div>
                 <div class="card-body col-md-9 col-12">
                   <h5 class="card-title"><?=html_entity_decode($news[$i]['title']);?></h5>
                   <span class="text-secondary"><i class="fa fa-calendar"></i> <?=date('l, jS F Y',strtotime($news[$i]['news_date']));?></span>
                   <p class="card-text"><?=html_entity_decode($news[$i]['descripation']);?></p>                      
                 </div>
               </div>
             <?php } ?>
            </div>

         </div>
         <!--end Latest News section-->
         <!--upcomming section-->
         <div class="container-fluid" style="background-color: #eaeaea; padding: 1px;">
            <div class="container news-event-blog">
               <h2><a name="upcomming"><span>Upcoming</span> Event</a></h2>
               <div class="row justify-content-center mx-2">              
                <?php for($i=0;$i<count($upcoming);$i++){ 
                    $date = new DateTime($upcoming[$i]['news_date']);
                    $now = new DateTime();
                    //echo $date; exit;
                    if($date > $now) { ?>
                  <div class="card" style="flex-direction: unset!important;">
                    <div class="col-md-3 col-12 p-0">
                      <img style="width: 100%;  height: 100%;" src="admin/uploads/upcoming-event/<?=$upcoming[$i]['file'];?>" alt="Image" class="img-fluid">
                    </div>
                    <div class="card-body col-md-9 col-12">
                      <h5 class="card-title"><?=html_entity_decode($upcoming[$i]['title']);?></h5>
                      <span class="text-secondary"><i class="fa fa-calendar"></i> <?=date('l, jS F Y',strtotime($upcoming[$i]['news_date']));?></span>
                      <p class="card-text"><?=html_entity_decode($upcoming[$i]['descripation']);?></p>                      
                    </div>
                  </div>
                <?php } } ?>
               </div>
            </div>
         </div>
         <!--end upcomming section-->
         <!--past events section-->
         <div class="container news-event-blog">
            <h2><a name="past-event"><span>Past</span> Event</a></h2>
            <div class="row justify-content-center mx-2">
             <?php for($i=0;$i<count($upcoming);$i++){
              $date = new DateTime($upcoming[$i]['news_date']);
              $now = new DateTime();

              //echo $date; exit;
              if($date < $now) { ?>
               <div class="card" style="flex-direction: unset!important;">
                 <div class="col-md-3 col-12 p-0">
                   <img style="width: 100%; height: 100%;" src="admin/uploads/upcoming-event/<?=$upcoming[$i]['file'];?>" alt="Image" class="img-fluid">
                 </div>
                 <div class="card-body col-md-9 col-12">
                   <h5 class="card-title"><?=html_entity_decode($upcoming[$i]['title']);?></h5>
                   <span class="text-secondary"><i class="fa fa-calendar"></i> <?=date('l, jS F Y',strtotime($upcoming[$i]['news_date']));?></span>
                   <p class="card-text"><?=html_entity_decode($upcoming[$i]['descripation']);?></p>                      
                 </div>
               </div>
             <?php } } ?>
            </div>
         </div>
         <!--end past events section-->
      <!-- </div> -->
      <!-- end Page Content -->
      <!-- Footer -->
      <?php include_once'footer.php';?>
      <!-- End Footer -->
      <?php include_once'login.php';?>
      <!-- Bootstrap core JavaScript -->
      <script src="vendor/jquery/jquery.min.js"></script>
      <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
      <script src="js/bootstrap-4-hover-navbar.js"></script>
      
      <script src="js/jquery.form-validator.min.js"></script>
      <script type="text/javascript">     
        $("#addmember").validate({
          rules: {
              username: {
                  required: true
              },                         
              password: {
                  required: true
              }
          },
          messages: {
              username: {
                  required: "Please enter Username"
              },                          
              mobile: {
                  required: "Please enter Password"
              }         
          },
          submitHandler: function(form) {           
             
              form.submit();
             
          }   
        });
      </script>
   </body>
</html>


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home