관리-도구
편집 파일: cfbec7fba8708658945a2a2a0eb6aff2.php
<?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 if (isset($component)) { $__componentOriginal633e9714cbfc155a1e1afb58682cfb8f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal633e9714cbfc155a1e1afb58682cfb8f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::breadcrumbs.breadcrumb-one','data' => ['pageTitle' => 'Organization Details','pageRoute' => '#','pageName' => 'Organization 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' => 'Organization Details','pageRoute' => '#','pageName' => 'Organization 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; ?> <?php $userInfo = $user->userable ?? null; $coverPhoto = $userInfo->cover_photo && fileExists('lms/organizations', $userInfo->cover_photo) == true ? asset("storage/lms/organizations/{$userInfo->cover_photo}") : asset('lms/frontend/assets/images/870x260.svg'); $profileImg = $userInfo?->profile_img && fileExists('lms/organizations', $userInfo?->profile_img) == true ? asset("storage/lms/organizations/{$userInfo?->profile_img}") : asset('lms/frontend/assets/images/370x396.svg'); $city = $user?->city?->name ?? null; if ($userInfo) { $userTranslations = parse_translation($userInfo); } if ($userTranslations) { $name = $userTranslations['name']; } $city = $user?->city?->name ?? ''; if ($user?->city) { $cityTranslations = parse_translation($user?->city); } if ($user?->country) { $countryTranslations = parse_translation($user?->country); } $cityName = isset($cityTranslations['name']) && $cityTranslations['name'] ? $cityTranslations['name'] . ',' : ($city ? $city . ',' : ''); ?> <!-- START ORGANIZATION DETAILS AREA --> <div class="container"> <div class="flex-center flex-col"> <div class="w-full grow h-52 lg:h-64 bg-no-repeat bg-cover rounded-xl md:rounded-2xl" style="background-image: url(<?php echo e($coverPhoto); ?>);"></div> <div class="w-full grow grid grid-cols-12 gap-5 px-[5vw] -mt-32 sm:-mt-20"> <div class="col-span-full lg:col-span-8"> <div class="h-full bg-white p-6 rounded-xl border border-r-border shadow-sm flex flex-col sm:flex-row items-center gap-6 shrink-0"> <div class="size-24 rounded-50 overflow-hidden border-2 border-white"> <img data-src="<?php echo e($profileImg); ?>" alt="Organization profile image" class="size-full object-cover"> </div> <div class="grow"> <h5 class="relative area-title text-2xl !leading-none font-semibold hover:text-primary w-max"> <?php echo e($name ?? $userInfo->name); ?> <?php if($user->is_verify): ?> <img data-src="<?php echo e(asset('lms/frontend/assets/images/icons/verified.svg')); ?>" alt="Verified icon" class="absolute -top-1.5 -right-3.5 hidden [&.verified]:block verified" title="Verified"> <?php endif; ?> </h5> <p class="area-description !leading-none mt-2"><?php echo e($cityName ?? ''); ?> <?php echo e($countryTranslations['name'] ?? ($user?->country?->name ?? '')); ?> </p> <div class="flex items-center gap-2 mt-4"> <a href="mailto:<?php echo e($user->email); ?>" aria-label="Organization mail" class="btn b-outline btn-primary-outline btn-sm !rounded-full"> <i class="ri-mail-send-line"></i> <?php echo e(translate('Send Email')); ?> </a> <a href="mailto:<?php echo e($user->email); ?>" aria-label="Organization phone" class="btn b-solid btn-primary-solid btn-sm !rounded-full"> <i class="ri-share-forward-line rtl:rotate-y-180"></i> <?php echo e(translate('Share')); ?> </a> </div> </div> </div> </div> <div class="col-span-full lg:col-span-4"> <div class="h-full bg-white p-6 rounded-xl border border-r-border shadow-sm"> <ul class="flex-center flex-col divide-y divide-border space-y-5 [&>:not(:first-child)]:pt-5 leading-none text-heading/70"> <li class="grow w-full flex flex-col gap-2 text-center sm:text-left"> <h6 class="area-title text-lg font-semibold !leading-none"> <?php echo e($rating['average_rating']); ?></h6> <div class="flex items-center justify-center sm:justify-start rtl:sm:justify-end gap-0.5 text-secondary"> <?php echo show_rating($rating['average_rating']); ?> </div> </li> <li class="grow w-full flex flex-col gap-2 text-center sm:text-left"> <h6 class="area-title text-lg font-semibold !leading-none"> <?php echo e($courses->total() !== 0 ? $courses->total() . '+' : 0); ?> </h6> <p class="area-description text-sm font-semibold !leading-none"> <?php echo e(translate('Courses')); ?></p> </li> <li class="grow w-full flex flex-col gap-2 text-center sm:text-left"> <h6 class="area-title text-lg font-semibold !leading-none"> <?php echo e($totalInstructors ? $totalInstructors . '+' : 0); ?></h6> <p class="area-description text-sm font-semibold !leading-none"> <?php echo e(translate('Total Instructors')); ?></p> </li> </ul> </div> </div> </div> </div> <?php if($userInfo->about): ?> <article class="mt-14"> <h2 class="area-title xl:text-2xl mb-5"><?php echo e(translate('About Us')); ?></h2> <div class="text-heading/70 font-semibold leading-[1.55] [&>:not(:first-child)]:mt-6 mt-6"> <?php echo clean($userTranslations['about'] ?? ($userInfo->about ?? '')); ?> </div> </article> <?php endif; ?> </div> <!-- END ORGANIZATION DETAILS AREA --> <?php if(isset($courses) && $courses->count() > 0): ?> <!-- START MY COURSES AREA --> <div class="pt-16 sm:pt-24 lg:pt-[120px]"> <div class="container"> <!-- HEADER --> <div class="grid grid-cols-12 gap-4 items-center"> <div class="col-span-full text-center max-w-[594px] mx-auto"> <div class="area-subtitle"><?php echo e(translate('Popular Courses')); ?></div> <h2 class="area-title mt-2"> <?php echo e(translate('Explore Our')); ?> <span class="title-highlight-one"><?php echo e(translate('Courses')); ?></span> </h2> </div> </div> <!-- BODY --> <div class="col-span-full lg:col-span-8"> <div class="grid grid-cols-12 gap-4 xl:gap-7 mt-10"> <?php if (isset($component)) { $__componentOriginal855739d0c9ab52e9c2ed515a491ac1a1 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal855739d0c9ab52e9c2ed515a491ac1a1 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::cards.course-card-one','data' => ['courses' => $courses,'borderClass' => 'true']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('theme::cards.course-card-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(['courses' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($courses),'borderClass' => 'true']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal855739d0c9ab52e9c2ed515a491ac1a1)): ?> <?php $attributes = $__attributesOriginal855739d0c9ab52e9c2ed515a491ac1a1; ?> <?php unset($__attributesOriginal855739d0c9ab52e9c2ed515a491ac1a1); ?> <?php endif; ?> <?php if (isset($__componentOriginal855739d0c9ab52e9c2ed515a491ac1a1)): ?> <?php $component = $__componentOriginal855739d0c9ab52e9c2ed515a491ac1a1; ?> <?php unset($__componentOriginal855739d0c9ab52e9c2ed515a491ac1a1); ?> <?php endif; ?> </div> <?php echo $courses->links('theme::pagination.pagination-one'); ?> </div> </div> </div> <!-- END MY COURSES AREA --> <?php endif; ?> <?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 /home/inprosysltd/public_html/edulab.inprosysltd.com/Modules/LMS/resources/views/theme/organization/profile-details.blade.php ENDPATH**/ ?>