first commit
This commit is contained in:
26
resources/views/shortcodes/visaposts.blade.php
Normal file
26
resources/views/shortcodes/visaposts.blade.php
Normal file
@ -0,0 +1,26 @@
|
||||
<div class="swiper-container mid-slider items" data-perview="3">
|
||||
|
||||
<div class="swiper-wrapper">
|
||||
<?php
|
||||
if (isset($branch)) {
|
||||
if ($branch != "all") {
|
||||
$Testi = CCMS::getVisasByBranchAlias($branch);
|
||||
} else {
|
||||
$Testi = CCMS::getVisas();
|
||||
}
|
||||
} else {
|
||||
$Testi = CCMS::getVisas();
|
||||
}
|
||||
foreach ($Testi as $testimo) : ?>
|
||||
<div class="swiper-slide slide-center item">
|
||||
<div class="row card">
|
||||
<div class="col-12 txt-p-cntr">
|
||||
<img src="<?php echo site_url($testimo->image); ?>" alt="<?php echo $testimo->title; ?>" class="img-responsive" />
|
||||
<h6><?php echo $testimo->title; ?></h6>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user