 <?php  
require 'admin/config/function.php';
$abt=mysqli_query($conn,"select * from cms_menu where page_url='home'");
$abt1=mysqli_fetch_assoc($abt);
?>
<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="utf-8">
  <title><?=$abt1['page_title']?></title>
  <meta name="description" content="<?=$abt1['message']?>">
  <link rel="canonical" href="<?=base_url()?>">
  <meta name="author" content="">

  <!-- OG Title -->
  <meta name="og_title" property="og:title" content="<?=$abt1['page_title']?>" />
  <meta name="og_description" property="og:description" content="<?=$abt1['message']?>" />
  <meta name="og_url" property="og:url" content="<?=base_url()?>"/> 
  <meta name="og_type" property="og:type" content="website" />
  <meta name="og_site_name" property="og:site_name" content="SITENAME" />
  <meta name="twitter:card" property="twitter:card" content="summary" />
  <meta name="twitter:url" property="twitter:url" content="PAGE-URL" />
  <meta name="twitter:site" property="twitter:site" content="@SITENAME" />
  <meta name="twitter:title" property="twitter:title" content="PAGE-TITLE" />
  <meta name="twitter:description" property="twitter:description" content="DESCRIPTION-HERE" />
  <meta name="og_image" property="og:image" content="IMAGE-URL" />
  <meta name="msapplication-TileImage" content="IMAGE-URL"/>
  <meta property="og:image:type" content="image/jpeg" />
  <meta name="twitter:image" property="twitter:image" content="IMAGE-URL" />
  <!-- OG Title -->

  <meta name="viewport" content="width=device-width, initial-scale=1">
 
  <link rel="icon" type="image/x-icon" href="image/fav.png">
  <link href="https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css">
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
  <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>

  <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css'>
  <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.5.9/slick-theme.min.css'>


  <link rel="stylesheet" href="<?=base_url()?>style.css">
        
<script>
$(window).scroll(function(){
    if ($(this).scrollTop() > 50) {
       $('#headerdown').addClass('newClass');
    } else {
       $('#headerdown').removeClass('newClass');
    }
});    
</script>
    
</head>
<body>
<?php include'header.php'; ?>
<div id="carouselExampleCaptions" class="carousel slide">
 
  <div class="carousel-inner">
      <?php 

$title='homeslider';
$condi=array();
$banners=get_data('banner',$condi,'=');


foreach($banners as $banner)
{
if(!empty($banner['image']))
{
$banner_image= admin_base_url().'uploads/banner/'. $banner['image'];
}else{
$banner_image="";
}
// print_r($banner);

?>
    <div class="carousel-item active">
      <img src="<?php echo $banner_image;?>" class="d-block w-100" alt="...">
            <div class="masthead-wrapper">
        <div class="hero-heading">
          <h1 class="homepage-title"><?=$banner['title']?>
            <span class="highlight top-text"><?=$banner['line1']?></span>
            <br> <?=$banner['line2']?>
            <span class="highlight"><?=$banner['content']?></span>
          </h1>
    </div>
  </div>
    </div>
    <?php } ?>
    
 
  </div>
  <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="prev">
    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    <span class="visually-hidden">Previous</span>
  </button>
  <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="next">
    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    <span class="visually-hidden">Next</span>
  </button>
</div>
<!-- Start Hero (Banner) -->
 

<!-- End Hero (Banner) -->
 
<!-- Start Businesses -->
<section class="second businesses pt-30 pb-30">
  <div class="container">
      <div class="business-heading text-center">
        <h1>our businesses</h1>
      </div>

    <div class="wrapper pt-30">
  <div class="my-slider">
    <?php 
     $Businesses=mysqli_query($conn,"select * from tbl_certificates where status='1'");
     while ($row=mysqli_fetch_assoc($Businesses)) {?>
   
      <div class="main-sliding-card">
        <div class="businesses-logo text-center">
            <center><img src="<?=admin_base_url().'uploads/logo/'.$row['image']?>" class="img-reponsive logo-responsive" alt="<?=$row['heading']?>"></center>
        </div>
        <div class="businesses-name">
          <h3><?=$row['heading']?></h3>
        </div>
        <div class="businesses-text">
          <p><?=$row['short_des']?></p>
        </div>
        <div class="businesses-ditals-page-button">
            <a href="<?=$row['link']?>" target="_blank"><i class="btn btn-primary">Learn More</i></a>
        </div>
      </div>
      <?php     
     }
    ?>
   
      
    </div>
  </div>
    </div>
</section>
<!-- End Businesses -->
 <?php  
 
$abt1=mysqli_query($conn,"select * from cms_menu where page_url='career'");
$abt11=mysqli_fetch_assoc($abt1);
?>

<!-- Start Career -->
<section class="career text-center pt-50 pb-50">
  <div class="container">
      <div class="home-career">
        <h1><?=$abt11['youtube_url']?></h1>
        <p><?=$abt11['sort_description']?></p>
        <div class="businesses-ditals-page-button">
            <a href="career.php"><i class="btn btn-primary">Learn More</i></a>
        </div>
      </div>
  </div>
</section>  

<!-- End Career -->


 <?php  
 
$about=mysqli_query($conn,"select * from cms_menu where page_url='about-us'");
$row=mysqli_fetch_assoc($about);
?>

<!-- start about Career -->
<section class="home-about pt-30 pb-50">
    <div class="container">
      <div class="row">
          <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
            <div class="image-about-home">
                <img src="image/about-image-2.png" class="img-reponsive h-about-img" alt="">
            </div>
          </div>
          <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
              <div class="text-about pt-30">
                  <h2><?=$row['youtube_url']?></h2>
                  <?=substr($row['sort_description'],0,500)?>..
                  <div class="businesses-ditals-page-button">
                      <a href="about-us.php"><i class="btn btn-primary">Learn More</i></a>
                  </div>          
              </div>
          </div>
      </div>
    </div>
</section>
<!-- End about Career -->

<!-- Stat news & events -->
<section class="new-event pt-50 pb-50">
    <div class="container">
      <div class="row">

        <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
          <div class="news-events">
            <h2>Good Reads & Blogs</h2>
            <p>Read the informative blogs and get useful insights.</p>
            <div class="businesses-ditals-page-button">
               <a href="news-media.php"><i class="btn btn-primary">View all event</i></a>
            </div>          
          </div>
        </div>

        <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
          <div class="news-list">
            <ul>
              <li><a href="#"><img src="image/heor.jpg" class="img-reponsive newsimage"> Technology that empowers you &nbsp;&nbsp;<i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>
              <li><a href="#"><img src="image/heor.jpg" class="img-reponsive newsimage"> Providing Comprehensive It Solutions &nbsp;&nbsp;<i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>
              <li><a href="#"><img src="image/heor.jpg" class="img-reponsive newsimage"> Lorem Ipsum is simply dummy text &nbsp;&nbsp;<i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>
              <li><a href="#"><img src="image/heor.jpg" class="img-reponsive newsimage"> Lorem Ipsum is simply dummy text &nbsp;&nbsp;<i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>
              <li><a href="#"><img src="image/heor.jpg" class="img-reponsive newsimage"> Lorem Ipsum is simply dummy text &nbsp;&nbsp;<i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>
              <li><a href="#"><img src="image/heor.jpg" class="img-reponsive newsimage"> Lorem Ipsum is simply dummy text &nbsp;&nbsp;<i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>
              <li><a href="#"><img src="image/heor.jpg" class="img-reponsive newsimage"> Lorem Ipsum is simply dummy text &nbsp;&nbsp;<i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>
              <li><a href="#"><img src="image/heor.jpg" class="img-reponsive newsimage"> Lorem Ipsum is simply dummy text &nbsp;&nbsp;<i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>
              <li><a href="#"><img src="image/heor.jpg" class="img-reponsive newsimage"> Lorem Ipsum is simply dummy text &nbsp;&nbsp;<i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>
              <li><a href="#"><img src="image/heor.jpg" class="img-reponsive newsimage"> Lorem Ipsum is simply dummy text &nbsp;&nbsp;<i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>
            </ul>
          </div>
        </div>
      </div>
    </div>
</section>
<!-- End news & events -->


<!-- Start customer reviews & Faq's -->

<section class="customer-review-f">
    <div class="container">
      <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 pb-50 pt-50">
            <div class="customer-review-h">
              <h2>Our Clients Reviews </h2>
              <p>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
              
            </div>

            <div class="wrapper pt-30 card-reivew">
              <div class="my-slider-review">
                <?php 
                    $test=mysqli_query($conn,"select * from tbl_testimonial where category='testimonial'");
                    while ($row=mysqli_fetch_assoc($test)) {?>
                  
                  <div class="slider-review">
                    <center>
                      <img src="<?=admin_base_url().'uploads/testimonial/'.$row['image']?>" class="img-reponsive customer-image" alt="">
                      <h5 class="pt-30"><?=$row['title']?></h5>
                      <p><em><?=$row['line1']?></em></p>
                      <p><?=$row['content']?></p>
                    </center>
                  </div>
                    <?php }?>
 



              </div>
            </div>
        </div>
        <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6" style="background-color:#fff; padding: 50px 0px 50px 50px;">
            <div class="faq-home">
              <h2>Company Certificate</h2>
              <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
               <div class="my-slider-review">
                 <div class="my-slider-review">
                <?php 
                    $test=mysqli_query($conn,"select * from gallery where category='Certificate'");
                    while ($row=mysqli_fetch_assoc($test)) {?>
                  
                  <div class="slider-review">
                     <img src="<?=admin_base_url().'uploads/gallery/'.$row['image']?>" width="100%">
                  </div>
                    <?php }?>
 



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

<!-- End customer reviews & Faq's -->
<?php include'footer.php'; ?>