관리-도구
편집 파일: de60789e2c1104f7aa44f77a6c63bc8e.php
<?php if (!$bundle) { return; } $bundle = $bundle ?? null; $translations = parse_translation($bundle); $auth = authCheck(); if ($auth) { $purchaseCheck = purchaseCheck($bundle->id, 'bundle'); } $courses = $bundle?->courses ?? []; $instructor = $bundle?->user ?? null; ?> <?php if (isset($component)) { $__componentOriginal4ea3ceba530d619a977e9c813ff095c4 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal4ea3ceba530d619a977e9c813ff095c4 = $attributes; } ?> <?php $component = Modules\LMS\View\Components\Frontend\Layout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('frontend-layout'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Modules\LMS\View\Components\Frontend\Layout::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__env->startPush('css'); ?> <link rel="stylesheet" href="<?php echo e(asset('lms/frontend/assets/vendor/css/plyr.min.css')); ?>"> <?php $__env->stopPush(); ?> <?php if (isset($component)) { $__componentOriginal633e9714cbfc155a1e1afb58682cfb8f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal633e9714cbfc155a1e1afb58682cfb8f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::breadcrumbs.breadcrumb-one','data' => ['pageTitle' => 'Bundle Details','pageName' => 'Bundle Details']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('theme::breadcrumbs.breadcrumb-one'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['pageTitle' => 'Bundle Details','pageName' => 'Bundle Details']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal633e9714cbfc155a1e1afb58682cfb8f)): ?> <?php $attributes = $__attributesOriginal633e9714cbfc155a1e1afb58682cfb8f; ?> <?php unset($__attributesOriginal633e9714cbfc155a1e1afb58682cfb8f); ?> <?php endif; ?> <?php if (isset($__componentOriginal633e9714cbfc155a1e1afb58682cfb8f)): ?> <?php $component = $__componentOriginal633e9714cbfc155a1e1afb58682cfb8f; ?> <?php unset($__componentOriginal633e9714cbfc155a1e1afb58682cfb8f); ?> <?php endif; ?> <!-- START INNER CONTENT AREA --> <div class="container"> <div class="grid grid-cols-12 gap-5"> <!-- START COURSE DETAILS --> <div class="col-span-full lg:col-span-8"> <h2 class="area-title xl:text-[40px] mt-4"> <?php echo e($translations['title'] ?? ($bundle->title ?? '')); ?> </h2> <p class="area-description text-heading/80 mt-3"> <?php echo clean($translations['details'] ?? ($bundle->details ?? '')); ?> </p> <div class="mt-7 pt-4 border-t border-border"> <div class="flex items-center gap-5 flex-wrap divide-x rtl:divide-x-reverse divide-border"> <div class="flex items-center gap-3 flex-wrap pl-5 rtl:pl-0 rtl:pr-5"> <!-- BUNDLE LABEL --> <?php $__currentLoopData = $bundle->levels; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $level): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $levelTranslations = parse_translation($level); ?> <div class="badge b-solid badge-secondary-solid rounded-full !text-heading"> <?php echo e($levelTranslations['name'] ?? ($level->name ?? '')); ?></div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <!-- BUNDLE CATEGORY --> <?php if($bundle?->category): ?> <?php $categoryTranslations = parse_translation($bundle->category); ?> <div class="badge badge-heading-outline b-outline rounded-full shrink-0"> <?php echo e($categoryTranslations['title'] ?? ($bundle?->category?->title ?? '')); ?></div> <?php endif; ?> </div> </div> </div> <!-- BUNDLE DETAILS TAB --> <div class="mt-[60px]"> <div class="dashkit-tab bg-primary-50 flex items-center flex-wrap gap-4 p-4 rounded-t-xl border-b border-primary" id="courseDetailsTab"> <button type="button" aria-label="Bundle Overview tab" class="dashkit-tab-btn btn b-outline btn-primary-outline rounded-full [&.active]:bg-primary [&.active]:text-white [&.active]:border-transparent shrink-0 active" id="courseOverview"> <?php echo e(translate('Bundle Overview')); ?> </button> <button type="button" aria-label="Course Curriculum tab" class="dashkit-tab-btn btn b-outline btn-primary-outline rounded-full [&.active]:bg-primary [&.active]:text-white [&.active]:border-transparent shrink-0" id="courseBundle"> <?php echo e(translate('Course')); ?> </button> <button type="button" aria-label="Course Instructor tab" class="dashkit-tab-btn btn b-outline btn-primary-outline rounded-full [&.active]:bg-primary [&.active]:text-white [&.active]:border-transparent shrink-0" id="courseInstructor"> <?php echo e(translate('Instructor')); ?> </button> </div> <div class="dashkit-tab-content mt-[60px] *:hidden" id="courseDetailsTabContent"> <!-- BUNDLE OVERVIEW CONTENT --> <div class="dashkit-tab-pane course-details-tab-content [&>:not(:first-child)]:mt-10 !block" data-tab="courseOverview"> <?php if (isset($component)) { $__componentOriginale9e681a197940f8c84821d79d2778c2f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale9e681a197940f8c84821d79d2778c2f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::bundle.details.bundle-overview','data' => ['bundle' => $bundle,'translations' => $translations]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('theme::bundle.details.bundle-overview'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['bundle' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($bundle),'translations' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($translations)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale9e681a197940f8c84821d79d2778c2f)): ?> <?php $attributes = $__attributesOriginale9e681a197940f8c84821d79d2778c2f; ?> <?php unset($__attributesOriginale9e681a197940f8c84821d79d2778c2f); ?> <?php endif; ?> <?php if (isset($__componentOriginale9e681a197940f8c84821d79d2778c2f)): ?> <?php $component = $__componentOriginale9e681a197940f8c84821d79d2778c2f; ?> <?php unset($__componentOriginale9e681a197940f8c84821d79d2778c2f); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalef926c443645b44ffdba02206bb32c27 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalef926c443645b44ffdba02206bb32c27 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::bundle.details.bundle-outcome','data' => ['bundle' => $bundle]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('theme::bundle.details.bundle-outcome'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['bundle' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($bundle)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalef926c443645b44ffdba02206bb32c27)): ?> <?php $attributes = $__attributesOriginalef926c443645b44ffdba02206bb32c27; ?> <?php unset($__attributesOriginalef926c443645b44ffdba02206bb32c27); ?> <?php endif; ?> <?php if (isset($__componentOriginalef926c443645b44ffdba02206bb32c27)): ?> <?php $component = $__componentOriginalef926c443645b44ffdba02206bb32c27; ?> <?php unset($__componentOriginalef926c443645b44ffdba02206bb32c27); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalbcb1d60f087fea55649fe92bc30a9be6 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalbcb1d60f087fea55649fe92bc30a9be6 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::bundle.details.bundle-faq','data' => ['bundle' => $bundle]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('theme::bundle.details.bundle-faq'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['bundle' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($bundle)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalbcb1d60f087fea55649fe92bc30a9be6)): ?> <?php $attributes = $__attributesOriginalbcb1d60f087fea55649fe92bc30a9be6; ?> <?php unset($__attributesOriginalbcb1d60f087fea55649fe92bc30a9be6); ?> <?php endif; ?> <?php if (isset($__componentOriginalbcb1d60f087fea55649fe92bc30a9be6)): ?> <?php $component = $__componentOriginalbcb1d60f087fea55649fe92bc30a9be6; ?> <?php unset($__componentOriginalbcb1d60f087fea55649fe92bc30a9be6); ?> <?php endif; ?> </div> <!-- COURSE CONTENT --> <div class="dashkit-tab-pane course-details-tab-content [&>:not(:first-child)]:mt-10" data-tab="courseBundle"> <?php if (isset($component)) { $__componentOriginal14cdf812ba66a6db8414de25acbbb43d = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal14cdf812ba66a6db8414de25acbbb43d = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::bundle.details.bundle-course','data' => ['courses' => $courses]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('theme::bundle.details.bundle-course'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['courses' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($courses)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal14cdf812ba66a6db8414de25acbbb43d)): ?> <?php $attributes = $__attributesOriginal14cdf812ba66a6db8414de25acbbb43d; ?> <?php unset($__attributesOriginal14cdf812ba66a6db8414de25acbbb43d); ?> <?php endif; ?> <?php if (isset($__componentOriginal14cdf812ba66a6db8414de25acbbb43d)): ?> <?php $component = $__componentOriginal14cdf812ba66a6db8414de25acbbb43d; ?> <?php unset($__componentOriginal14cdf812ba66a6db8414de25acbbb43d); ?> <?php endif; ?> </div> <!-- COURSE CONTENT --> <div class="dashkit-tab-pane course-details-tab-content [&>:not(:first-child)]:mt-10" data-tab="courseInstructor"> <?php if (isset($component)) { $__componentOriginal2eef6ced70767198eaa434fb088be837 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal2eef6ced70767198eaa434fb088be837 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::bundle.details.bundle-instructor','data' => ['instructor' => $instructor]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('theme::bundle.details.bundle-instructor'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['instructor' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($instructor)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal2eef6ced70767198eaa434fb088be837)): ?> <?php $attributes = $__attributesOriginal2eef6ced70767198eaa434fb088be837; ?> <?php unset($__attributesOriginal2eef6ced70767198eaa434fb088be837); ?> <?php endif; ?> <?php if (isset($__componentOriginal2eef6ced70767198eaa434fb088be837)): ?> <?php $component = $__componentOriginal2eef6ced70767198eaa434fb088be837; ?> <?php unset($__componentOriginal2eef6ced70767198eaa434fb088be837); ?> <?php endif; ?> </div> </div> </div> </div> <!-- END COURSE DETAILS --> <!-- START CONTENT --> <?php if (isset($component)) { $__componentOriginal828e9991222db75d2b9c0d431cab74f7 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal828e9991222db75d2b9c0d431cab74f7 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::bundle.details.sidebar','data' => ['bundle' => $bundle,'auth' => $auth ?? false,'hasPurchase' => $hasPurchase ?? null]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('theme::bundle.details.sidebar'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['bundle' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($bundle),'auth' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($auth ?? false),'hasPurchase' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hasPurchase ?? null)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal828e9991222db75d2b9c0d431cab74f7)): ?> <?php $attributes = $__attributesOriginal828e9991222db75d2b9c0d431cab74f7; ?> <?php unset($__attributesOriginal828e9991222db75d2b9c0d431cab74f7); ?> <?php endif; ?> <?php if (isset($__componentOriginal828e9991222db75d2b9c0d431cab74f7)): ?> <?php $component = $__componentOriginal828e9991222db75d2b9c0d431cab74f7; ?> <?php unset($__componentOriginal828e9991222db75d2b9c0d431cab74f7); ?> <?php endif; ?> <!-- END CONTENT --> </div> </div> <!-- END INNER CONTENT AREA --> <?php $__env->startPush('js'); ?> <script src="<?php echo e(asset('lms/frontend/assets/vendor/js/plyr.min.js')); ?>"></script> <script src="<?php echo e(edulab_asset('lms/frontend/assets/js/modal.js')); ?>"></script> <script src="<?php echo e(edulab_asset('lms/frontend/assets/js/video-play.js')); ?>"></script> <?php $__env->stopPush(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal4ea3ceba530d619a977e9c813ff095c4)): ?> <?php $attributes = $__attributesOriginal4ea3ceba530d619a977e9c813ff095c4; ?> <?php unset($__attributesOriginal4ea3ceba530d619a977e9c813ff095c4); ?> <?php endif; ?> <?php if (isset($__componentOriginal4ea3ceba530d619a977e9c813ff095c4)): ?> <?php $component = $__componentOriginal4ea3ceba530d619a977e9c813ff095c4; ?> <?php unset($__componentOriginal4ea3ceba530d619a977e9c813ff095c4); ?> <?php endif; ?> <?php /**PATH D:\www\edulab\Modules\LMS\resources\views\theme\bundle\details.blade.php ENDPATH**/ ?>