| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/b2c.hellogtx.com/application/sites/flynwander/index/ |
Upload File : |
<?php
if (!empty($this->happycustomeronhome)) {
?>
<style>
.happy-customerss img {
min-height: 300px;
height: 300px;
object-fit: cover;
border-radius: 10px;
}
.play-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.play-icon i {
font-size: 70px;
color: #fff;
text-shadow: 1px 0 6px rgb(0 0 0 / 30%);
opacity: .8;
}
</style>
<section class="happy-cutomers">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="hc">
<h3>
<?php if (trim($this->homeContentdata['happycustomerTitle'] !== "")) {
echo $this->homeContentdata['happycustomerTitle'];
}
?>
</h3>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="our-happy-customers">
<div class="owl-carousel mt-5 happy-customerss owl-nav2">
<?php
foreach ($this->happycustomeronhome as $Key => $Val) {
// echo "<pre>";print_r($Val); die;
$displayOnHome = $Val['displayOnHome'];
?>
<div>
<div class="package-wrap">
<figure>
<a data-fancybox="video-gallery" href="<?php echo str_replace("https://www.youtube.com/watch?v=","https://www.youtube.com/embed/",$Val['url']) ?>?controls=1&t=31s&loop=1&playlist=<?php echo str_replace("https://www.youtube.com/watch?v=","",$Val['url']) ?>&autoplay=1&mute=1" allow="autoplay">
<?php if (trim($Val['image']) != '') { ?>
<source media="(min-width:980px)" srcset="public/upload/<?php echo $this->stylecss; ?>/happycustomer/<?php echo $Val['id']; ?>/large/<?php echo $Val['image'] ?>">
<source media="(min-width:400px)" srcset="public/upload/<?php echo $this->stylecss; ?>/happycustomer/<?php echo $Val['id']; ?>/medium/<?php echo $Val['image'] ?>">
<img src="public/upload/<?php echo $this->stylecss; ?>/happycustomer/<?php echo $Val['id']; ?>/small/<?php echo $Val['image'] ?>" title="" alt="" border="0">
<div class="play-icon">
<i class="fa fa-play-circle"></i>
</div>
<?php } else { ?>
<img src="public/image/no-image.jpg">
<?php } ?>
</a>
</figure>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</section>
<?php }
?>