���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
npln
/
storage
/
framework
/
views
/
Viewing: 72cdf4f8e4190b4c934717f01b2ab519.php
<div > <aside :class="{ 'lg:!w-[25%] xl:!w-[20%] 2xl:!w-[17%] overflow-y-auto ' : !show }" class=" fixed top-0 right-0 z-20 hidden lg:block w-14 h-full bg-sidebar-dark "> <form id="logout-form" action="<?php echo e(route('adminLogout')); ?>" method="POST" style="display: none;"> <input type="hidden" name="locale" value="<?php echo e(app()->getLocale()); ?>"> <?php echo csrf_field(); ?> </form> <ul class=" "> <li @click="show = !show" :aria-expanded="show ? 'true' : 'false'" :class="{ ' !justify-end ' : !show }" class=" relative h-[3.2rem] flex items-center justify-center "> <div class="flex items-center justify-center text-white cursor-pointer"> <i :class="{ ' !text-4xl ml-3' : !show }" class=' text-2xl bx bx-menu'></i> </div> </li> <li :class="{ '!h-auto mb-5 !justify-start mr-3' : !show }" class=" relative p-1 h-12 flex items-center justify-center "> <div class="flex items-center justify-center cursor-pointer"> <i :class="{ '!text-5xl opacity-40 ml-3' : !show }" class=' text-2xl bx bx-user-circle text-blue-600'></i> <div :class="{ '!block' : !show }" class="hidden"> <span class=" truncate block text-white mb-2 text-xs 2xl:text-sm bold"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()->first_name || auth()->user()->last_name): ?> <?php echo e(auth()->user()->first_name.' '.auth()->user()->last_name); ?> <?php else: ?> کاربر ادمین <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </span> <span class=" truncate block text-sidebar-sky text-xs 2xl:text-sm bold"> <?php echo e(auth()->user()->get_admin_roll()); ?> </span> </div> </div> </li> <li class="border-t pt-2 border-white "> </li> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services','manager_order','ads'])): ?> <li x-data="{ open: false , collapse:false }" @mouseover="open = true" @mouseover.away = "open = false" <?php if(in_array($pageName,['category_order','show_platform','show_register_code','services_setting','show_factor','show_app','add_app','show_slider','add_slider','show_services_status','add_services_status','show_order_status','add_order_status','show_config', 'show_link','show_price','show_machinery' ,'version_show','services_request' ])): ?> :class="{ 'bg-sidebar-red flex justify-center items-center h-12' : show }" <?php else: ?> :class="{ 'h-12 flex justify-center items-center ' : show }" <?php endif; ?> :class="{ '!block !h-auto' : !show }" class="relative p-2 "> <div @click="collapse=!collapse" <?php if(in_array($pageName,['category_order','show_platform','show_register_code','services_setting','show_factor','show_app','add_app','show_slider','add_slider','show_services_status','add_services_status','show_order_status','add_order_status','show_config', 'show_link','show_price','show_machinery' ,'version_show','services_request' ])): ?> :class="{ 'border-r-2 border-sidebar-sky bg-sidebar-red !justify-between py-2' : !show }" <?php else: ?> :class="{ 'hover:border-r-2 hover:border-sidebar-sky hover:bg-sidebar-dark100 !justify-between py-2' : !show }" <?php endif; ?> class="flex w-full items-center justify-center cursor-pointer"> <div class="flex items-center justify-center text-white"> <i :class="{ 'ml-6 mr-3 text-xl 2xl:text-2xl' : !show }" class=' text-lg bx bxs-cog'></i> <span :class="{ '!block' : !show }" class=" hidden text-xs 2xl:text-sm bold"> مدیریت اپلیکیشن </span> </div> <div :class="{ '!block' : !show }" class="hidden"> <i class=' ml-6 text-xl 2xl:text-2xl text-white bx bx-chevron-down'></i> </div> </div> <div x-show="open & show" class=" z-50 w-[16rem] bg-sidebar-dark100 rounded-tl-lg absolute right-0 border-r-2 border-sidebar-sky top-0"> <div class=" relative w-full"> <div class="flex justify-start items-center h-12"> <div class="flex items-center justify-center text-white cursor-pointer w-14"> <i class=' text-lg bx bxs-cog'></i> </div> <span class=" text-white text-sm bold"> مدیریت اپلیکیشن </span> </div> <ul class="bg-sidebar-dark50 absolute w-[12.5rem] pr-1 rounded-bl-lg py-1 right-[3.4rem]"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services','manager_order'])): ?> <li class="p-1 mb-2 <?php if($pageName && ($pageName == 'show_register_code' )): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/register_code" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> اسمس کد تایید </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()->roll == 'ADMIN'): ?> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'show_platform'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/platform" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> مدیریت پلتفرم ثبت سفارش </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'category_order'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/category" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> دسته بندی سفارش </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'services_request'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/services/request" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold">درخواست ثبت خدماتی</span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'show_price'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/price/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold">شرح خدمات</span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'show_link'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/link/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> لینک ها </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'show_config'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/config/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> کانفیگ </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','ads'])): ?> <li class="p-1 mb-2 <?php if($pageName && ($pageName == 'show_slider' || $pageName == 'add_slider')): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/slider/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> مدیریت اسلایدر </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && ($pageName == 'show_app' || $pageName == 'add_app')): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/app/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> مدیریت اپلیکیشن </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services' ])): ?> <li class="p-1 mb-2 <?php if($pageName && ($pageName == 'show_order_status' || $pageName =='add_order_status')): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/order-status/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> وضعیت اجرا و وضعیت سفارش </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services','manager_order'])): ?> <li class="p-1 mb-2 <?php if($pageName && ($pageName == 'show_factor' )): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/factor/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> مدیریت فاکتورها </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()->roll == 'services'): ?> <li class="p-1 mb-2 <?php if($pageName && ($pageName == 'services_setting' )): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/services/setting" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> تنظیمات</span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </ul> </div> </div> <ul x-show="collapse & !show" class="p-3 bg-sidebar-dark50 w-full"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services','manager_order'])): ?> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && ($pageName == 'show_register_code' )): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/register_code" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> اسمس کد تایید </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()->roll == 'ADMIN'): ?> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'show_platform'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/platform" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> مدیریت پلتفرم ثبت سفارش </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'category_order'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/category" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> دسته بندی سفارش </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'services_request'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/services/request" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> درخواست ثبت خدماتی </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'show_price'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/price/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> شرح خدمات</span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'show_link'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/link/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> لینک ها </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'show_config'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/config/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> کانفیگ</span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services' ])): ?> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && ($pageName == 'show_order_status' || $pageName =='add_order_status')): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/order-status/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> وضعیت اجرا و وضعیت سفارش </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','ads'])): ?> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && ($pageName == 'show_slider' || $pageName == 'add_slider')): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/slider/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> مدیریت اسلایدر </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && ($pageName == 'show_app' || $pageName == 'add_app')): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/app/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> مدیریت اپلیکیشن </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services'])): ?> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && ($pageName == 'show_factor' )): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/app/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> مدیریت فاکتورها </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()->roll == 'services'): ?> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && ($pageName == 'services_setting' )): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/services/setting" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> تنظیمات</span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </ul> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <li x-data="{ open: false }" @mouseover="open = true" @mouseover.away = "open = false" <?php if($pageName && $pageName == 'panel'): ?> :class="{ 'bg-sidebar-red ' : show }" <?php endif; ?> class=" relative p-1 h-12 flex items-center justify-center "> <a href="/admin" <?php if($pageName && $pageName == 'panel'): ?> :class="{ 'border-r-2 border-sidebar-sky bg-sidebar-red !justify-start py-2' : !show }" <?php else: ?> :class="{ 'hover:border-r-2 hover:border-sidebar-sky hover:bg-sidebar-dark100 !justify-start py-2' : !show }" <?php endif; ?> class="flex w-full items-center justify-center text-white cursor-pointer"> <i :class="{ 'ml-6 mr-3 text-xl 2xl:text-2xl' : !show }" class=' text-lg bx bxs-dashboard'></i> <span :class="{ '!block' : !show }" class=" hidden text-xs 2xl:text-sm bold">داشبورد</span> </a> <a x-show="open & show" href="/admin" class=" z-50 w-[16rem] bg-sidebar-dark100 rounded-tl-lg absolute right-0 border-r-2 border-sidebar-sky top-0"> <div class=" relative w-full"> <div class="flex justify-start items-center h-12"> <div class="flex items-center justify-center text-white cursor-pointer w-14"> <i class=' text-lg bx bxs-dashboard'></i> </div> <span class=" text-white text-sm bold"> داشبورد </span> </div> </div> </a> </li> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['manager_order'])): ?> <li x-data="{ open: false }" @mouseover="open = true" @mouseover.away = "open = false" <?php if($pageName && $pageName == 'panel_work'): ?> :class="{ 'bg-sidebar-red ' : show }" <?php endif; ?> class=" relative p-1 h-12 flex items-center justify-center "> <a href="/admin/work" <?php if($pageName && $pageName == 'panel_work'): ?> :class="{ 'border-r-2 border-sidebar-sky bg-sidebar-red !justify-start py-2' : !show }" <?php else: ?> :class="{ 'hover:border-r-2 hover:border-sidebar-sky hover:bg-sidebar-dark100 !justify-start py-2' : !show }" <?php endif; ?> class="flex w-full items-center justify-center text-white cursor-pointer"> <i :class="{ 'ml-6 mr-3 text-xl 2xl:text-2xl' : !show }" class=' text-lg bx bx-chart'></i> <span :class="{ '!block' : !show }" class=" hidden text-xs 2xl:text-sm bold">داشبورد طراح </span> </a> <a x-show="open & show" href="/admin/work" class=" z-50 w-[16rem] bg-sidebar-dark100 rounded-tl-lg absolute right-0 border-r-2 border-sidebar-sky top-0"> <div class=" relative w-full"> <div class="flex justify-start items-center h-12"> <div class="flex items-center justify-center text-white cursor-pointer w-14"> <i class=' text-lg bx bx-chart'></i> </div> <span class=" text-white text-sm bold"> داشبورد طراح </span> </div> </div> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services','secretary','manager_order'])): ?> <li x-data="{ open: false }" @mouseover="open = true" @mouseover.away = "open = false" <?php if($pageName && $pageName == 'show_order'): ?> :class="{ 'bg-sidebar-red ' : show }" <?php endif; ?> class=" relative p-1 h-12 flex items-center justify-center "> <a href="/admin/order/show" <?php if($pageName && $pageName == 'show_order'): ?> :class="{ 'border-r-2 border-sidebar-sky bg-sidebar-red !justify-start py-2' : !show }" <?php else: ?> :class="{ 'hover:border-r-2 hover:border-sidebar-sky hover:bg-sidebar-dark100 !justify-start py-2' : !show }" <?php endif; ?> class="flex w-full items-center justify-center text-white cursor-pointer"> <i :class="{ 'ml-6 mr-3 text-xl 2xl:text-2xl' : !show }" class=' text-lg bx bx-shopping-bag'></i> <span :class="{ '!block' : !show }" class=" hidden text-xs 2xl:text-sm bold">مدیریت سفارشات</span> </a> <a x-show="open & show" href="/admin/order/show" class=" z-50 w-[16rem] bg-sidebar-dark100 rounded-tl-lg absolute right-0 border-r-2 border-sidebar-sky top-0"> <div class=" relative w-full"> <div class="flex justify-start items-center h-12"> <div class="flex items-center justify-center text-white cursor-pointer w-14"> <i class=' text-lg bx bx-shopping-bag'></i> </div> <span class=" text-white text-sm bold"> مدیریت سفارشات </span> </div> </div> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services','secretary','manager_order'])): ?> <li x-data="{ open: false , collapse:false }" @mouseover="open = true" @mouseover.away = "open = false" <?php if($pageName && ($pageName == 'chat_message' || $pageName == 'ticket_message' )): ?> :class="{ 'bg-sidebar-red flex justify-center items-center h-12' : show }" <?php else: ?> :class="{ 'h-12 flex justify-center items-center ' : show }" <?php endif; ?> :class="{ '!block !h-auto' : !show }" class="relative p-2 "> <div @click="collapse=!collapse" <?php if($pageName && ($pageName == 'chat_message' || $pageName == 'ticket_message' )): ?> :class="{ 'border-r-2 border-sidebar-sky bg-sidebar-red !justify-between py-2' : !show }" <?php else: ?> :class="{ 'hover:border-r-2 hover:border-sidebar-sky hover:bg-sidebar-dark100 !justify-between py-2' : !show }" <?php endif; ?> class="flex w-full items-center justify-center cursor-pointer"> <div class="flex items-center justify-center text-white"> <i :class="{ 'ml-6 mr-3 text-xl 2xl:text-2xl' : !show }" class=' text-lg bx bx-chat'></i> <span :class="{ '!block' : !show }" class=" hidden text-xs 2xl:text-sm bold"> مدیریت پیامرسان </span> </div> <div :class="{ '!block' : !show }" class="hidden"> <i class=' ml-6 text-xl 2xl:text-2xl text-white bx bx-chevron-down'></i> </div> </div> <div x-show="open & show" class=" z-50 w-[16rem] bg-sidebar-dark100 rounded-tl-lg absolute right-0 border-r-2 border-sidebar-sky top-0"> <div class=" relative w-full"> <div class="flex justify-start items-center h-12"> <div class="flex items-center justify-center text-white cursor-pointer w-14"> <i class=' text-lg bx bx-chat'></i> </div> <span class=" text-white text-sm bold"> مدیریت پیامرسان </span> </div> <ul class="bg-sidebar-dark50 absolute w-[12.5rem] pr-1 rounded-bl-lg py-1 right-[3.4rem]"> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'chat_message'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/chat/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> پیام ها</span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'ticket_message'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/message/tickets" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> تیکت </span> </a> </li> </ul> </div> </div> <ul x-show="collapse & !show" class="p-3 bg-sidebar-dark50 w-full"> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'chat_message'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/chat/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> پیام ها </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'ticket_message'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/message/tickets" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> تیکت </span> </a> </li> </ul> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN'])): ?> <li x-data="{ open: false , collapse:false }" @mouseover="open = true" @mouseover.away = "open = false" <?php if(in_array($pageName,['reports_customer','reports_designer','payment_log','payment_user','reports_payment','reports_status','reports_platform'])): ?> :class="{ 'bg-sidebar-red flex justify-center items-center h-12' : show }" <?php else: ?> :class="{ 'h-12 flex justify-center items-center ' : show }" <?php endif; ?> :class="{ '!block !h-auto' : !show }" class="relative p-2 "> <div @click="collapse=!collapse" <?php if(in_array($pageName,['reports_customer','reports_designer','payment_log','payment_log','reports_payment','reports_status','reports_platform'])): ?> :class="{ 'border-r-2 border-sidebar-sky bg-sidebar-red !justify-between py-2' : !show }" <?php else: ?> :class="{ 'hover:border-r-2 hover:border-sidebar-sky hover:bg-sidebar-dark100 !justify-between py-2' : !show }" <?php endif; ?> class="flex w-full items-center justify-center cursor-pointer"> <div class="flex items-center justify-center text-white"> <i :class="{ 'ml-6 mr-3 text-xl 2xl:text-2xl' : !show }" class=' text-lg bx bxs-coin-stack'></i> <span :class="{ '!block' : !show }" class=" hidden text-xs 2xl:text-sm bold"> گزارشات </span> </div> <div :class="{ '!block' : !show }" class="hidden"> <i class=' ml-6 text-xl 2xl:text-2xl text-white bx bx-chevron-down'></i> </div> </div> <div x-show="open & show" class=" z-50 w-[16rem] bg-sidebar-dark100 rounded-tl-lg absolute right-0 border-r-2 border-sidebar-sky top-0"> <div class=" relative w-full"> <div class="flex justify-start items-center h-12"> <div class="flex items-center justify-center text-white cursor-pointer w-14"> <i class=' text-lg bx bxs-coin-stack'></i> </div> <span class=" text-white text-sm bold"> گزارشات </span> </div> <ul class="bg-sidebar-dark50 absolute w-[12.5rem] pr-1 rounded-bl-lg py-1 right-[3.4rem]"> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'reports_customer'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/reports/customer" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> مشتریان </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'reports_designer'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/reports/designer" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> طراح </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'reports_status'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/reports/status" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> وضعیت </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'reports_platform'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/reports/platform" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> پلتفرم ثبت سفارش </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'reports_payment'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/reports/payment" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> لیست تراکنش ها </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'payment_log'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/payment/log" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> پرداخت درگاه </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'payment_user'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/payment/users" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> تراکنش درگاه </span> </a> </li> </ul> </div> </div> <ul x-show="collapse & !show" class="p-3 bg-sidebar-dark50 w-full"> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'reports_customer'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/reports/customer" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> مشتریان </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'reports_designer'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/reports/designer" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> طراح </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'reports_status'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/reports/status" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> وضعیت </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'reports_platform'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/reports/platform" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> پلتفرم ثبت سفارش </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'reports_payment'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/reports/payment" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> لیست تراکنش ها </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'payment_log'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/payment/log" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> پرداخت درگاه </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'payment_user'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/payment/users" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> تراکنش درگاه</span> </a> </li> </ul> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['services','manager_order'])): ?> <li x-data="{ open: false , collapse:false }" @mouseover="open = true" @mouseover.away = "open = false" <?php if(in_array($pageName ,[ 'check_receive','check_pay','definition_index','document_index','cash_pay','cash_receive'])): ?> :class="{ 'bg-sidebar-red flex justify-center items-center h-12' : show }" <?php else: ?> :class="{ 'h-12 flex justify-center items-center ' : show }" <?php endif; ?> :class="{ '!block !h-auto' : !show }" class="relative p-2 "> <div @click="collapse=!collapse" <?php if(in_array($pageName ,[ 'check_receive','check_pay','definition_index','document_index','cash_pay','cash_receive'])): ?> :class="{ 'border-r-2 border-sidebar-sky bg-sidebar-red !justify-between py-2' : !show }" <?php else: ?> :class="{ 'hover:border-r-2 hover:border-sidebar-sky hover:bg-sidebar-dark100 !justify-between py-2' : !show }" <?php endif; ?> class="flex w-full items-center justify-center cursor-pointer"> <div class="flex items-center justify-center text-white"> <i :class="{ 'ml-6 mr-3 text-xl 2xl:text-2xl' : !show }" class=' text-lg bx bx-dollar-circle'></i> <span :class="{ '!block' : !show }" class=" hidden text-xs 2xl:text-sm bold"> مدیریت مالی </span> </div> <div :class="{ '!block' : !show }" class="hidden"> <i class=' ml-6 text-xl 2xl:text-2xl text-white bx bx-chevron-down'></i> </div> </div> <div x-show="open & show" class=" z-50 w-[16rem] bg-sidebar-dark100 rounded-tl-lg absolute right-0 border-r-2 border-sidebar-sky top-0"> <div class=" relative w-full"> <div class="flex justify-start items-center h-12"> <div class="flex items-center justify-center text-white cursor-pointer w-14"> <i class=' text-lg bx bx-dollar-circle'></i> </div> <span class=" text-white text-sm bold"> مدیریت مالی </span> </div> <ul class="bg-sidebar-dark50 absolute w-[12.5rem] pr-1 rounded-bl-lg py-1 right-[3.4rem]"> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'definition_index'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/financial/definition/index" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> تعریف حساب ها </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'document_index'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/financial/document/index" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-left-arrow-alt'></i> <span class=" block text-xs bold"> سند حسابداری </span> </a> </li> </ul> </div> </div> <ul x-show="collapse & !show" class="p-3 bg-sidebar-dark50 w-full"> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'definition_index'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/financial/definition/index" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> تعریف حساب ها </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'document_index'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/financial/document/index" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-left-arrow-alt'></i> <span class=" block text-xs 2xl:text-sm bold"> سند حسابداری </span> </a> </li> </ul> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services','MarketingManager','manager_order'])): ?> <li x-data="{ open: false , collapse:false }" @mouseover="open = true" @mouseover.away = "open = false" <?php if(in_array($pageName,['show_employee','add_employee','edit_employee','edit_user','show_user','show_marketer','add_admin_user','services_admin_user','add_admin_user','show_admin_user','show_all_user','edit_user','show_user' ])): ?> :class="{ 'bg-sidebar-red flex justify-center items-center h-12' : show }" <?php else: ?> :class="{ 'h-12 flex justify-center items-center ' : show }" <?php endif; ?> :class="{ '!block !h-auto' : !show }" class="relative p-2 "> <div @click="collapse=!collapse" <?php if(in_array($pageName,['show_employee','add_employee','edit_employee','edit_user','show_user','show_marketer','add_admin_user','services_admin_user','add_admin_user','show_admin_user','show_all_user','edit_user','show_user' ]) ): ?> :class="{ 'border-r-2 border-sidebar-sky bg-sidebar-red !justify-between py-2' : !show }" <?php else: ?> :class="{ 'hover:border-r-2 hover:border-sidebar-sky hover:bg-sidebar-dark100 !justify-between py-2' : !show }" <?php endif; ?> class="flex w-full items-center justify-center cursor-pointer"> <div class="flex items-center justify-center text-white"> <i :class="{ 'ml-6 mr-3 text-xl 2xl:text-2xl' : !show }" class=' text-lg bx bx-user-circle'></i> <span :class="{ '!block' : !show }" class=" hidden text-xs 2xl:text-sm bold"> مدیریت کاربران </span> </div> <div :class="{ '!block' : !show }" class="hidden"> <i class=' ml-6 text-xl 2xl:text-2xl text-white bx bx-chevron-down'></i> </div> </div> <div x-show="open & show" class=" z-50 w-[16rem] bg-sidebar-dark100 rounded-tl-lg absolute right-0 border-r-2 border-sidebar-sky top-0"> <div class=" relative w-full"> <div class="flex justify-start items-center h-12"> <div class="flex items-center justify-center text-white cursor-pointer w-14"> <i class=' text-lg bx bx-user-circle'></i> </div> <span class=" text-white text-sm bold"> مدیریت کاربران </span> </div> <ul class="bg-sidebar-dark50 absolute w-[12.5rem] pr-1 rounded-bl-lg py-1 right-[3.4rem]"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()->roll == 'ADMIN'): ?> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'add_admin_user' || $pageName == 'show_admin_user'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/user-admin/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-user-circle'></i> <span class=" block text-xs bold"> ادمین </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'show_all_user'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/user/all" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx bx-user'></i> <span class=" block text-xs bold"> برنامه </span> </a> </li> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'add_admin_user' || $pageName == 'services_admin_user' ): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/user-admin/services" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bx-user-pin'></i> <span class=" block text-xs bold"> خدماتی </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','MarketingManager'])): ?> <li class="p-1 mb-2 <?php if($pageName && $pageName == 'show_marketer'): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/marketer/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bxs-user-rectangle'></i> <span class=" block text-xs bold"> بازاریاب </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services','manager_order'])): ?> <li class="p-1 mb-2 <?php if($pageName && ($pageName == 'edit_user' || $pageName == 'show_user')): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/user/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bxs-user-rectangle'></i> <span class=" block text-xs bold"> مشتریان </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()->roll == 'services'): ?> <li class="p-1 mb-2 <?php if($pageName && ($pageName == 'show_employee' || $pageName == 'add_employee' || $pageName == 'edit_employee')): ?> !text-sidebar-ping <?php endif; ?> text-gray-300 hover:text-white "> <a href="/admin/employee/show" class="flex items-center justify-start cursor-pointer"> <i class='ml-3 text-base bx bxs-user-rectangle'></i> <span class=" block text-xs bold"> کارمندان </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </ul> </div> </div> <ul x-show="collapse & !show" class="p-3 bg-sidebar-dark50 w-full"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()->roll == 'ADMIN'): ?> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'add_admin_user' || $pageName == 'show_admin_user'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/user-admin/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-user-circle'></i> <span class=" block text-xs 2xl:text-sm bold"> ادمین </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'show_all_user'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/user/all" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx bx-user'></i> <span class=" block text-xs 2xl:text-sm bold"> برنامه </span> </a> </li> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'add_admin_user' || $pageName == 'services_admin_user' ): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/user-admin/services" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bx-user-pin'></i> <span class=" block text-xs 2xl:text-sm bold"> خدماتی </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','MarketingManager'])): ?> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && $pageName == 'show_marketer'): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/marketer/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bxs-user-rectangle'></i> <span class=" block text-xs 2xl:text-sm bold"> بازاریاب </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(in_array(auth()->user()->roll,['ADMIN','services'])): ?> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && ($pageName == 'edit_user' || $pageName == 'show_user')): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/user/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bxs-user-rectangle'></i> <span class=" block text-xs 2xl:text-sm bold"> مشتریان </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()->roll == 'services'): ?> <li class="p-1 mb-2 hover:bg-sidebar-red hover:rounded-l-xl <?php if($pageName && ($pageName == 'show_employee' || $pageName == 'add_employee' || $pageName == 'edit_employee')): ?> bg-sidebar-red rounded-l-xl <?php endif; ?> "> <a href="/admin/employee/show" class="flex items-center justify-start text-white cursor-pointer"> <i class='ml-6 text-xl 2xl:text-2xl bx bxs-user-rectangle'></i> <span class=" block text-xs 2xl:text-sm bold"> کارمندان </span> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </ul> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()->roll == 'MarketingManager' ): ?> <li x-data="{ open: false }" @mouseover="open = true" @mouseover.away = "open = false" <?php if($pageName && $pageName == 'show_marketer'): ?> :class="{ 'bg-sidebar-red ' : show }" <?php endif; ?> class=" relative p-1 h-12 flex items-center justify-center "> <a href="/admin/marketer/show" <?php if($pageName && $pageName == 'show_marketer'): ?> :class="{ 'border-r-2 border-sidebar-sky bg-sidebar-red !justify-start py-2' : !show }" <?php else: ?> :class="{ 'hover:border-r-2 hover:border-sidebar-sky hover:bg-sidebar-dark100 !justify-start py-2' : !show }" <?php endif; ?> class="flex w-full items-center justify-center text-white cursor-pointer"> <i :class="{ 'ml-6 mr-3 text-xl 2xl:text-2xl' : !show }" class=' text-lg bx bxs-user-rectangle'></i> <span :class="{ '!block' : !show }" class=" hidden text-xs 2xl:text-sm bold">مدیریت بازاریاب</span> </a> <a x-show="open & show" href="/admin/marketer/show" class=" z-50 w-[16rem] bg-sidebar-dark100 rounded-tl-lg absolute right-0 border-r-2 border-sidebar-sky top-0"> <div class=" relative w-full"> <div class="flex justify-start items-center h-12"> <div class="flex items-center justify-center text-white cursor-pointer w-14"> <i class=' text-lg bx bxs-user-rectangle'></i> </div> <span class=" text-white text-sm bold"> مدیریت بازاریاب </span> </div> </div> </a> </li> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <li class="p-1 h-12 flex items-center justify-center "> <a href="<?php echo e(route('adminLogout')); ?>" onclick="event.preventDefault(); document.getElementById('logout-form').submit();" :class="{ 'hover:border-r-2 hover:border-sidebar-sky hover:bg-sidebar-dark100 !justify-start py-2' : !show }" class="flex w-full items-center justify-center text-white cursor-pointer"> <i :class="{ 'ml-6 mr-3 text-xl 2xl:text-2xl' : !show }" class=' text-lg bx bx-exit'></i> <span :class="{ '!block' : !show }" class=" hidden text-xs 2xl:text-sm bold">خروج از حساب کاربری</span> </a> </li> </ul> </aside> </div> <?php /**PATH /home2/cutunixc/repositories/npln/resources/views/livewire/admin/general/mini-sidebar.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa