���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: 942501f24c440685829c3b0d3b9bd477.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(); ?> <div class="w-11/12 p-2 mx-auto bg-white rounded-lg shadow-lg" 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-4051019441-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" wire:poll> <div class=" lg:col-span-full lg:block"> <div class="w-full"> <div class="relative flex items-center justify-between p-3 border-b border-gray-300"> <span class="block ml-2 font-bold text-gray-600"><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(json_decode($customer)): ?> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(json_decode($customer)->first_name || json_decode($customer)->last_name ): ?> <?php echo e(json_decode($customer)->first_name.' '.json_decode($customer)->last_name); ?> <?php else: ?> <?php echo e(json_decode($customer)->mobile); ?> <?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; ?></span> <img class="object-cover w-10 h-10 rounded-full" src="<?php echo e(asset('/images/img_avatar.png')); ?>" alt="username" /> </div> <div id="messages" class="relative w-full p-6 overflow-y-auto h-[22rem] md:h-[21rem] 2xl:h-[30rem]"> <?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"> مشاهده بیشتر <svg wire:loading class="w-5 h-5 mr-3 -ml-1 text-black animate-spin" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" > <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4" ></circle> <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" ></path> </svg> </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' && Auth::user()->roll != 'manager_designer'): ?> <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 <?php if($message_id && $message_id == $item->id ): ?> wire:click="edit_message(<?php echo e($item); ?>,'close')" <?php else: ?> wire:click="edit_message(<?php echo e($item); ?>)" <?php endif; ?> 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; ?> "> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($message_id && $message_id == $item->id ): ?> <i class='bx bx-x text-xl '></i> <?php else: ?> <i class='bx bx-pencil text-xl '></i> <?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; ?> </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> <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(Auth::user()->roll != 'manager_designer'): ?> <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( $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 else: ?> <div class="p-2 w-full"> <div class="flex w-full p-4 mb-4 text-sm text-white rounded-lg bg-main-700 " role="alert"> <svg aria-hidden="true" class="flex-shrink-0 inline w-5 h-5 ml-3" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd"></path></svg> <span class="sr-only">Info</span> <div> <span class="text-sm font-bold"> سفارش بسته شده است </span> </div> </div> </div> <?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; ?> </div> </div> </div> </div> </div> <?php /**PATH /home2/cutunixc/repositories/npln/resources/views/livewire/admin/pages/message/order.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa