Your IP : 3.137.170.38


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

<?php
session_start();
include("profile/library/constant.php");
 function userName($id,$col='')
    {
        global $db;
        $que = $db->query("select * FROM user WHERE id = '$id' ") or die(mysqli_error());
        $ro = mysqli_fetch_array($que);
        $val = ($col == '')?$ro['firstname'] . ' ' . $ro['lastname']:$ro[$col];
        return $val;
    }
?>

<!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>Testimonials</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') ?>
    <!--=================================
    header -->

    <!--=================================
    inner banner -->
    <section class="header-inner bg-overlay-black-50" style="background-image: url('images/header-inner/01.jpg');">
      <div class="container">
        <div class="row d-flex justify-content-center">
          <div class="col-md-8">
            <div class="header-inner-title text-center">
              <h1 class="text-white font-weight-normal">Testimonials</h1>
              <p class="text-white mb-0">Global Impacts of Covis Club. An overview of some of the testimonies from Covis Club Members</p>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!--=================================
    inner banner -->

    <!--=================================
    Blog -->
    <section class="space-ptb">
      <div class="container">
        <div class="row">  <?php $sql = $db->query("SELECT * FROM testimony WHERE status=1 AND type=2 ORDER BY sn DESC LIMIT 50"); $i = 0; 
       while($row = $sql->fetch_assoc()){ $i +=1;  //$status = ($row['status']==0)?'Pending':'Approved';
       //$link = $row['type']==1 ? '<img src="profile/news/'.$row['link'].'" width="100%">' : $row['link'] ;
                                        ?>

                    <div class="col-xl-6 col-lg-6 col-sm-8 col-md-6">
                        <div class="single-plan">
                           <div class="part-price" style="background-color: red">
                               <h4 style="color: #FFF"><?php echo userName($row['id']) ?></h4>
                            </div> 
                            
                          
                            <?php echo    '<iframe width="100%" height="480" src="https://www.youtube.com/embed/'.$row['link'].'" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>' ?><br><?php echo $row['note'] ?>
                           
                           
                        </div>
                    </div>

                <?php } ?>

                 <?php $sql = $db->query("SELECT * FROM testimony WHERE status=1 AND type=1 ORDER BY sn DESC LIMIT 50"); $i = 0; 
       while($row = $sql->fetch_assoc()){ $i +=1;  $status = ($row['status']==0)?'Pending':'Approved';
       $link = '<img src="profile/news/'.$row['link'].'" width="100%">'  ;
                                        ?>

                    <div class="col-xl-4 col-lg-4 col-sm-8 col-md-4">
                        <div class="single-plan">
                           <div class="part-price" style="background-color: red">
                                <h4 style="color: #FFF"><?php echo userName($row['id']) ?></h4>
                            </div> 
                            
                          
                               <?php echo $link ?><br><?php echo $row['note'] ?>
                           
                           
                        </div>
                    </div>

                <?php } ?>
        </div>
       
      </div>
    </section>
    <!--=================================
    Blog -->

    <!--=================================
    Action Box -->
    <section class="space-pb dark-background">
      <div class="container">
        <div class="bg-dark text-center rounded py-5 px-3">
          <h2 class="text-white">Are you seeking to have sustainable financial freedom?</h2>
          <h6 class="text-white">CCI is the right place, where you get concentrated mentorship that can guarantee your continuous cash flow!</h6>
          <a href="#" class="btn btn-primary-round btn-round mx-0 mx-md-3 text-white">Let’s Get Started<i class="fas fa-arrow-right pl-3"></i></a>
        </div>
      </div>
    </section>
    <!--=================================
    Action Box -->

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



    <!--=================================
    Javascript -->

    <!-- 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>
    <script src="js/shuffle/shuffle.min.js"></script>

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

  </body>


</html>

?>