Current File : //home/tradevaly/www/storage/framework/views/1f2681c394683a44bd648ded922f6a5e87f9b28f.php |
<?php $__env->startPush('css'); ?>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<?php
$top_banners = App\Models\Banner::where('position','top_company_banner')->latest()->get();
$bottom_banners = App\Models\Banner::Where('position','bottom_company_banner')->latest()->get();
?>
<section class="representative-banner page_bottom_slider">
<?php $__currentLoopData = $top_banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e($banner->link); ?>">
<img src="<?php echo e(asset('storage/images/admin/banner/'.$banner['image'])); ?>" class="img-fluid w-100"/>
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</section>
<!--------------------------- Buyer Listing------------------------------------>
<section class="buyers-listing-sec">
<div class="container">
<div class="row">
<div class="col-lg-12">
<h1 class="page-title">All Companies</h1>
</div>
<div class="col-sm-12 col-md-4 col-lg-4 filter-leftbar mt-4 mt-md-0">
<h6 id="alpsorth"> <?php echo e(translate("Alphabetic Sorting")); ?> <?php echo e(Request::get('a')); ?></h6>
<div class="alphabetical-sorting">
<div class="alphabetical-sorting">
<ul class="bg-light-grey hts-code-categories-page">
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'a'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/a/" title="a"><?php echo e(translate('a')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'b'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/b/" title="b"><?php echo e(translate('b')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'c'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/c/" title="c"><?php echo e(translate('c')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'd'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/d/" title="d"><?php echo e(translate('d')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'e'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/e/" title="e"><?php echo e(translate('e')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'f'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/f/" title="f"><?php echo e(translate('f')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'g'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/g/" title="g"><?php echo e(translate('g')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'h'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/h/" title="h"><?php echo e(translate('a')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'i'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/i/" title="i"><?php echo e(translate('i')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'j'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/j/" title="j"><?php echo e(translate('j')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'k'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/k/" title="k"><?php echo e(translate('k')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'l'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/l/" title="l"><?php echo e(translate('l')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'm'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/m/" title="m"><?php echo e(translate('m')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'n'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/n/" title="n"><?php echo e(translate('n')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'o'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/o/" title="o"><?php echo e(translate('o')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'p'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/p/" title="p"><?php echo e(translate('p')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('q') == 'a'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/q/" title="q"><?php echo e(translate('q')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'r'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/r/" title="r"><?php echo e(translate('r')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 's'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/s/" title="s"><?php echo e(translate('s')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 't'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/t/" title="t"><?php echo e(translate('t')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'u'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/u/" title="u"><?php echo e(translate('u')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'v'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/v/" title="v"><?php echo e(translate('v')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('w') == 'a'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/w/" title="w"><?php echo e(translate('w')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'x'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/x/" title="x"><?php echo e(translate('x')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'y'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/y/" title="y"><?php echo e(translate('y')); ?></a>
</li>
<li class="d-inline-block">
<a class="btn btn-sm btn-secondary <?php if(app('request')->input('a') == 'z'): ?> active <?php endif; ?> text-uppercase" rel="nofollow" href="/companies/initial/z/" title="z"><?php echo e(translate('z')); ?></a>
</li>
</ul>
</div>
</div>
<section class="quote-now bg-white productQuoteRegister mt-4">
<?php if(!Auth::user()): ?>
<section class="quote-now d-md-none d-lg-block d-xl-block">
<?php echo $__env->make('frontend.utils.tellus', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</section>
<?php else: ?>
<div class="side-nav-dark my_own_custom_style col-md-12 mt-5 d-none d-lg-block">
<?php echo $__env->make('frontend.utils.auth_sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<?php endif; ?>
</section>
</div>
<div class="col-sm-12 col-md-8 col-lg-8">
<div class="companies-section">
<?php $__currentLoopData = $seller; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $company): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if( $company->company): ?>
<div class="buyer-listing-result-row buyer-tab-company">
<div class="row">
<div class="col-sm-12 col-md-2 pr-md-0">
<div class="com-flex">
<a href="<?php echo e(route('supplier.view', $company->username?$company->username:'')); ?>" data-detail-link="" data-event-type="Company" title="<?php echo e($company->company->name ? $company->company->name:''); ?>" class="text-center"> <img src="<?php echo e(asset('storage/images/user/avatar/'.$company->company->image.'')); ?>" class="lazy" alt="<?php echo e($company->company->name?$company->company->name:''); ?>" style=""></a>
</div>
</div>
<div class="col-sm-12 col-md-5 pr-md-0 pl-md-2">
<h5 class="text-truncate"><a href="<?php echo e(route('supplier.view', $company->username)); ?>" title="<?php echo e($company->name); ?>"> <?php echo e($company->company->name? $company->company->name:''); ?></a></h5>
<p><?php echo e(substr(strip_tags($company->company->des), 0, 100)); ?> <a href="<?php echo e(route('supplier.view', $company->username)); ?>"><?php echo e(translate('Show More...')); ?></a></p>
<ul class="buyer-listing-info li-width-50 full-with-ul">
<li>
<?php echo e(translate('Business Type')); ?>:
<span class="text-truncate"><?php echo e($company->company->type); ?></span>
</li>
<li>
<?php echo e(translate('Main Products')); ?>:
<span class="text-truncate"><?php echo e($company->company->main_products); ?></span>
</li>
</ul>
</div>
<div class="col-sm-12 col-md-5 pr-md-0 pl-md-0 company-item">
<ul class="tab-company-item-lst">
<?php
$prod = \App\Models\Product::where('supplier_id', $company->id)->where('status',1)->take(3)->get();
?>
<?php $__currentLoopData = $prod; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li>
<a href="<?php echo e(route('product.view', $product->slug)); ?>">
<img src="<?php echo e(asset('storage/images/admin/product/'.$product->image.'')); ?>" class="lazy" alt="" style="">
<h6 class="text-truncate"> <?php echo e($product->id); ?> <?php echo e($product->title); ?> </h6>
<span>- <?php echo e(translate('View Details')); ?> -</span>
</a>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php if(!empty($company->package)): ?>
<div class="buyer-listing-action full-with-div mg-top-10 d-flex align-items-center">
<a href="<?php echo e(route('region.change', $company->country->iso)); ?>">
<i class="fi fi-<?php echo e(strtolower($company->country->iso)); ?>"></i>
</a>
<a class="membership-tag-sm">
<img src="<?php echo e(asset('storage/images/admin/package/'.$company->package->image ?? '')); ?>" class="lazy" alt="" width="112" height="34" style="">
</a>
<?php if(!Auth::check()): ?>
<a href="<?php echo e(route('front.user.register')); ?> " title="<?php echo e(translate('Join Free')); ?>" class=" buyer-listing-btn">Contact Now</a>
<?php else: ?>
<a href="<?php echo e(route('company.inquery',$company->username)); ?>" class=" buyer-listing-btn"><?php echo e(translate('Contact Now')); ?></a>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php echo e($seller->links('page')); ?>
</div>
<section class="inner-banner-leftnav company-join-banner mt-3">
<div class="mx-auto w-75">
<h4><?php echo e(translate('Want to Display Your Products on Trade Valy')); ?></h4>
<a href="<?php echo e(route('register')); ?>" data-fancybox="" data-src="#popupform" class="btn btn-sm btn-danger"><?php echo e(translate('Join Free Now')); ?></a>
</div>
</section>
</div>
</div>
</div>
</section>
<section class="representative-banner page_bottom_slider" id="page_bottom_banner">
<?php $__currentLoopData = $bottom_banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a href="<?php echo e($banner->link); ?>">
<img src="<?php echo e(asset('storage/images/admin/banner/'.$banner['image'])); ?>" class="img-fluid w-100"/>
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</section>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>
<script>
$('.page_bottom_slider').slick({
dots: false,
infinite: true,
slidesToShow: 1,
centerMode: false,
arrows:false,
autoplay: true,
speed: 3000,
autoplaySpeed: 2000,
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradevaly/public_html/resources/views/frontend/pages/companies.blade.php ENDPATH**/ ?>