���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
/
cutunix
/
resources
/
views
/
livewire
/
admin
/
pages
/
table
/
user
/
Viewing: all.blade.php
<div> <!------------ Filter ----------> <div class="my-2"> <div x-data="{open:false}"> <button type="button" class="inline-flex w justify-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 " x-on:click="open = !open"> فیلتر <svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z"></path> </svg> </button> <div x-show="open " x-transition:enter="ease-out duration-300" x-transition:enter-start="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" x-transition:enter-end="opacity-100 translate-y-0 sm:scale-100" x-transition:leave="ease-in duration-200" x-transition:leave-start="opacity-100 translate-y-0 sm:scale-100" x-transition:leave-end="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" class=" mt-3 w-full md:flex md:space-y-0 md:space-x-2"> <div class=" space-y-2 lg:space-y-0 lg:flex justify-start items-center"> <input type="text" wire:model.live='search' placeholder="جستجو" class="block w-full ml-2 border-gray-300 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5 "> </div> <div class="w-full lg:w-3/12 lg:pl-2"> <button wire:click='handelExcel' type="button" class="block w-full py-2 text-xs font-semibold text-center text-white rounded cursor-pointer bg-main-800 hover:text-white hover:bg-main-700 focus:outline-none"> <span wire:loading.class="!hidden " wire:target="handelExcel" class="flex w-full justify-center items-center"> خروجی اکسل </span> <section wire:loading wire:target="handelExcel" wire:loading.class=" w-full flex justify-center items-start "> @include('components.layouts.general.miniLoadingButton',['without_text'=>'true']) </section> </button> </div> </div> </div> </div> <!------------ Table ----------> <div class=" w-full"> <div class="block shadow-md rounded-t-xl overflow-x-auto"> <table class="w-full text-left overflow-hidden"> <thead> <tr class="text-gray-900 bg-gray-100 "> <th class="truncate py-2 text-center text-sm font-light min-w-[4rem] px-1 "> # </th> <th class=" truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300 "> نام و نام خانوادگی </th> <th class=" truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300"> موبایل </th> <th class=" truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300"> اپلیکیشن </th> <th class="truncate py-2 text-center text-sm font-light min-w-[6rem] px-1 border-r border-gray-300"> وضعیت پرداخت </th> <th class=" truncate py-2 text-center text-sm font-light min-w-[8rem] px-1 border-r border-gray-300"> پلتفرم </th> <th class="truncate py-2 text-center text-sm font-light w-[8rem] px-1 border-r border-gray-300"> نقش </th> <th class="truncate py-2 text-center text-sm font-light min-w-[10rem] px-1 border-r border-gray-300"> شهر </th> <th class="truncate py-2 text-center text-sm font-light min-w-[12rem] px-1 border-r border-gray-300"> تعداد سفارش </th> <th class="truncate py-2 text-center text-sm font-light min-w-[12rem] px-1 border-r border-gray-300"> تاریخ اتمام اشتراک </th> <th class="truncate py-2 text-center text-sm font-light min-w-[12rem] px-1 border-r border-gray-300"> تاریخ ایجاد </th> <th class="truncate py-2 text-center text-sm font-light min-w-[12rem] px-1 border-r border-gray-300"> آخرین سفارش </th> <th class="truncate py-2 text-center text-sm font-light min-w-[12rem] px-1 border-r border-gray-300"> تراکنش ها </th> <th class="truncate py-2 text-center text-sm font-light min-w-[12rem] px-1 border-r border-gray-300"> سفارشات </th> <th class="truncate py-2 text-center text-sm font-light min-w-[12rem] px-1 border-r border-gray-300"> عملیات </th> </tr> </thead> <tbody> @foreach ($result as $row) <tr wire:key='{{ $row->id }}' class="w-full font-light text-gray-800 whitespace-no-wrap bg-white border border-b "> <td class="truncate px-2 py-2 text-sm text-center font-light "> {{ $row->id }} </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> {{ $row->first_name ?? '' }} {{ $row->last_name ?? '' }} </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> {{ $row->mobile ?? '-' }} </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <div class="p-1 rounded text-white text-xs @if($row->has_app) bg-green-700 @else bg-red-600 @endif"> {{ $row->has_app ? 'دارد' : 'ندارد' }} </div> </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <div class="p-1 rounded text-white text-xs @if($row->payment) bg-green-700 @else bg-orange-400 @endif"> {{ $row->payment ? 'پرداخت شده' : 'در انتظار پرداخت' }} </div> </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> {{ $row->platform }} </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> @if ( 0 < count($row->getRoleNames())) <div class=" flex flex-wrap justify-start items-center"> @foreach ( $row->getRoleNames() as $name) <div class="flex justify-center items-center bg-gray-200 rounded py-1 px-2 mb-2 ml-1"> <span class=" inline-block text-xs bold text-red-700"> {{ $name }} </span> </div> @endforeach </div> @endif </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> @if($row->city && $row->city->city ) {{ $row->city->city }} @else --- @endif </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> @if($row->count_orders) {{ $row->count_orders }} @else --- @endif </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> @if($row->expire_date) {{ $row->expire_date }} @else --- @endif </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> @include('tables.cells.orderCreatedActions',['row'=>$row]) </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> @if($row->last_order) {{ $row->last_order }} @else --- @endif </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> @include('tables.cells.actionsB',['link'=>'/admin/payment/show/'.$row->id,'color'=>"bg-red-800 hover:bg-red-600 ",'name'=>"مشاهده "]) </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> @include('tables.cells.actionsB',['link'=>'/admin/order/user/'.$row->id,'name'=>"مشاهده "]) </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> @include('tables.cells.edit',['row'=>$row,'name'=>"admin.pages.modal.user.all.edit"]) </td> </tr> @endforeach </tbody> </table> </div> <div class="mt-2"> {{ $result->links() }} </div> </div> </div>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa