Current File : //home/tradevaly/public_html/storage/framework/views/5f8a31db0cd128c0c6e913683a7516969ebc0039.php |
<?php $__env->startSection('content'); ?>
<?php
$my_ip = ip_country(visitorip())->country_code;
?>
<section class="pvl-banner-leftnav company-index-banner" style=" background: url('<?php echo e(asset('storage/pages/'.$pages->image)); ?>') no-repeat left top;">
<div class="mx-auto w-75 text-center">
<h1><?php echo e(translate($pages->title)); ?></h1>
<span><?php echo e(translate($pages->subtitle)); ?></span>
</div>
</section>
<!--/************************** Premium Pricing Area Start ****************************/--->
<section class="premium-pricing join-free-packages">
<div class="container">
<div class="row">
<div class="col-12 text-center sec-heading d-none d-lg-block d-xl-block">
<h3><?php echo e(translate('Our Premium')); ?> <span><?php echo e(translate('Packages')); ?></span></h3>
<h6><?php echo e(translate('Premium Features and Ultimate Services')); ?></h6>
</div>
<div class="table-responsive-lg w-100 d-none d-lg-block d-xl-block">
<table cellpadding="0" cellspacing="0" width="100%" class="lite-table mt-3">
<tbody id="premiumPackageComponent">
<tr>
<td rowspan="2" class="td1 td3 height border-0 bg__none" width="276"></td>
</tr>
<tr>
<?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pack): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<td class="height2 elite-td">
<a >
<img src="<?php echo e(asset('storage/images/admin/package/'.$pack['image'])); ?>" width="138" alt="<?php echo e($pack['details']); ?>" class="lazy">
</a>
</td>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tr>
<?php $__currentLoopData = \App\Models\Feature::all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $features): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($features->status != 'disable'): ?>
<tr>
<td class="td3 packageComponentSubHeading"><?php echo e(translate($features->name)); ?></td>
<?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pack): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$pre = \App\Models\PackageFeature::where('package_id', $pack->id)->where('feature_id', $features->id)->first();
?>
<td width="170">
<?php if($pre != null): ?>
<?php if($pre->value == 1): ?>
<i class="fas fa-check text-success"></i>
<?php elseif($pre->value == 0): ?>
<i class="fas fa-check text-success"></i>
<?php else: ?>
<?php echo e(translate($pre->value)); ?>
<?php endif; ?>
<?php endif; ?>
<?php if(!$pre): ?>
<i class="fas fa-times text-danger"></i>
<?php endif; ?>
</td>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tr>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<tr class="price bold market">
<td class="td3"><?php echo e(translate('Download')); ?></td>
<?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pack): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<td><?php if(!empty($pack['pdf'])): ?> <a href="<?php echo e(asset('storage/images/admin/package/pdf/'.$pack['pdf'])); ?>"><?php echo e(translate('Detail Brochure')); ?></a> <?php endif; ?> </td>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tr>
<tr class="price bold market">
<td class="td3"><?php echo e(translate('Discount')); ?></td>
<?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pack): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<td><span class="mony"><font class="india-pre"></font><font class="font18 premium-price"><?php echo e(round($pack->discount)); ?>%</font></span></td>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tr>
<tr class="price bold market">
<td class="td3"><?php echo e(translate('Annual Price')); ?></td>
<?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pack): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$discount_price = $pack->price /100*$pack->discount;
$main_price = $pack->price - $discount_price;
?>
<td>
<?php if($pack->discount != 0): ?>
<span class="mony"><font class="india-pre">Tk</font><font class="font18 premium-price"><del> <?php echo e($pack->price*settings()->bdt_rate); ?></del></font></span>
<?php endif; ?>
<span class="mony"><font class="india-pre">Tk</font><font class="font18 premium-price"><?php echo e($main_price * settings()->bdt_rate); ?></font></span>
</td>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tr>
<tr id="premiumPackageCallToAction">
<td class="td3 border-0 bg__white"></td>
<?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pack): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<td>
<?php if($pack->price == 0): ?>
<a href="<?php echo e(route('front.user.register')); ?>" title="Registration" class="lite-btn apply">Join Now</a>
<?php else: ?>
<a href="<?php echo e(route('subscription.apply', $pack->slug)); ?>" title="<?php echo e(translate($pack->name)); ?>" class="lite-btn apply"><?php echo e(translate('Buy Now')); ?></a>
<?php endif; ?>
</td>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</section>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('script'); ?>
<?php $__env->stopPush(); ?>
<?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/package.blade.php ENDPATH**/ ?>