���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: 3670f3d459774c16062f09f6d3b1449f.php
<div > <?php echo $__env->make('components.layouts.general.loading',['target'=>'sendMessage'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('components.layouts.general.loading',['target'=>'file'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('components.layouts.general.loading',['target'=>'set_id'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('components.layouts.general.loading',['target'=>'delete_message'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('components.layouts.general.loading',['target'=>'loadMoreUser'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('components.layouts.general.loading',['target'=>'edit_message'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php echo $__env->make('components.layouts.general.loading',['target'=>'close_order'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <div class="w-11/12 p-2 mx-auto mt-5 bg-white rounded-lg shadow-lg scale-[90%]" dir="rtl" > <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($errors->any()): ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('general.error-validate', ['message' => $error]); $__key = null; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2464874218-0', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <div class="min-w-full border rounded lg:grid lg:grid-cols-3 " > <div class="border-l relative border-gray-300 lg:col-span-1" wire:poll.1s> <div class="mx-3 my-3"> <div class="relative text-gray-600"> <span class="absolute inset-y-0 left-0 flex items-center pl-2"> <svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="w-6 h-6 text-gray-300"> <path d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path> </svg> </span> <input type="search" wire:model.debounce.100ms="search" class="block w-full py-2 pl-10 text-gray-900 bg-gray-100 border border-gray-300 rounded outline-none disablecopypaste focus:ring-main-700 focus:border-main-700 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-main-700 dark:focus:border-main-700" name="search" placeholder="جستجو..." /> </div> </div> <ul class="overflow-auto h-[35rem] 3xl:h-[43rem] " > <h2 class="my-2 mb-2 mr-2 text-base text-main-700">پیام ها </h2> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $item=(Object) $item; $order_item= orderget($item->order_id); ?> <li> <div wire:click="set_id(<?php echo e(json_encode($item)); ?>)" class="px-3 <?php if($order_id == $order_item->id): ?> bg-gray-100 <?php endif; ?> py-2 text-sm transition duration-150 ease-in-out border-b border-gray-300 cursor-pointer hover:bg-gray-100 focus:outline-none"> <a class="flex items-center w-full "> <img class="object-cover w-10 h-10 rounded-full" src="<?php echo e(asset('/images/img_avatar.png')); ?>" alt="username" /> <div class="w-full pb-2"> <div class="flex justify-between"> <span class="block mr-2 font-semibold text-gray-600"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.chat.name-row', ['orderId' => $order_item->id,'order_id' => $order_item->id]); $__key = ''.e(time().rand(0,999)).''; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2464874218-1', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </span> <div class="text-center "> <span class="block mr-2 text-sm text-gray-600 underline " dir="ltr"><?php echo e($item->date_show); ?></span> <span class="block text-xs text-gray-600 " dir="ltr">کد سفارش : <?php echo e($order_item->number); ?></span> </div> </div> <div class=" flex justify-between items-center"> <span class="block mr-2 overflow-hidden text-sm text-gray-600 w-52 text-ellipsis"><?php echo e($item->msg); ?></span> <div class=" text-center md:ml-4"> <div class="block mb-1 text-xs text-gray-600 " dir="ltr"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($item->seen == 'no' && $item->status == 'user'): ?> <span class=" inline-block bg-red-100 text-red-800 text-sm font-medium mt-1 px-2.5 py-0.5 rounded ">خوانده نشده</span> <?php else: ?> <span class="inline-block bg-green-100 text-green-800 text-sm font-medium mt-1 px-2.5 py-0.5 rounded ">خوانده شده</span> <?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($order_item->close != 'false'): ?> <span class=" block bg-red-100 text-red-800 text-sm font-medium mt-1 px-2.5 py-0.5 rounded ">بسته شده</span> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> </div> </div> </div> </a> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll == 'ADMIN' || Auth::user()->roll == 'secretary'): ?> <div class="flex items-center justify-start"> <span class="block text-sm text-gray-600"> نام خدماتی : </span> <span class="block text-sm text-gray-600"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin.pages.chat.name-row', ['orderId' => $order_item->id,'type' => 'services','order_id' => $order_item->id]); $__key = ''.e(time().rand(0,999)).''; $__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2464874218-2', $__key); $__html = app('livewire')->mount($__name, $__params, $__key); echo $__html; unset($__html); unset($__key); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </span> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </ul> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($users->hasMorePages() ): ?> <div class="flex absolute w-full bottom-0 justify-center"> <button id="loadMoreTag" wire:click.prevent="loadMoreUser" class="w-full bg-gray-100 py-2 text-xs text-center text-gray-700 rounded-md focus:outline-none"> مشاهده بیشتر </button> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <div class="hidden lg:col-span-2 lg:block"> <div class="w-full"> <div class="relative flex items-center justify-between p-3 border-b border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(count($messages) > 0): ?> <div class=" <?php if($order->close == 'false'): ?> w-72 3xl:w-64 <?php else: ?> w-32 <?php endif; ?> "> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer'): ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($order->close == 'false'): ?> <span wire:click="close_order()" class=" inline-block bg-pink-300 cursor-pointer text-red-800 text-sm font-medium px-2.5 py-2 rounded hover:bg-pink-400 hover:text-red-900"> بستن سفارش</span> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <div class="w-7/12"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer'): ?> <select wire:model="status" wire:change='changeStatus()' class=" !pr-2 border py-2 border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-main-700 focus:border-main-700 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-main-700 dark:focus:border-main-700 "> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $all_status; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($item->title); ?>"> <?php echo e($item->title); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </select> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <div class="relative flex items-center justify-end w-5/12 "> <div class="flex items-center justify-between w-full "> <div class="w-4/12"> <span class="block mr-2 overflow-hidden font-bold text-gray-600 text-ellipsis"><?php echo e($title); ?></span> </div> <div class="relative flex items-center justify-end w-8/12 "> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($order): ?> <a href="/admin/dashboard/order/<?php echo e($order->id); ?>" target="_blank" class=" bg-main-700 order-1 cursor-pointer text-white inline-block text-sm rounded ml-3 py-2 px-2"> مشاهده سفارش </a> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> </div> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <div id="messages" class="relative w-full p-6 overflow-y-auto h-[30rem] 3xl:h-[39rem]"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(count($messages) > 0): ?> <ul class="space-y-2" > <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($messages->hasMorePages() ): ?> <li class="flex justify-center"> <button id="loadMoreTag" wire:click.prevent="loadMore" class="w-full py-2 text-xs font-semibold text-center text-gray-700 rounded-md xl:w-3/12 focus:outline-none"> مشاهده بیشتر </button> </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 $__currentLoopData = $messages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li class="flex <?php if($item->status == 'user'): ?> justify-start <?php else: ?> justify-end <?php endif; ?> "> <div class="relative max-w-xl <?php if($item->status != 'user'): ?> order-3 <?php endif; ?> "> <div class="px-4 py-2 text-right <?php if($item->status == 'user'): ?> text-gray-700 <?php else: ?> bg-gray-100 <?php endif; ?> rounded shadow"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($item->type == 'text'): ?> <span class="block"> <?php echo nl2br($item->msg ); ?></span> <?php else: ?> <a target="_blank" href="<?php echo e(env('FILE_URL').$item->msg); ?>" class="block text-center cursor-pointer "> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($item->mims == 'jpg' || $item->mims == 'png' || $item->mims == 'jpeg'): ?> <img class=" w-40 h-40 " src="<?php echo e(env('FILE_URL').$item->msg); ?>"> <?php elseif($item->mims == 'mp3' || $item->mims == 'ogg' ): ?> <audio controls class="my-2 w-full" > <source src="<?php echo e(env('FILE_URL').$item->msg); ?>"> </audio> <i class='text-5xl bx bx-download' ></i> <?php else: ?> <span class="block text-center text-main-700">فایل</span> <span class="block my-2 text-center text-main-700"><?php echo e($item->mims); ?></span> <i class='text-5xl bx bx-download' ></i> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </a> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <span class="block text-xs <?php if($item->status == 'user'): ?> text-left <?php else: ?> text-right <?php endif; ?> text-gray-300" dir="ltr"><?php echo e($item->date_show); ?></span> </div> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($item->status != 'user'): ?> <div> <div class=" flex justify-end items-center"> <div wire:click="delete_message(<?php echo e($item->id); ?>)" class=" cursor-pointer mx-1 w-10 h-10 text-gray-500 hover:text-gray-800 bg-gray-100 rounded-full flex justify-center items-center <?php if($item->status != 'user'): ?> order-2 <?php endif; ?> "> <i class='bx bx-trash text-xl '></i> </div> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($item->type == 'text'): ?> <div wire:click="edit_message(<?php echo e($item); ?>)" class=" mx-1 cursor-pointer w-10 h-10 text-gray-500 hover:text-gray-800 bg-gray-100 rounded-full flex justify-center items-center <?php if($item->status != 'user'): ?> order-1 <?php endif; ?> "> <i class='bx bx-pencil text-xl '></i> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer' && $item->sender_id && $item->status != 'user'): ?> <span class="block pl-2 mt-2 text-xs <?php if($item->status == 'user'): ?> text-left <?php else: ?> text-right <?php endif; ?> text-gray-400" dir="ltr"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if( $item->sender && $item->sender->first_name && $item->sender->last_name): ?> <?php echo e($item->sender->first_name.' '.$item->sender->last_name); ?> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </span> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </ul> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> <div class="flex items-center justify-between w-full p-3 border-t border-gray-300"> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(count($messages) > 0 && $order->close == 'false'): ?> <button wire:click="sendMessage('text')"> <svg class="w-5 h-5 text-gray-500 origin-center transform rotate-90" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path d="M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z" /> </svg> </button> <textarea wire:model.defer='msg' placeholder="ارسال پیام..." class="block w-full py-2 pr-4 mx-3 text-gray-900 border border-gray-300 rounded bg-gray-50 focus:ring-main-700 focus:border-main-700 "></textarea> <input wire:model="file" multiple id="file-input" type="file" class="hidden " /> <label wire:change="sendMessage('file')" for="file-input" class="cursor-pointer "> <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-gray-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13" /> </svg> </label> <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?> </div> </div> </div> </div> </div> </div> <?php /**PATH /home2/cutunixc/repositories/npln/resources/views/livewire/admin/pages/chat/show.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa