Viewing file: e1eb1e2bad072de283cbed1a44ff2cc5.php (20.56 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title', __('dashboard')); ?>
<?php $__env->startSection('breadcrumb'); ?> <?php if (isset($component)) { $__componentOriginal044f5af546c391ddc719bb44e1cd807e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal044f5af546c391ddc719bb44e1cd807e = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.breadcrumb.breadcrumb','data' => ['links' => [['text' => 'Dashboard'], ['text' => 'Overview']]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.breadcrumb.breadcrumb'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['links' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([['text' => 'Dashboard'], ['text' => 'Overview']])]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal044f5af546c391ddc719bb44e1cd807e)): ?> <?php $attributes = $__attributesOriginal044f5af546c391ddc719bb44e1cd807e; ?> <?php unset($__attributesOriginal044f5af546c391ddc719bb44e1cd807e); ?> <?php endif; ?> <?php if (isset($__componentOriginal044f5af546c391ddc719bb44e1cd807e)): ?> <?php $component = $__componentOriginal044f5af546c391ddc719bb44e1cd807e; ?> <?php unset($__componentOriginal044f5af546c391ddc719bb44e1cd807e); ?> <?php endif; ?> <?php $__env->stopSection(); ?>
<?php $__env->startSection('dashboard-content'); ?> <div class="grid xl:grid-cols-3 gap-6 sm:grid-cols-2 grid-cols-1 mb-8"> <div class="p-5 shadow-sm flex w-full rounded-lg justify-between items-center gap-4 bg-primary-50 dark:bg-primary-800"> <div> <h3 class="heading-02 dark:text-white/80 mb-2"><?php echo e($posted_ads_count); ?></h3> <p class="body-md-400 dark:text-gray-300"><?php echo e(__('posted_ads')); ?></p> </div> <div class="p-4 bg-white dark:bg-gray-600 rounded-md"> <?php if (isset($component)) { $__componentOriginaldd7125669283e5aa74538dfdb1d654d2 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaldd7125669283e5aa74538dfdb1d654d2 = $attributes; } ?> <?php $component = App\View\Components\Svg\ListIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.list-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Svg\ListIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaldd7125669283e5aa74538dfdb1d654d2)): ?> <?php $attributes = $__attributesOriginaldd7125669283e5aa74538dfdb1d654d2; ?> <?php unset($__attributesOriginaldd7125669283e5aa74538dfdb1d654d2); ?> <?php endif; ?> <?php if (isset($__componentOriginaldd7125669283e5aa74538dfdb1d654d2)): ?> <?php $component = $__componentOriginaldd7125669283e5aa74538dfdb1d654d2; ?> <?php unset($__componentOriginaldd7125669283e5aa74538dfdb1d654d2); ?> <?php endif; ?> </div> </div> <div class="p-5 shadow-sm flex w-full rounded-lg justify-between items-center gap-4 bg-success-50 dark:bg-success-800"> <div> <h3 class="heading-02 dark:text-white/80 mb-2"><?php echo e($favouriteadcount); ?></h3> <p class="body-md-400 dark:text-gray-300"><?php echo e(__('favorite_ads')); ?></p> </div> <div class="p-4 bg-white dark:bg-gray-600 rounded-md"> <?php if (isset($component)) { $__componentOriginal54b1c213855a2e3dc4928e36628b22cb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal54b1c213855a2e3dc4928e36628b22cb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.favourite-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.favourite-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal54b1c213855a2e3dc4928e36628b22cb)): ?> <?php $attributes = $__attributesOriginal54b1c213855a2e3dc4928e36628b22cb; ?> <?php unset($__attributesOriginal54b1c213855a2e3dc4928e36628b22cb); ?> <?php endif; ?> <?php if (isset($__componentOriginal54b1c213855a2e3dc4928e36628b22cb)): ?> <?php $component = $__componentOriginal54b1c213855a2e3dc4928e36628b22cb; ?> <?php unset($__componentOriginal54b1c213855a2e3dc4928e36628b22cb); ?> <?php endif; ?> </div> </div> <div class="p-5 shadow-sm flex w-full rounded-lg justify-between items-center gap-4 bg-error-50 dark:bg-error-800"> <div> <h3 class="heading-02 dark:text-white/80 mb-2"><?php echo e($expire_ads_count); ?></h3> <p class="body-md-400 dark:text-gray-300"><?php echo e(__('expire_ads')); ?></p> </div> <div class="p-4 bg-white dark:bg-gray-600 rounded-md"> <?php if (isset($component)) { $__componentOriginaldaee9215c5e9f40a01879c3e3f9b4af3 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaldaee9215c5e9f40a01879c3e3f9b4af3 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.cube-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cube-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaldaee9215c5e9f40a01879c3e3f9b4af3)): ?> <?php $attributes = $__attributesOriginaldaee9215c5e9f40a01879c3e3f9b4af3; ?> <?php unset($__attributesOriginaldaee9215c5e9f40a01879c3e3f9b4af3); ?> <?php endif; ?> <?php if (isset($__componentOriginaldaee9215c5e9f40a01879c3e3f9b4af3)): ?> <?php $component = $__componentOriginaldaee9215c5e9f40a01879c3e3f9b4af3; ?> <?php unset($__componentOriginaldaee9215c5e9f40a01879c3e3f9b4af3); ?> <?php endif; ?> </div> </div> </div> <?php if(isset($user_plan)): ?> <div> <h2 class="heading-05 mb-4 dark:text-white"><?php echo e(__('current_plan_expirations_and_benefits')); ?></h2> <div class="grid xl:grid-cols-3 gap-6 sm:grid-cols-2 grid-cols-1"> <div class="p-5 shadow-sm flex w-full rounded-lg justify-between items-center gap-4 bg-success-50 dark:bg-success-800"> <div> <h3 class="heading-02 dark:text-white/80 mb-2"><?php echo e($user_plan->ad_limit); ?></h3> <p class="body-md-400 dark:text-gray-300"><?php echo e(__('remaining_ads')); ?></p> </div> </div> <div class="p-5 shadow-sm flex w-full rounded-lg justify-between items-center gap-4 bg-error-50 dark:bg-error-800"> <div> <h3 class="heading-02 dark:text-white/80 mb-2"><?php echo e($user_plan->featured_limit); ?></h3> <p class="body-md-400 dark:text-gray-300"><?php echo e(__('featured_ads')); ?></p> </div> </div> </div> </div> <?php endif; ?> <div class="flex items-start flex-col lg:flex-row gap-6 mt-8"> <div class="bg-white dark:bg-gray-900 rounded-xl p-6 border border-gray-50 dark:border-gray-600 shadow w-full overflow-hidden"> <h4 class="heading-06 text-gray-900 dark:text-white"><?php echo e(__('ads_view')); ?></h4> <div class="mt-4"> <div id="ads-bar-chart"></div> </div> </div> <div class="bg-white dark:bg-gray-900 rounded-xl p-6 border border-gray-50 dark:border-gray-600 shadow w-full"> <h4 class="heading-06 text-gray-900 dark:text-white"><?php echo e(__('recent_activities')); ?></h4> <?php if(count($activities) > 0): ?> <ul class="mt-4 space-y-4"> <?php $__currentLoopData = $activities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $activity): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li class="flex items-center gap-4 success"> <span class="bg-success-50 text-success-400 p-4 h-[30px] w-[30px] rounded-md flex items-center justify-center"> <span class="icon"> <?php if($activity->type === 'App\\Notifications\\AdDeleteNotification'): ?> <?php if (isset($component)) { $__componentOriginal6bd8de7724b405c641ffeb97fb81bf74 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal6bd8de7724b405c641ffeb97fb81bf74 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.warning-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.warning-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal6bd8de7724b405c641ffeb97fb81bf74)): ?> <?php $attributes = $__attributesOriginal6bd8de7724b405c641ffeb97fb81bf74; ?> <?php unset($__attributesOriginal6bd8de7724b405c641ffeb97fb81bf74); ?> <?php endif; ?> <?php if (isset($__componentOriginal6bd8de7724b405c641ffeb97fb81bf74)): ?> <?php $component = $__componentOriginal6bd8de7724b405c641ffeb97fb81bf74; ?> <?php unset($__componentOriginal6bd8de7724b405c641ffeb97fb81bf74); ?> <?php endif; ?> <?php elseif($activity->type === 'App\\Notifications\\AdWishlistNotification'): ?> <?php if (isset($component)) { $__componentOriginaldd7125669283e5aa74538dfdb1d654d2 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaldd7125669283e5aa74538dfdb1d654d2 = $attributes; } ?> <?php $component = App\View\Components\Svg\ListIcon::resolve(['width' => '24','height' => '24'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.list-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Svg\ListIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaldd7125669283e5aa74538dfdb1d654d2)): ?> <?php $attributes = $__attributesOriginaldd7125669283e5aa74538dfdb1d654d2; ?> <?php unset($__attributesOriginaldd7125669283e5aa74538dfdb1d654d2); ?> <?php endif; ?> <?php if (isset($__componentOriginaldd7125669283e5aa74538dfdb1d654d2)): ?> <?php $component = $__componentOriginaldd7125669283e5aa74538dfdb1d654d2; ?> <?php unset($__componentOriginaldd7125669283e5aa74538dfdb1d654d2); ?> <?php endif; ?> <?php else: ?> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve(['width' => '24','height' => '24'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Svg\CheckIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php endif; ?> </span> </span> <p class="body-md-400 dark:text-white/90"> <?php echo e($activity->data['msg']); ?>
</p> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> <?php else: ?> <?php if (isset($component)) { $__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279 = $attributes; } ?> <?php $component = App\View\Components\NotFound2::resolve(['message' => ''.e(__('no_recents_activities')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('not-found2'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\NotFound2::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279)): ?> <?php $attributes = $__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279; ?> <?php unset($__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279); ?> <?php endif; ?> <?php if (isset($__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279)): ?> <?php $component = $__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279; ?> <?php unset($__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279); ?> <?php endif; ?> <?php endif; ?> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('js'); ?> <script> <?php if(session('verified')): ?> toastr.success('Email Verified Successfully!', 'Success'); <?php endif; ?>
// ApexCharts options and config window.addEventListener("load", function() { const options = { colors: ["#1A56DB", "#FDBA8C"], series: [{ name: "Organic", color: "#1768E0", data: <?php echo json_encode($bar_chart_datas, 15, 512) ?> }], chart: { type: "bar", height: 350, width: '100%', fontFamily: "Inter, sans-serif", toolbar: { show: false, }, }, plotOptions: { bar: { horizontal: false, columnWidth: "70%", borderRadiusApplication: "end", borderRadius: 8, }, }, tooltip: { shared: true, intersect: false, style: { fontFamily: "Inter, sans-serif", }, }, states: { hover: { filter: { type: "darken", value: 1, }, }, }, stroke: { show: true, width: 0, colors: ["transparent"], }, grid: { show: true, strokeDashArray: 4, padding: { left: 2, right: 2, top: -14 }, }, dataLabels: { enabled: false, }, legend: { show: false, }, xaxis: { floating: false,
labels: { show: true, rotate: -45, style: { fontFamily: "Inter, sans-serif", cssClass: 'text-xs font-normal fill-gray-500 dark:fill-gray-400' } }, axisBorder: { show: false, }, axisTicks: { show: false, }, }, yaxis: { show: true, lables: {
} }, fill: { opacity: 1, }, }
if (document.getElementById("ads-bar-chart") && typeof ApexCharts !== 'undefined') {
const chart = new ApexCharts(document.getElementById("ads-bar-chart"), options); chart.render(); } }); </script> <?php $__env->stopPush(); ?>
<?php echo $__env->make('frontend.layouts.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/classify.picotech.app/public_html/resources/views/frontend/dashboard/index.blade.php ENDPATH**/ ?>
|