���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
/
storage
/
framework
/
views
/
Viewing: 70bc077a2d64d3ae76715f6479ae4a4b.php
<div> <?php echo $__env->make('components.layouts.general.loading', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <!------------ 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 lg:flex-wrap w-full justify-start items-center"> <div class="w-full lg:w-3/12 lg:pl-2"> <input type="text" wire:model.live='search' placeholder=" نام " class="block w-full 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"> <select wire:model.live='category' class="block w-full h-10 py-0 !pr-1 text-sm text-gray-900 border border-gray-300 rounded focus:ring-main-700 focus:border-main-700"> <option value="0" >دسته بندی را انتخاب کنید</option> <option value="drawer"> یونیت کشو </option> <option value="refrigerator"> یونیت یخچال </option> <option value="height"> یونیت قدی </option> <option value="air"> یونیت هوایی </option> <option value="ground"> یونیت زمینی </option> <option value="decor"> یونیت دکور </option> </select> </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 "> <?php echo $__env->make('components.layouts.general.miniLoadingButton',['without_text'=>'true'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </section> </button> </div> </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-[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> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('analyze.units.edit')): ?> <th class="truncate py-2 text-center text-sm font-light min-w-[12rem] px-1 border-r border-gray-300" > تغییرات </th> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('analyze.units.delete')): ?> <th class="truncate py-2 text-center text-sm font-light min-w-[12rem] px-1 border-r border-gray-300" > عملیات </th> <?php endif; ?> <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> <?php $__currentLoopData = $result; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr wire:key='<?php echo e($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 "> <?php echo e($row->id); ?> </td> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php if($row->title): ?> <?php echo e($row->title); ?> <?php else: ?> --- <?php endif; ?> </td> <td class="truncate px-2 py-2 text-sm text-center <?php if($row->status == 'true'): ?> text-green-700 <?php else: ?> text-red-700 <?php endif; ?> font-light border-r border-gray-300"> <?php if($row->status == 'true'): ?> نمایش <?php else: ?> عدم نمایش <?php endif; ?> </td> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('analyze.units.edit')): ?> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo $__env->make('tables.cells.actionsB',['blank'=>'false','name'=>'ویرایش','link'=>"/admin/analyze/units/edit/". $row->id], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </td> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('analyze.units.delete')): ?> <td class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <button type="button" wire:click="deleteItem(<?php echo e($row->id); ?>)" class="w-full p-2 text-xs font-semibold text-center text-white rounded bg-red-700 xl:w-full focus:outline-none"> حذف </button> </td> <?php endif; ?> <td dir="ltr" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo e(\App\Helpers\dateConvert($row->created_at,'formatS')); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <div class="mt-2"> <?php echo e($result->links()); ?> </div> </div> </div> <?php /**PATH /home2/cutunixc/repositories/cutunix/resources/views/livewire/admin/pages/analyze/units/table.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa