File "event-20260113181149.php"

Full Path: /home/ovanhxso/public_html/css/css/event-20260113181149.php
File size: 3.81 KB
MIME-type: text/x-php
Charset: utf-8

<?php include("include/header.php"); ?>


<head>
        <!-- common meta tags -->
        <title>Upcoming Events | Volunteer with OVA</title>
        <meta name="description" content="Stay updated on our upcoming volunteer events and workshops. Join us to make a positive impact.">
        <meta name="keywords" content="volunteer events, workshops, volunteer opportunities, social impact, community engagement">
        <meta name="robots" content="index, follow">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta name="language" content="English">
        <link rel="canonical" href="https://www.ova.ngo/event.php">
        <!-- facebook meta tags -->
        <meta property="og:title" content="Upcoming Events | Volunteer with OVA">
        <meta property="og:description" content="Stay updated on our upcoming volunteer events and workshops. Join us to make a positive impact.">
        <meta property="og:image" content="assets/images/logo.png">
        <meta property="og:url" content="https://www.ova.ngo/event.php">

        <!-- Twiiter meta tags -->
        <meta name="twitter:title" content="Upcoming Events | Volunteer with OVA">
        <meta name="twitter:description" content="Stay updated on our upcoming volunteer events and workshops. Join us to make a positive impact.">
        <meta name="twitter:url" content="https://www.ova.ngo/event.php">
        <meta name="twitter:card" content="summary">
    </head> 

<section class="page-title bg-background-area" data-bg="assets/images/bg2.jpg">
    <div class="overlay"></div>
   <div class="page-title-container">
      <div class="page-title-wrapper">
         <div class="container">
            <div class="row">
               <div class="col col-xs-12">
                  <h2>Event</h2>
                  <ol class="breadcrumb">
                     <li><a href="./">Home</a></li>
                     <li>Event</li>
                  </ol>
               </div>
            </div>
            <!-- end row -->
         </div>
         <!-- end container -->
      </div>
   </div>
</section>
<!-- start events-section -->
<section class="events-section events-pg-section section-padding data-bg-image" data-background="assets/images/connecting.png">
   <div class="container">
      <div class="row">
         <div class="col col-md-12">
            <div>
               <div class="row">
                   <?php 
$stm123=$conn->prepare("SELECT * FROM events where delete_status = 0");
$stm123->execute();
$ro123=$stm123->fetchAll();
foreach ($ro123 as $ke123) {
    $date = $ke123['event_date']; 
    $time=$ke123['time'];
// Convert the date to the desired format
$formattedDate = date('M d, Y', strtotime($date));
$timeformat = date('h:i A', strtotime($time));
  
?>
                  <div class="col col-md-4 box6">
                     <div class="grid">
                        <div class="img-holder">
                           <img src="panel/assets/images/<?php echo $ke123['photo'];?>" alt="volunteer events" height="300px">
                        </div>
                        <div class="details">
                           <div class="inner">
                              <h3><a href="#" onclick="submitForm1(event, <?php echo $ke123['id'] ?>,'<?php echo $ke123['name1'] ?>', 'event-detail.php')"><?php echo $ke123['name1'];?></a></h3>
                              <p><?php echo $formattedDate ." ". "(".$timeformat.")" ; ?></p>
                           </div>
                        </div>
                     </div>
                  </div>
                 <?php } ?>
                
               </div>
            </div>
         </div>
      </div>
   </div>
   <!-- end container -->
</section>
<!-- end events-section -->
<?php include("include/footer.php"); ?>