Your IP : 18.221.248.140


Current Path : /home/lentoinv/covisclubinternational.com/
Upload File :
Current File : /home/lentoinv/covisclubinternational.com/livetrainings.php

<?php
include("profile/lib/connect.inc.php"); 
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="keywords" content="Covis Club Internation. Passionate about financial empowerment" />
    <meta name="description" content="Covis Club Internation. Passionate about financial empowerment" />
    <meta name="author" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Live Training Events</title>

    <!-- Favicon -->
    <link rel="shortcut icon" href="img/fav.png" />

    <!-- Google Font -->
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Archivo:400,400i,500,500i,600,600i,700,700i&amp;display=swap">

    <!-- CSS Global Compulsory (Do not remove)-->
    <link rel="stylesheet" href="css/font-awesome/all.min.css" />
    <link rel="stylesheet" href="css/flaticon/flaticon.css" />
    <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />

    <!-- Page CSS Implementing Plugins (Remove the plugin CSS here if site does not use that feature)-->
    <link rel="stylesheet" href="css/owl-carousel/owl.carousel.min.css" />
    <link rel="stylesheet" href="css/animate/animate.min.css"/>
    <link rel="stylesheet" href="css/magnific-popup/magnific-popup.css" />

    <!-- Template Style -->
    <link rel="stylesheet" href="css/style.css" />

  </head>
  <body>

    <!--=================================
    header -->
   <?php include("header.php");  ?>
    <?php if(isset($report)){$covis->Alert(); } ?>
    <!--=================================
    header -->
         <?php if(isset($_GET['training'])){ $t = explode('-', $_GET['training']); $t1=$t[0];
                $cost = sqLx('training','sn',$t1,'cost2');
                $title = sqLx('training','sn',$t1,'title');  ?>

<section class="header-inner bg-overlay-black-50" style="background-color: navy;">
      <div class="container">
        <div class="row d-flex justify-content-center">
          <div class="col-md-10">
            <div class="header-inner-title text-center">
              <h3 class="text-white font-weight-normal"><?php echo ucwords(strtolower($title)) ?></h3>
               <p class="text-white mb-0">Live in <?php $location = explode(';', sqLx('training','sn',$t1,'locations'));
                                            $count = count($location);
                                            $i = 0;
                                            while($i<$count){ $e=$i++ ?>
                                                <?php echo $location[$e]; echo $i<$count ? ' / ':'' ?>  
                                            <?php } ?></p> 
            </div>
          </div>
        </div>
      </div>
    </section>
    <!--=================================
    Contat Form -->
 

    <section class="pb-5 mb-5">
      <div class="container">
        <div class="row justify-content-lg-around position-relative pt-5">
          <div class="col-md-8">

                                       <img width="100%" src="profile/news/<?php echo sqLx('training','sn',$t1,'photo') ?>">
                                       <br> <br>
                                       <b>TRAINING DETAILS</b>
                                       <?php echo stripcslashes(sqLx('training','sn',$t1,'note')) ?>
          </div>
           <div class="col-md-4 mb-4">
            <div class="is-sticky">
             <h4>TRAINING INFORMATION</h4>
                                            <table class="table">
                                                <tr><th>Fee</th><td><span>$<?php echo number_format($cost,2); ?></span> <span class="pl-2" style="text-decoration: line-through; color: grey">$<?php echo number_format($cost*1.65,2); ?></span></td></tr>
                                                <tr><th>Date</th><td><?php echo ucwords(strtolower(sqLx('training','sn',$t1,'date'))) ?></td></tr>
                                                <tr><th>Locations</th><td><?php $location = explode(';', sqLx('training','sn',$t1,'locations'));
                                            $count = count($location);
                                            $i = 0;
                                            while($i<$count){ $e=$i++ ?>
                                                <?php echo ($e+1).'. '.$location[$e] ?><br>
                                            <?php } ?></td></tr>
                                            </table>

                                            <a href="#"data-toggle="modal" data-target="#RegTrain" class="btn btn-primary btn-block">Register for Training</a>
            </div>
          </div>

        </div>
      </div>
    </section>

  <?php } ?>
    <!--=================================
    Contat Form  -->
  

      <?php  $sql = $db->query("SELECT * FROM training WHERE status=1 "); 
