<?php

use App\Models\Category;
use App\Models\Deals;
use App\Models\DealTypes;
use App\Models\Vendor;
use App\Models\Slider;

$categories = Category::orderBy('name')->get();

$cat1 = Category::where('id',$landing->category_one)->first();
$cat2 = Category::where('id',$landing->category_two)->first();
$cat3 = Category::where('id',$landing->category_three)->first();
$cat4 = Category::where('id',$landing->category_four)->first();
$cat5 = Category::where('id',$landing->category_five)->first();
$cat6 = Category::where('id',$landing->category_six)->first();
$cat7 = Category::where('id',$landing->category_seven)->first();
$cat8 = Category::where('id',$landing->category_eight)->first();
$cat9 = Category::where('id',$landing->category_nine)->first();

$cat1_image = $landing->category_one_image;
$cat2_image = $landing->category_two_image;
$cat3_image = $landing->category_three_image;
$cat4_image = $landing->category_four_image;
$cat5_image = $landing->category_five_image;
$cat6_image = $landing->category_six_image;
$cat7_image = $landing->category_seven_image;
$cat8_image = $landing->category_eight_image;
$cat9_image = $landing->category_nine_image;






$dealtypes = DealTypes::all();

$sliders_no = 0;
$slide='';
$slider = Slider::all();
if(count($slider)>0)
{
$sliders_no = 1;
    $slide = Slider::where('id','1')->first();
}
else
{
    $sliders_no = 0;
}




?>




