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

  <header>
      
        <div class="container">
            <div class="content">
                <div class="row">
                    <div class="col-lg-5 balign">
                        <div class="img w-100 wow fadeInUp">
                            <img src="<?php echo e(url('')); ?>/assets/web/images/head.png" alt="">
                        </div>
                    </div>
                    <div class="col-lg-7">
                        <div class="info wow">
                            <h2> <strong> <?php echo e(__('web.pay_auction')); ?></strong> <?php echo e(__('web.allproducts')); ?></h2>
                            <p><?php echo e(__('web.home_desc')); ?></p>
                        </div>
                        <div class="form_box wow fadeIn" data-wow-delay="0.8s">
                            <div class="head_cont">
                                <ul class="nav nav-pills" id="pills-tab" role="tablist">
                                    <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li <?php if($key == '0'): ?> class="nav-item" <?php endif; ?> >
                                        <a id="pills-tab<?php echo e($row->id); ?>-tab" data-toggle="pill" href="#pills-tab<?php echo e($row->id); ?>" role="tab" aria-controls="pills-tab<?php echo e($row->id); ?>" aria-selected="true">
                                            <img src="<?php echo e(asset($row->image)); ?>" alt="">
                                        </a>
                                    </li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                           
                            <div class="tab-content" id="pills-tabContent">
                                
                                 <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                 
                                <div class="tab-pane fade <?php if($key == '0'): ?> show  active <?php endif; ?>" id="pills-tab<?php echo e($row->id); ?>" role="tabpanel" aria-labelledby="pills-tab<?php echo e($row->id); ?>-tab">
                                     <form action="<?php echo e(url(getCurrentLocale().'/item')); ?>" method="GET">
                                         <input type="hidden" name="category" value="<?php echo e($row->id); ?>">
                                    <div class="form-row">
                                        <div class="form-group col-lg-12">
                                            <h5><?php echo e(categoryname($row->id)); ?></h5>
                                            <!-- <?php $__currentLoopData = attributecheck($row->id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $attr): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <div class="d-flex">
                                                <label><?php echo e(attributename($attr->id)); ?></label>
                                                <?php $__currentLoopData = attributechoises($attr->id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $choise): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <div class="custom-control custom-checkbox mr-4">
                                                    <input type="checkbox" name="attribute[]" value="<?php echo e($choise->id); ?>" class="custom-control-input" id="customCheck<?php echo e($choise->id); ?>">
                                                    <label class="custom-control-label" for="customCheck<?php echo e($choise->id); ?>"><?php echo e(choisename($choise->id)); ?> </label>
                                                </div>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
                                                
                                            </div>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            -->
                                        </div>
                                         <?php if($row->city == '1'): ?>
                                        <div class="form-group col-lg-6">
                                            <select name="city" class="form-control">
                                               <option selected value=""><?php echo e(__('web.city')); ?></option>
                                                <?php $__currentLoopData = $cities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $city): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($city->id); ?>"><?php echo e(cityname($city->id)); ?></option>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </select>
                                        </div>
                                        <?php endif; ?>
                                        <div class="form-group col-lg-6">
                                            <select data-id="<?php echo e($row->id); ?>" name="main_model" onchange="modelselect(this)" class="form-control">
                                                 <option selected value=""><?php echo e(__('web.main_model')); ?></option>
                                                <?php $__currentLoopData = mainmodels($row->id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $model): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($model->id); ?>"><?php echo e(modelname($model->id)); ?> </option>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                
                                            </select>
                                        </div>
                                        <div id="model<?php echo e($row->id); ?>" class="form-group col-lg-6"></div>
                                        <div id="submodel<?php echo e($row->id); ?>" class="form-group col-lg-6"></div>
                                       
                                        <div class="form-group col-lg-12">
                                            <button class="butn main_bg">
                                                <span><?php echo e(__('web.search')); ?></span>
                                            </button>
                                        </div>
                                    </div>
                                    </form>
                                </div>
                                
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                
                            </div>
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>
    <main>
        <!-- ------------- sections_tabs ----------- -->
        <section class="sections_tabs">
            <div class="container">
                <div class="section-head wow fadeInUp mb-0">
                    <h2><?php echo e(__('web.categories')); ?></h2>
                </div>
                <div class="content">
                    <div class="nav nav-pills swiper_sections" id="pills-tab" role="tablist">
                        <div class="swiper-wrapper">
                             <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="nav-item swiper-slide">
                                <a id="pills-tab<?php echo e($row->id); ?>-tab" data-toggle="pill" href="#pills-tabs<?php echo e($row->id); ?>" role="tab" aria-controls="pills-tab<?php echo e($row->id); ?>" aria-selected="true">
                                    <div class="cont_head">
                                        <img src="<?php echo e(asset($row->image)); ?>" alt="">
                                        <span><?php echo e(categoryname($row->id)); ?></span>
                                    </div>
                                </a>
                            </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                        <div class="swiper_arrows">
                            <span class="slide_next"><i class="fas fa-chevron-right"></i></span>
                            <span class="slide_prev"><i class="fas fa-chevron-left"></i></span>
                        </div>
                    </div>
                    <div class="tab-content" id="pills-tabContent">
                        <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="tab-pane fade" id="pills-tabs<?php echo e($row->id); ?>" role="tabpanel" aria-labelledby="pills-tab<?php echo e($row->id); ?>-tab">
                            <div class="tab_cont">
                                <?php $__currentLoopData = mainmodels($row->id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $model): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <a href="<?php echo e(url(getCurrentLocale().'/item?category='.$row->id.'&model='.$model->id)); ?>" class="items">
                                    <div class="ico">
                                        <img src="<?php echo e(asset($model->image)); ?>" alt="">
                                    </div>
                                    <h6>
                                        <?php echo e(modelname($model->id)); ?>

                                    </h6>
                                </a>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
        </section>
        <!-- -------------- products --------------- -->
        <?php if(\Auth::user()): ?>
        <?php if(count($fav)>0): ?>
        <section class="products section-padding bg-gray">
            <div class="container">
                <div class="section-head mb-1 wow fadeInRight">
                    <h2><?php echo e(__('web.favs')); ?></h2>
                </div>
                <div class="grid_list_btn text-right wow fadeInLeft">
                    <span class="list_btn">
                        <i class="fas fa-list"></i>
                    </span>
                    <span class="grid_btn active">
                        <i class="fas fa-th-large"></i>
                    </span>
                </div>
                <div class="prod_cont  wow fadeInUp" data-wow-delay="0.2s">
                    <?php $__currentLoopData = $fav; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="prod_items">
                        <a href="<?php echo e(url(getCurrentLocale().'/item/'.$row->id)); ?>" class="img">
                            <img src="<?php echo e(asset($row->image)); ?>" alt="">
                            <div class="fav-btn">
                                <input data-id="<?php echo e($row->id); ?>" action-id="<?php echo e(url(getCurrentLocale().'/togglefav')); ?>" onclick="favtoggle(this)" <?php if(favorited($row->id)): ?> checked <?php endif; ?> type="checkbox">
                                                      
                            </div>
                           <?php if(!is_null($row->sold_id)): ?> <span class="status bg-warning">
                                <?php echo e(__('web.paid')); ?>

                            </span>
                            <?php endif; ?>
                        </a>
                        <div class="info">
                            <h6>
                                <?php echo e(productname($row->id)); ?>

                                <span>
                                    <?php echo e($row->start_cost); ?> <small><?php echo e(__('web.sar')); ?></small>
                                </span>
                            </h6>
                            <p>
                                <i class="fas fa-map-marker-alt"></i> <?php echo e(cityname($row->city_id)); ?>

                            </p>
                            <div class="by d-flex">
                                <a href="<?php echo e(url(getCurrentLocale().'/profile/'.$row->user->hanqr)); ?>">
                                <div class="imgg">
                                    <img src="<?php echo e(asset($row->user->photo)); ?>" alt="">
                                </div>
                                </a>
                                <a href="<?php echo e(url(getCurrentLocale().'/profile/'.$row->user->hanqr)); ?>">
                                <span>
                                    <?php echo e(__('web.by')); ?> :  <?php echo e($row->user->name); ?>

                                </span>
                                </a>
                            </div>
                        </div>
                    </div>
                   <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </section>
        <?php endif; ?>
        <?php endif; ?>
        <!-- -------------- products --------------- -->
        <section class="products section-padding">
            <div class="container">
                <div class="section-head mb-1 wow fadeInRight">
                    <h2><?php echo e(__('web.ads')); ?> </h2>
                </div>
                <div class="grid_list_btn text-right wow fadeInLeft">
                    <span class="list_btn">
                        <i class="fas fa-list"></i>
                    </span>
                    <span class="grid_btn active">
                        <i class="fas fa-th-large"></i>
                    </span>
                </div>
                <div class="prod_cont  wow fadeInUp" data-wow-delay="0.2s">
                      <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="prod_items">
                        <a href="<?php echo e(url(getCurrentLocale().'/item/'.$row->id)); ?>" class="img">
                            <img src="<?php echo e(asset($row->image)); ?>" alt="">
                            <div class="fav-btn">
                               <input data-id="<?php echo e($row->id); ?>" action-id="<?php echo e(url(getCurrentLocale().'/togglefav')); ?>" <?php if(\Auth::user()): ?> onclick="favtoggle(this)"  <?php if(favorited($row->id)): ?> checked <?php endif; ?> <?php else: ?> onclick="loginft(this)"  <?php endif; ?> type="checkbox">
                                 </div>
                           <?php if(!is_null($row->sold_id)): ?> <span class="status bg-warning">
                                <?php echo e(__('web.paid')); ?>

                            </span>
                            <?php endif; ?>
                        </a>
                        <div class="info">
                            <h6>
                                <?php echo e(productname($row->id)); ?>

                                <span>
                                    <?php echo e($row->start_cost); ?> <small><?php echo e(__('web.sar')); ?></small>
                                </span>
                            </h6>
                            <p>
                                <i class="fas fa-map-marker-alt"></i> <?php echo e(cityname($row->city_id)); ?>

                            </p>
                            <div class="by d-flex">
                                <a href="<?php echo e(url(getCurrentLocale().'/profile/'.$row->user->hanqr)); ?>">
                                <div class="imgg">
                                    <img src="<?php echo e(asset($row->user->photo)); ?>" alt="">
                                </div>
                                </a>
                                <a href="<?php echo e(url(getCurrentLocale().'/profile/'.$row->user->hanqr)); ?>">
                                <span>
                                    <?php echo e(__('web.by')); ?> :  <?php echo e($row->user->name); ?>

                                </span>
                                </a>
                            </div>
                        </div>
                    </div>
                   <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
                
            </div>
        </section>
       
        <!-- -------------- mazad --------------- -->
        <?php if(date("l") == settings('day')): ?>
        <section class="products section-padding bg-gray">
            <div class="container">
                <div class="section-head mb-1 wow fadeInRight">
                    <h2><?php echo e(__('web.currentauctions')); ?> </h2>
                </div>
                <div class="prod_cont">
                    <?php $__currentLoopData = $next; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="prod_items">
                        <a href="<?php echo e(url(getCurrentLocale().'/item/'.$row->id)); ?>" class="img">
                            <img src="<?php echo e(asset($row->image)); ?>" alt="">
                            
                            <span class="status live_status">
                                <div class="video__icon">
                                    <div class="circle--outer"></div>
                                    <div class="circle--inner"></div>
                                    <!-- <p>جارى </p> -->
                                  </div>
                            </span>
                        </a>
                        <div class="info">
                            <h6>
                                <?php echo e(productname($row->id)); ?>

                            </h6>
                            <p>
                                <i class="fas fa-map-marker-alt"></i> <?php echo e(cityname($row->city_id)); ?>

                            </p>
                        </div>
                        <div class="mazad_bottom_info">
                            <div class="mazad_price">
                                <p><?php echo e(__('web.start_cost')); ?></p>
                                <div class="price">
                                    <h6 class="sub_color">
                                        <span><?php echo e($row->start_cost); ?></span>
                                        <small><?php echo e(__('web.sar')); ?></small>
                                    </h6>
                                </div>
                            </div>
                            <div class="mazad_count">
                                <p><?php echo e(__('web.timetillend')); ?></p>
                                <div class="countdown show" data-Date='<?php echo e($row->date); ?> <?php echo e($row->end_time); ?>'>
                                    <div class="running">
                                        <timer>
                                            <div class="col">
                                                <span class="days"></span>
                                                <small><?php echo e(__('web.day')); ?></small>
                                            </div>
                                            <div class="col">
                                                <span class="hours"></span>
                                                <small><?php echo e(__('web.hour')); ?></small>
                                            </div>
                                            <div class="col">
                                                <span class="minutes"></span>
                                                <small><?php echo e(__('web.minute')); ?></small>
                                            </div>
                                            <div class="col">
                                                <span class="seconds"></span>
                                                <small><?php echo e(__('web.second')); ?></small>
                                            </div>
                                        </timer>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
                 <div class="text-center">
                    <a href="<?php echo e(url(getCurrentLocale().'/auctions')); ?>" class="butn main_bg mt-5"><span><?php echo e(__('web.more')); ?> </span></a>
                </div>
            </div>
        </section>
        <?php endif; ?>
        <!-- -------------- mazad --------------- -->
        <section class="products section-padding">
            <div class="container">
                <div class="section-head mb-1 wow fadeInRight">
                    <h2><?php echo e(__('web.nextauctions')); ?></h2>
                </div>
                <div class="prod_cont">
                    <?php $__currentLoopData = $auctions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="prod_items">
                        <a href="<?php echo e(url(getCurrentLocale().'/item/'.$row->id)); ?>" class="img">
                            <img src="<?php echo e(asset($row->image)); ?>" alt="">
                            
                            <span class="status bg-info text-light">
                                 <?php echo e(date('F j, Y',strtotime($date))); ?>

                            </span>
                        </a>
                        <div class="info">
                            <h6>
                                <?php echo e(productname($row->id)); ?>

                            </h6>
                            <p>
                                <i class="fas fa-map-marker-alt"></i> <?php echo e(cityname($row->city_id)); ?>

                            </p>
                        </div>
                        <div class="mazad_bottom_info">
                            <div class="mazad_price">
                                <p><?php echo e(__('web.start_cost')); ?></p>
                                <div class="price">
                                    <h6 class="sub_color">
                                        <span><?php echo e($row->start_cost); ?></span>
                                        <small><?php echo e(__('web.sar')); ?></small>
                                    </h6>
                                </div>
                            </div>
                           <div class="mazad_count">
                                <p><?php echo e(__('web.timetillstart')); ?></p>
                                <div class="countdown show" data-Date='<?php echo e($row->date); ?> <?php echo e($row->start_time); ?>'>
                                    <div class="running">
                                        <timer>
                                            <div class="col">
                                                <span class="days"></span>
                                                <small><?php echo e(__('web.day')); ?></small>
                                            </div>
                                            <div class="col">
                                                <span class="hours"></span>
                                                <small><?php echo e(__('web.hour')); ?></small>
                                            </div>
                                            <div class="col">
                                                <span class="minutes"></span>
                                                <small><?php echo e(__('web.minute')); ?></small>
                                            </div>
                                            <div class="col">
                                                <span class="seconds"></span>
                                                <small><?php echo e(__('web.second')); ?></small>
                                            </div>
                                        </timer>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
                <div class="text-center">
                    <a href="<?php echo e(url(getCurrentLocale().'/auctions')); ?>" class="butn main_bg mt-5"><span><?php echo e(__('web.more')); ?> </span></a>
                </div>
            </div>
        </section>
        <!-- -------------- dv --------------- -->
        <section class="dv section-padding">
            <div class="container">
                <div class="content">
                    <a target="_blank" href="<?php echo e($slider->link); ?>">
                    <div class="row">
                        <div class="col-lg-5 offset-lg-1">
                            <div class="info wow fadeInUp">
                                <p><?php echo e(slidername($slider->id)); ?></p>
                                <h3><?php echo e(sliderdescription($slider->id)); ?></h3>
                                <div class="prc">
                                    <span><?php echo e($slider->cost); ?> </span>
                                    <small><?php echo e(__('web.sar')); ?></small>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4">
                            <div class="img wow zoomIn">
                                <img src="<?php echo e(asset($slider->image)); ?>" alt="">
                            </div>
                        </div>
                    </div>
                    <div class="logo_y">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/logo_y.png" alt="">
                    </div>
                    <img src="<?php echo e(url('')); ?>/assets/web/images/y_adv.png" alt="" class="add_y wow">
                </div>
                </a>
            </div>
        </section>
       
        <section class="newsletter section-padding">
            <div class="container">
                <div class="content wow">
                    <div class="row">
                        <div class="col-lg-8">
                            <h6><?php echo e(__('web.sub_mail')); ?></h6>
                            <h3><?php echo e(__('web.sub_mail_desc')); ?></h3>
                            <form onsubmit="subscribedata(this)" method="post" action="<?php echo e(url(getCurrentLocale().'/subcribe')); ?>">
                                <?php echo csrf_field(); ?>
                                <div class="form-group">
                                    <input type="email" name="email" placeholder="">
                                    <button type="submit"><?php echo e(__('web.subscribe')); ?></button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal fade modal_login" id="mailsuccess" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered" role="document">
                <div class="modal-content">
                    <div class="modal-body text-center">
                        <div class="icon">
                            <img src="<?php echo e(url('')); ?>/assets/web/images/icons/checked.svg" alt="">
                        </div>
                        <h4><?php echo e(__('web.success')); ?> </h4>
                    </div>
                </div>
            </div>
        </div>
        
         <div class="modal fade modal_login" id="mailfailed" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered" role="document">
                <div class="modal-content">
                    <div class="modal-body text-center">
                        <div class="icon">
                            <img src="<?php echo e(url('')); ?>/assets/web/images/icons/alert.svg" alt="">
                        </div>
                        <div id="mailerrors" class="alert alert-danger">
                             
                        </div>
                       
                        
                    </div>
                </div>
            </div>
        </div>
        
        
           <div class="modal fade modal_login" id="loginfailed" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered" role="document">
                <div class="modal-content">
                    <div class="modal-body text-center">
                        <div class="icon">
                            <img src="<?php echo e(url('')); ?>/assets/web/images/icons/alert.svg" alt="">
                        </div>
                        <div id="mailerrors" class="alert alert-danger">
                             <a href="<?php echo e(url(getCurrentLocale().'/login')); ?>"><?php echo e(__('web.loginfirst')); ?></a>
                        </div>
                       
                        
                    </div>
                </div>
            </div>
        </div>
        
        </section>

    </main>

<?php $__env->startPush('js'); ?>
<script>
function modelselect(elem){
    let row = $(elem).val();
    let data_id = $(elem).attr('data-id');
    $.ajax({
          url : <?php echo json_encode(url(getCurrentLocale().'/selectmodel')); ?>+'/'+row,
          type: 'GET',              
          data: 'dataform',
          success:function(data)
          {
            
            $("#model"+data_id).html(data);
               }
          
        })
}

function submodelselect(elem){
    let row = $(elem).val();
    let data_id = $(elem).attr('data-id');
    $.ajax({
          url : <?php echo json_encode(url(getCurrentLocale().'/selectsubmodel')); ?>+'/'+row,
          type: 'GET',              
          data: 'dataform',
          success:function(data)
          {
            
            $("#submodel"+data_id).html(data);
               }
          
        })
}
    function subscribedata(elem) {
    event.preventDefault();
   
         let action = $(elem).attr('action');
       
       let urls = action;
       
       let dataform = new FormData( $(elem)[0]);
        
     
      $.ajax({
          url : urls,
          type: 'POST',              
          data: dataform,
          contentType: false, 
          processData: false, 
          success:function(data)
          {
            
            $("#mailsuccess").modal('show');
               }
          ,error: function (data) {
              
              $('#mailerrors').html('');
   $.each(data.responseJSON.errors, function(key,value) {
      
     $('#mailerrors').append('<h4 >'+value+'</h4>');
     
 }); 
 
  $("#mailfailed").modal('show');
 
}
        })


}

function favtoggle(elem){
               
              let data = $(elem).attr('data-id');
            let action = $(elem).attr('action-id');
            let urls = action+'/'+data;

            $.ajax({
          url : urls,
          type : 'GET',
          data : 'nothing',
          success:function(data)
          {
              
              
                  
             
          }

        })


        }
        function loginft(elem){
            $("#loginfailed").modal('show');
        }
</script>
    <!-- ------------- new scripts -------------- -->

    <script>
        $(".sections_tabs .nav .nav-item").on("click", function() {
            $(this).siblings(".nav-item").find("a").removeClass("active");
        })
    </script>

    <script>
        var swiper = new Swiper('.swiper_sections', {
            spaceBetween: 0,
            observer: true,
            observeParents: true,
            loop: false,
            navigation: {
                nextEl: '.slide_prev',
                prevEl: '.slide_next',
            },
            breakpoints: {
                0: {
                    slidesPerView: 2,
                    spaceBetween: 0,
                },
                575: {
                    slidesPerView: 2,
                    spaceBetween: 0,
                },
                767: {
                    slidesPerView: 3,
                },
                991: {
                    slidesPerView: 5,
                }
            }
        });
    </script>
<?php $__env->stopPush(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('web.layouts.main_main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/hanqr/resources/views/web/pages/index.blade.php ENDPATH**/ ?>