if(mysqli_num_rows($sql)>0){  ?>
<section id="technology" class="space-ptb bg-light">
      <div class="container">
        <div class="row text-center justify-content-center">
          <div class="col-lg-12">
            <div class="section-title">
              <h2>Live Training Events</h2>
              <p>Join our high quality and affordable skill acquisition programmes for a life changing experience.</p>
            </div>
          </div>
        </div>

                                        <div class="row">
                                              <?php $i=0;
                                       
                                        while($row = $sql->fetch_assoc()){ $i +=1; $course = $row['sn'];
                                            ?>
                                         <div class="col-md-3 pb-2"><a href="?training=<?php echo $row['sn'].'-'.str_replace(' ', '-', $row['title']) ?>" style="color: black; "> 
                                         <img width="100%" src="profile/news/<?php echo sqLx('training','sn',$course,'photo') ?>">
                                         <?php echo ucwords(strtolower($row['title'])); ?><br>
                                        <b> <span>$<?php echo number_format($row['cost2'],2); ?></span> <span class="pl-2" style="text-decoration: line-through; color: grey">$<?php echo number_format($row['cost2']*1.65,2); ?></span></b>
                                     </a>
                                          </div> 
                                     <?php } ?>
                                        </div>

                                    </div>
                                </div>
      </section>
<?php } ?>


  
    <!--=================================
    footer-->
    <?php include('footer.php'); ?>
    <!--=================================
    Javascript -->



<form method="post" >
    <div class="modal animated bounceInUp small-modal" id="RegTrain" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title"><?php echo ucwords(strtolower(sqLx('training','sn',$t1,'title'))); ?> @ $<?php echo number_format($cost,2); ?> (NGN<?php echo number_format($cost*450,2); ?>)</h5>
                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">×</span>
                    </button>
                   
                </div>
               <div class="modal-body">
<p>Pay the sum of $<?php echo number_format($cost,2); ?> (NGN<?php echo number_format($cost*450,2); ?>) to the following account number: COVIS CLUB LIMITED, 1016497736, ZENITH BANK and fill the form below:</p>
               
                                            <form method="post">
                                            <input type="text" name="note" class="form-control" placeholder="Payment Details" required><br>
                                            <input type="text" name="name" class="form-control" placeholder="Full Name" required><br>
                                            <input type="text" name="email" class="form-control" placeholder="E-mail" required><br>
                                            <input type="text" name="phone" class="form-control" placeholder="Phone Number" required><br>
                                            <input type="text" name="ref" class="form-control" placeholder="Referrer ID" required><br>

                                            Select desired training location
                                            <select class="form-control" name="location" required>
                                            <option value="">Select Location</option>
                                            <?php $location = explode(';', sqLx('training','sn',$t1,'locations'));
                                            $count = count($location);
                                            $i = 0;
                                            while($i<$count){ $e=$i++ ?>
                                                <option><?php echo $location[$e] ?></option>
                                            <?php } ?>
                                        </select>
                                        <br>
                                        <button name="RegisterTrainVisit" class="btn-block btn btn-primary"> SUBMIT</button>
                                        <br><br>
                                    </form>
                   
               </div>
            </div>
        </div>
    </div>
</form>


    <!-- JS Global Compulsory (Do not remove)-->
    <script src="js/jquery-3.4.1.min.js"></script>
    <script src="js/popper/popper.min.js"></script>
    <script src="js/bootstrap/bootstrap.min.js"></script>

    <!-- Page JS Implementing Plugins (Remove the plugin script here if site does not use that feature)-->
    <script src="js/jquery.appear.js"></script>
    <script src="js/counter/jquery.countTo.js"></script>
    <script src="js/owl-carousel/owl.carousel.min.js"></script>
    <script src="js/jarallax/jarallax.min.js"></script>
    <script src="js/jarallax/jarallax-video.min.js"></script>
    <script src="js/magnific-popup/jquery.magnific-popup.min.js"></script>
    <script src="js/horizontal-timeline/horizontal-timeline.js"></script>
    <script src="js/shuffle/shuffle.min.js"></script>

    <!-- Template Scripts (Do not remove)-->
    <script src="js/custom.js"></script>
  </body>

<!-- Mirrored from themes.potenzaglobalsolutions.com/html/hi-soft/contact.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 30 Jul 2020 16:25:43 GMT -->
</html>

?>