<?php $__env->startSection('content'); ?>

		<!--EndSearch-->

		<div class="section mt-4">
		    <div class="container">
		        <div class="row">
		            <div class="col-12">
		                <!-- Section Title Start -->
		                <div class=" location_border text-center">
		                    <div class="event-entry-meta" style="text-align: left;">
                                <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
		                        <div class="meta-item">
                                    <?php
                                    $cat = json_decode($category->name);
                                    ?>
		                            <a href="/category/<?php echo e($category->id); ?>" style="margin:4px 0px;"><span class="meta_bg_gold"><?php echo e($cat->en); ?></span></a>
		                        </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
		                    </div>
		                </div>
		                <!-- Section Title End -->
		            </div>
		        </div>
		    </div>
		</div>

 		<!-- Slider/Intro Section Start -->
        <div class="intro9-section section" data-bg-color="#282828">

            <div class="container-fluid">
                <div class="row align-items-center">

                    <!-- Intro One Content Start -->
                    <div class="col-lg-6 col-md-6">
                        <div class="intro9-content text-center text-md-left">
                            
                            <span class="sub-title handwritting gold">
                                
                                Inspired By Deals
                               
                            </span>
                           
                            <h2 class="title bold_text font_48 white" style="text-transform: inherit;">
                                <?php if($landing->slider_section_title): ?>
                                <?php
                                $title = json_decode($landing->slider_section_title);
                                ?>
                                
                                <?php if( count((array)$title) > 1): ?>
                                <?php echo e($title->en); ?>

                                <?php else: ?>
                                Get More Value<br>For Your Money
                                <?php endif; ?>
                                
                                <?php else: ?>
                                Get More Value<br>For Your Money
                                <?php endif; ?>
                            </h2>
                            <div class="desc">
                                <p class="urban white font_16">
                                <?php if($landing->slider_section_caption): ?>
                                
                                <?php
                                $caption = json_decode($landing->slider_section_caption);
                                ?>
                                
                                <?php if( count((array)$caption) > 1): ?>
                                <?php echo e($caption->en); ?>

                                <?php else: ?>
                                    Purchase Tiger Tokens to get 10% instant bonus tokens and freedom to spend across multiple vendors in Dar!
                                <?php endif; ?>
                                
                                
                                <?php else: ?>
                                    Purchase Tiger Tokens to get 10% instant bonus tokens and freedom to spend across multiple vendors in Dar!
                                <?php endif; ?>
                                    </p>
                            </div>
                            
                            <?php
                            $reg_label = json_decode($landing->register_link_label);
                            $register_link=$landing->register_link;
                            $hiw_link = $landing->how_it_works_link;
                            $hiw_label = json_decode($landing->how_it_works_link_label);
                            ?>
                            
                            <div class="row">
                                <?php
                                /*
                                <div class="col-6">
                                    <a href="#register_users" class="btn btn-gold" style="width:100%"><b>
                                        @if( count((array)$reg_label) > 1)
                                        {{$reg_label->en}}
                                        @else
                                        REGISTER
                                        @endif
                                        </b></a>
                                </div>
                                */
                                ?>
                                
                                <div class="col-12">
                                    <a href="<?php echo e($hiw_link); ?>" class="about-me-video video-popup">
                                        <button  class="btn btn-gold-cut" style="width:100%"><b>
                                        <?php if( count((array)$hiw_label) > 1): ?>
                                        <?php echo e($hiw_label->en); ?>

                                        <?php else: ?>
                                        HOW IT WORKS
                                        <?php endif; ?>
                                            
                                            </b></a>
                                    </a>
                                </div>
                            
                            </div>
                            
                            
                        </div>
                    </div>
                    <!-- Intro One Content End -->

                    <!-- Intro One Course Start -->
                    <div class="col-lg-6 col-md-6" >
                        <!-- Intro Image Start -->
                        <!-- <div class="intro9-image-wrap" style="width:fit-content" > -->
                            <div class="intro9-image-wrap wrap_slider" style="width:544px" >
                            <div class="intro9-image gold_bg_slide">
                               <?php if($sliders_no==1): ?>
                               <div class="single-item">
                               <?php $__currentLoopData = $slider; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slidee): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                               <?php
                               $title = json_decode($slidee->tagline);
                               $caption = json_decode($slidee->caption);
                               ?>
                               <div>
                                    <div>
                                        <img class="img_3_4"src="https://tigeradmin.testing.co.tz<?php echo e($slidee->image); ?>" alt="">
                                    </div>
                                     <div class="pad_32">
                                        	<p class="bold_text font_24 black mb-0"><?php echo e($title->en); ?></p>
                                        	<p class="urban black font_16"><?php echo e($caption->en); ?></p>
                                    </div>
                                </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                                <?php else: ?>
                                <div class="single-item">
                                    <div>
                                        <div>
                                            <img class="img_3_4"src="/assets/images/tiger/slider_1.png" alt="">
                                        </div>
                                         <div class="pad_32">
                                            	<p class="bold_text font_24 black mb-0">Trending Deal</p>
                                            	<p class="urban black font_16">Woolworth, 30% Sale</p>
                                        </div>
                                    </div>
                                </div>
                                
                                
                                
                                <?php endif; ?>
                            </div>
                        </div>
                        <!-- Intro Image End -->
                    </div>
                    <!-- Intro One Course End -->

                </div>
            </div>

        </div>
        <!-- Slider/Intro Section End -->


        <!-- Register Section Start -->
        <div class="event-section section section-padding" id="register_users">
            <div class="container">

                <div class="row row-cols-lg-2 row-cols-1 max-mb-n30"  >

                    <div class="col max-mb-30">
                        <div class="register-box black_bg">
                            <div class="row register_block">
                                <div class="col-lg-5 col-md-12">
                                    <img class="image_block" src="/assets/images/tiger/user_reg.png" alt="">
                                </div>
                                <div class="col-lg-7 col-md-12" style="padding:16px">
                                	<div>
                                        <h3 class="font_18 bold_text white mt-4 mb-2"><?php echo e($landing->register_account_label); ?></h3>
                                        <p class="desc urban_light white mb-4"><?php echo e($landing->register_account_caption); ?></p>
                                    </div>
                                    <div class="row">
                                        <?php if($landing->google_play_store_link): ?>
                                        <a class="col-6"href="<?php echo e($landing->google_play_store_link); ?>">
                                        <?php else: ?>
                                        <a class="col-6"href="">
                                        <?php endif; ?>
                                            <img src="/assets/images/tiger/android_white.png" alt="">
                                        </a>
                                        
                                        <?php if($landing->google_play_store_link): ?>
                                        <a class="col-6"href="<?php echo e($landing->apple_store_link); ?>">
                                        <?php else: ?>
                                        <a class="col-6"href="">
                                        <?php endif; ?>
                                            <img src="/assets/images/tiger/app_white.png" alt="">
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col max-mb-30">
                        <div class="register-box gold_bg">
                            <div class="row register_block">
                                <div class="col-lg-5 col-md-12">
                                    <img class="image_block" src="/assets/images/tiger/vendor.png" alt="">
                                </div>
                                <div class="col-lg-7 col-md-12" style="padding:16px">
                                    <div>
                                        <h3 class="font_18 bold_text black mt-4 mb-2"><?php echo e($landing->register_vendor_label); ?></h3>
                                        <p class="desc urban_light black mb-4"><?php echo e($landing->register_vendor_account_caption); ?></p>
                                    </div>
                                    <div class="row">
                                        <?php if($landing->google_play_store_link): ?>
                                        <a class="col-6"href="<?php echo e($landing->google_play_store_link); ?>">
                                        <?php else: ?>
                                        <a class="col-6"href="">
                                        <?php endif; ?>
                                            <img src="/assets/images/tiger/g_play.png" alt="">
                                        </a>
                                        
                                        <?php if($landing->google_play_store_link): ?>
                                        <a class="col-6"href="<?php echo e($landing->apple_store_link); ?>">
                                        <?php else: ?>
                                        <a class="col-6"href="">
                                        <?php endif; ?>
                                            <img src="/assets/images/tiger/apple_store.png" alt="">
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>


            </div>
        </div>
        <!-- Register Section End -->


        <!-- Featured Section Start -->
        <div class="section padbtm_36">
            <div class="container">

                <!-- Course Top Bar Start -->
                <div class="row justify-content-between align-items-center max-mb-20">
                    <div class="col-12 max-mb-10">
                        <h3 class="font_24 bold_text white" style="display: inline;">Featured Deals</h3>
                        <a href="/deals/viewall/1" class="result-count urban font_18 gold" style="display: inline; margin-left: 2em;">View All</a>
                    </div>
                </div>
                <!-- Course Top Bar End -->

                <!-- Deal Wrapper Start -->
                <div class="row max-mb-30">

                    <?php
                    $deal_type = DealTypes::where('id','1')->first();
                    $deals = Deals::where('dealtypeid',$deal_type->id)->paginate(4);

                    ?>

                    <?php $__currentLoopData = $deals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $featured_deal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                    $vendorr = Vendor::where('id',$featured_deal->vendorid)->first();
                    ?>
                    <!-- Deal Start -->
                    <div class="col-lg-3 col-md-6 max-mb-30 mob_50w" >
                        <div class="deal">
                            <div class="thumbnail">
                                <a href="/vendor/<?php echo e($vendorr->id); ?>" class="image">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($featured_deal->featured_image); ?>" class="vendor_image"  alt="<?php echo e($vendorr->name); ?>"></a>
                            </div>
                            <div>
                                <h3 class="title white font_18 mt-4 mb-0"><a href="/vendor/<?php echo e($vendorr->id); ?>"><?php echo e($vendorr->name); ?></a></h3>
                                <p class="meta urban_light white"><?php echo e($vendorr->address); ?></p>
                            </div>
                        </div>
                    </div>
                    <!-- Deal End -->
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- Featured Section End -->

         <!-- Hero Images Section Start -->
        <div class="section section-padding-bottom">
            <div class="container">


                <!-- Deal Wrapper Start -->
                <div class="row max-mb-n30">

                    <!-- Deal Start -->
                    <div class="col-lg-6 col-sm-12 max-mb-30" >
                        <?php if($cat1): ?>
                        <?php
                        $name = json_decode($cat1->name);
                        ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/<?php echo e($cat1->id); ?>">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($cat1_image); ?>" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/<?php echo e($cat1->id); ?>/"><?php echo e($name->en); ?></a></a></h3>
                                </div>
                            </div>
                        </div>
                        <?php else: ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/food.png" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                        
                        <?php if($cat2): ?>
                        <?php
                        $name = json_decode($cat2->name);
                        ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/<?php echo e($cat2->id); ?>">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($cat2_image); ?>" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/<?php echo e($cat2->id); ?>"><?php echo e($name->en); ?></a></a></h3>
                                </div>
                            </div>
                        </div>
                        <?php else: ?>
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/spa.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                    </div>
                    <!-- Deal End -->

                    <!-- Deal Start -->
                    <?php if($cat3): ?>
                        <?php
                        $name = json_decode($cat3->name);
                        ?>
                    
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/<?php echo e($cat3->id); ?>">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($cat3_image); ?>" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/<?php echo e($cat3->id); ?>"><?php echo e($name->en); ?></a></a></h3>
                                </div>
                            </div>
                        </div>
                        <?php else: ?>
                    <div class="col-lg-6 col-sm-12 max-mb-30" >
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/hotel.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                    </div>
                    <?php endif; ?>
                    <!-- Deal End -->


                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- Hero Images Section End -->


        <!-- Discount Deals Section Start -->
        <div class="section padbtm_36">
            <div class="container">

                <!-- Course Top Bar Start -->
                <div class="row justify-content-between align-items-center max-mb-20">
                    <div class="col-12 max-mb-10">
                        <h3 class="font_24 bold_text white" style="display: inline;">Discounted Deals</h3>
                        <a href="/deals/viewall/4" class="result-count urban font_18 gold" style="display: inline; margin-left: 2em;">View All</a>
                    </div>
                </div>
                <!-- Course Top Bar End -->

                <!-- Deal Wrapper Start -->
                <div class="row max-mb-n30">

                    <?php
                    $deal_type = DealTypes::where('id','4')->first();
                    $deals = Deals::where('dealtypeid',$deal_type->id)->paginate(4);

                    ?>

                    <?php $__currentLoopData = $deals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $deal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                    $vendorr = Vendor::where('id',$deal->vendorid)->first();
                    ?>

                    <!-- Deal Start -->
                    <div class="col-lg-3 col-sm-6 max-mb-30 mob_50w">
                        <div class="deal">
                            <div class="thumbnail">
                                <a href="/vendor/<?php echo e($vendorr->id); ?>" class="image">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($deal->featured_image); ?>" class="vendor_image" alt="<?php echo e($vendorr->name); ?>"></a>
                            </div>
                            <div>
                                <?php
                                $deal_name = json_decode($deal->name);
                                ?>
                                <p class="meta urban_bold gold mb-0"><?php echo e($deal_name->en); ?></p>
                                <h3 class="title white font_18 mb-0"><a href="/vendor/<?php echo e($vendorr->id); ?>"><?php echo e($vendorr->name); ?></a></h3>
                                <p class="meta urban_light white"><?php echo e($vendorr->address); ?></p>
                            </div>
                        </div>
                    </div>
                    <!-- Deal End -->

                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- Discount Deals End -->

         <!-- Hero Images Section Start -->
        <div class="section section-padding-bottom">
            <div class="container">


                <!-- Deal Wrapper Start -->
                <div class="row max-mb-n30">
                     <!-- Deal Start -->
                    <div class="col-lg-6 col-sm-12 max-mb-30" >
                        <?php if($cat4): ?>
                        <?php
                        $name = json_decode($cat4->name);
                        ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/<?php echo e($cat4->id); ?>">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($cat4_image); ?>" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/<?php echo e($cat4->id); ?>"><?php echo e($name->en); ?></a></a></h3>
                                </div>
                            </div>
                        </div>
                        <?php else: ?>
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/medicine.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                    </div>
                    <!-- Deal End -->


                    <!-- Deal Start -->
                    <div class="col-lg-6 col-sm-12 max-mb-30" >
                        <?php if($cat5): ?>
                        <?php
                        $name = json_decode($cat5->name);
                        ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/<?php echo e($cat5->id); ?>">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($cat5_image); ?>" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/<?php echo e($cat5->id); ?>"><?php echo e($name->en); ?></a></a></h3>
                                </div>
                            </div>
                        </div>
                        <?php else: ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/boutique.png" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                        
                        
                        <?php if($cat6): ?>
                        
                        <?php
                        $name = json_decode($cat6->name);
                        ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/<?php echo e($cat6->id); ?>">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($cat6_image); ?>" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/<?php echo e($cat6->id); ?>"><?php echo e($name->en); ?></a></a></h3>
                                </div>
                            </div>
                        </div>
                        <?php else: ?>
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/grocery.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                    </div>
                    <!-- Deal End -->

                   


                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- Hero Images Section End -->


        <!-- New Deals Section Start -->
        <div class="section padbtm_36">
            <div class="container">

                <!-- Course Top Bar Start -->
                <div class="row justify-content-between align-items-center max-mb-20">
                    <div class="col-12 max-mb-10">
                        <h3 class="font_24 bold_text white" style="display: inline;">New Deals</h3>
                        <a href="/deals/viewall/5" class="result-count urban font_18 gold" style="display: inline; margin-left: 2em;">View All</a>
                    </div>
                </div>
                <!-- Course Top Bar End -->

                <!-- Deal Wrapper Start -->
                <div class="row max-mb-n30">

                    <?php
                    $deal_type = DealTypes::where('id','5')->first();
                    $deals = Deals::where('dealtypeid',$deal_type->id)->paginate(4);

                    ?>

                    <?php $__currentLoopData = $deals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $deal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                    $vendorr = Vendor::where('id',$deal->vendorid)->first();
                    ?>

                    <!-- Deal Start -->
                    <div class="col-lg-3 col-sm-6 max-mb-30 mob_50w" >
                        <div class="deal">
                            <div class="thumbnail">
                                <a href="/vendor/<?php echo e($vendorr->id); ?>" class="image">
                                    <img src="https://tigeradmin.testing.co.tz/<?php echo e($deal->featured_image); ?>" class="vendor_image" alt="<?php echo e($vendorr->name); ?>"></a>
                            </div>
                            <div>
                                <?php
                                $deal_name = json_decode($deal->name); 
                                ?>
                                <p class="meta urban_bold gold mb-0"><?php echo e($deal_name->en); ?></p>
                                <h3 class="title white font_18 mb-0"><a href="/vendor/<?php echo e($vendorr->id); ?>"><?php echo e($vendorr->name); ?></a></h3>
                                <p class="meta urban_light white"><?php echo e($vendorr->address); ?></p>
                            </div>
                        </div>
                    </div>
                    <!-- Deal End -->

                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- New Deals Section End -->

          <!-- Hero Images Section Start -->
        <div class="section section-padding-bottom">
            <div class="container">


                <!-- Deal Wrapper Start -->
                <div class="row max-mb-n30">

                    <!-- Deal Start -->
                    <div class="col-lg-6 col-sm-12 max-mb-30" data-aos="fade-up">
                        <?php if($cat7): ?>
                        <?php
                        $name = json_decode($cat7->name);
                        ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/<?php echo e($cat7->id); ?>">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($cat7_image); ?>" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/<?php echo e($cat7->id); ?>"><?php echo e($name->en); ?></a></a></h3>
                                </div>
                            </div>
                        </div>
                        <?php else: ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/travel.png" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                        
                        
                        <?php if($cat8): ?>
                        <?php
                        $name = json_decode($cat8->name);
                        ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/<?php echo e($cat8->id); ?>">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($cat8_image); ?>" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/<?php echo e($cat8->id); ?>"><?php echo e($name->en); ?></a></a></h3>
                                </div>
                            </div>
                        </div>
                        <?php else: ?>
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/market.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                    </div>
                    <!-- Deal End -->

                    <!-- Deal Start -->
                    <div class="col-lg-6 col-sm-12 max-mb-30" data-aos="fade-up">
                        <?php if($cat9): ?>
                        <?php
                        $name = json_decode($cat9->name);
                        ?>
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/<?php echo e($cat9->id); ?>">
                                    <img src="https://tigeradmin.testing.co.tz<?php echo e($cat9_image); ?>" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/<?php echo e($cat9->id); ?>"><?php echo e($name->en); ?></a></a></h3>
                                </div>
                            </div>
                        </div>
                        <?php else: ?>
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/bar.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                    </div>
                    <!-- Deal End -->


                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- Hero Images Section End -->

<?php $__env->stopSection(); ?>
<?php echo $__env->make('mobile_mainlayout_landing', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/sampleco/tiger.testing.co.tz/resources/views/web/mobile/landing_db.blade.php ENDPATH**/ ?>