ヤミRoot VoidGate
User / IP
:
216.73.217.162
Host / Server
:
15.235.182.215 / pollibazaar.com
System
:
Linux asia.cbnex.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
pollibazaar
/
public_html
/
storage
/
framework
/
views
/
Viewing: 9e36a68bb6031b37fd602272bf8820a1.php
<?php use App\Enums\GlobalConstant; use App\Utils\FileManagerLogic; ?> <?php if(isset($chattingMessages)): ?> <?php $__currentLoopData = $chattingMessages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $message): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $documentExtensions = GlobalConstant::DOCUMENT_EXTENSION; $documentFiles = []; $otherFiles = []; if (!empty($message->attachment_full_url)) { foreach ($message->attachment_full_url as $attachment) { $extension = strrchr($attachment['key'], '.'); if (in_array($extension, $documentExtensions)) { $documentFiles[] = $attachment; } else { $otherFiles[] = $attachment; } } } ?> <?php if($message->sent_by_seller || $message->sent_by_admin || $message->sent_by_delivery_man): ?> <div class="incoming_msg d-flex align-items-end"> <div class="incoming_msg_img"> <img src="<?php echo e($userType == 'admin' ? getStorageImages(path: getInHouseShopConfig(key: 'image_full_url'), type: 'shop') : ( $userType == 'vendor' ? getStorageImages(path: $message?->shop?->image_full_url, type: 'shop') : getStorageImages(path: $message?->deliveryMan?->image_full_url, type: 'avatar'))); ?>" alt="Image Description"> </div> <div class="received_msg d-flex flex-column align-items-start"> <div class="received_withdraw_msg d-flex flex-column align-items-start gap-2" data-toggle="tooltip" <?php if($message->created_at->diffInDays() > 6): ?> title="<?php echo e($message->created_at->format('M-d-Y h:i A')); ?>" <?php elseif($message->created_at->isYesterday()): ?> title="Yesterday <?php echo e($message->created_at->format('h:i A')); ?>" <?php elseif($message->created_at->isToday()): ?> title="Today <?php echo e($message->created_at->format('h:i A')); ?>" <?php else: ?> title="<?php echo e($message->created_at->format('l h:i A')); ?>" <?php endif; ?> > <?php if(count($message->attachment_full_url) >0): ?> <?php if(count($documentFiles) > 0): ?> <div class="d-flex flex-wrap"> <div class="d-flex gap-2 justify-content-start align-items-center position-relative"> <div class="row g-1 flex-wrap pt-1 justify-content-start gap-2"> <?php $__currentLoopData = $documentFiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $secondIndex => $attachment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php ($extension = strrchr($attachment['key'],'.')); ?> <?php ($icon = in_array($extension,['.pdf','.doc','docx','.txt']) ? 'word-icon': 'default-icon'); ?> <?php ($downloadPath = $attachment['path']); ?> <div class="d-flex"> <a class="text--title" href="<?php echo e($downloadPath); ?>" target="_blank"> <div class="uploaded-file-item"> <div class="d-flex align-items-center justify-content-between gap-2"> <div class="d-flex gap-2 align-items-center"> <img src="<?php echo e(theme_asset('public/assets/front-end/img/'.$icon.'.png')); ?>" class="file-icon" alt=""> <div class="upload-file-item-content"> <div class="pdf-file-name"> <?php echo e(($attachment['key'])); ?> </div> <small><?php echo e(FileManagerLogic::getFileSize($downloadPath)); ?></small> </div> </div> <a class="btn btn--download d-flex justify-content-center align-items-center" href="<?php echo e($attachment['path'] ?? ''); ?>" download> <i class="tio-download-to"></i> </a> </div> </div> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <?php endif; ?> <?php if(count($otherFiles) > 0): ?> <div class="d-flex justify-content-end align-items-center flex-wrap"> <div class="zip-wrapper d-flex justify-content-start align-items-center position-relative gap-3"> <?php $isSingleDownload = count($otherFiles) === 1; $singleFilePath = $isSingleDownload ? $otherFiles[0]['path'] : ''; ?> <div class="row g-1 gap-2 flex-wrap justify-content-start align-items-center max-w-150px zip-images"> <?php $__currentLoopData = $otherFiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $secondIndex => $attachment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php ($extension = strrchr($attachment['key'],'.')); ?> <?php ($downloadPath = $attachment['path']); ?> <div class="position-relative align-items-center img_row<?php echo e($secondIndex); ?> <?php echo e($secondIndex > 3 ? 'd-none' : 'd-flex'); ?>"> <a data-toggle="modal" data-target="#imgViewModal<?php echo e($message->id); ?>" data-type="video" href="javascript:" download class="position-relative <?php echo e(in_array($extension, GlobalConstant::VIDEO_EXTENSION) ? '' : 'aspect-1 overflow-hidden d-block border rounded'); ?>" data-index="<?php echo e($secondIndex); ?>"> <?php if(in_array($extension, GlobalConstant::VIDEO_EXTENSION)): ?> <video class="rounded video-element" width="100" height="60" preload="metadata"> <source src="<?php echo e($attachment['path'] ?? ''); ?>" type="video/mp4"> <source src="<?php echo e($attachment['path'] ?? ''); ?>" type="video/ogg"> Your browser does not support the video tag. </video> <button type="button" class="btn video-play-btn text-primary rounded-circle bg-white p-1 d-flex justify-content-center align-items-center"> <i class="tio-play"></i> </button> <?php else: ?> <img class="img-fit aspect-1 w-60px" alt="" src="<?php echo e(getStorageImages(path: $attachment, type: 'backend-basic')); ?>"> <?php endif; ?> <?php if($secondIndex == 3 && count($otherFiles) > 4 ): ?> <div class="extra-images"> <span class="extra-image-count"> +<?php echo e(count($otherFiles) - 3); ?> </span> </div> <?php endif; ?> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="modal fade imgViewModal" id="imgViewModal<?php echo e($message->id); ?>" tabindex="-1" aria-labelledby="imgViewModal<?php echo e($message->id); ?>Label" role="dialog" aria-modal="true"> <div class="modal-dialog modal-lg modal-dialog-centered"> <div class="modal-content bg-transparent border-0"> <div class="modal-body pt-0"> <div class="imgView-slider owl-theme owl-carousel" dir="ltr"> <?php $__currentLoopData = $otherFiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $file): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php ($extension = strrchr($file['key'],'.')); ?> <div class="imgView-item"> <div class="d-flex justify-content-between align-items-end"> <a href="<?php echo e(in_array($extension, GlobalConstant::VIDEO_EXTENSION) ? ($file['path'] ?? '') : getStorageImages(path: $file, type: 'backend-basic')); ?>" download class="d-flex align-items-center gap-2 mb-10px"> <div class="btn btn--download d-flex justify-content-center align-items-center" > <i class="tio-download-to"></i> </div> <h6 class="text-white text-underline mb-0"> Download <?php echo e(in_array($extension, GlobalConstant::VIDEO_EXTENSION) ? 'Video' : 'Image'); ?></h6> </a> <button type="button" class="btn btn-close p-1 border-0" data-dismiss="modal" aria-label="Close"> <i class="tio-clear mt-0"></i> </button> </div> <div class="image-wrapper"> <div class="position-relative"> <?php if(in_array($extension, GlobalConstant::VIDEO_EXTENSION)): ?> <video class="rounded video-element" width="450" height="260" preload="metadata" > <source src="<?php echo e($file['path'] ?? ''); ?>" type="video/mp4"> <source src="<?php echo e($file['path'] ?? ''); ?>" type="video/ogg"> Your browser does not support the video tag. </video> <button type="button" class="btn video-play-btn modal_video-play-btn p-1"> <img height="14" src="<?php echo e(theme_asset('public/assets/front-end/img/icons/carbon_play-filled.svg')); ?>" alt="Play"> </button> <?php else: ?> <div class="image-wrapper position-relative"> <img class="image" alt="" src="<?php echo e(getStorageImages(path: $file, type: 'backend-basic')); ?>"> </div> <?php endif; ?> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="imgView-slider_buttons d-flex justify-content-center" dir="ltr"> <button type="button" class="btn owl-btn imgView-owl-prev"> <i class="tio-chevron-left"></i> </button> <button type="button" class="btn owl-btn imgView-owl-next"> <i class="tio-chevron-right"></i> </button> </div> </div> </div> </div> </div> <a download href="<?php echo e($isSingleDownload && $singleFilePath ? $singleFilePath : 'javascript:'); ?>" class="btn btn--download d-flex justify-content-center align-items-center flex-shrink-0 <?php echo e(count($otherFiles) > 1 ? 'zip-download' : ''); ?>"> <i class="tio-download-to"></i> </a> </div> </div> <?php endif; ?> <?php endif; ?> <?php if($message->message): ?> <div class="d-inline-block"> <p> <?php echo e($message->message); ?> </p> </div> <?php endif; ?> </div> </div> </div> <?php else: ?> <div class="outgoing_msg"> <div class="send_msg d-flex flex-column align-items-end gap-2" data-toggle="tooltip" <?php if($message->created_at->diffInDays() > 6): ?> title="<?php echo e($message->created_at->format('M-d-Y h:i A')); ?>" <?php elseif($message->created_at->isYesterday()): ?> title="Yesterday <?php echo e($message->created_at->format('h:i A')); ?>" <?php elseif($message->created_at->isToday()): ?> title="Today <?php echo e($message->created_at->format('h:i A')); ?>" <?php else: ?> title="<?php echo e($message->created_at->format('l h:i A')); ?>" <?php endif; ?> > <?php if(count($message->attachment_full_url) >0): ?> <?php if(count($documentFiles) > 0): ?> <div class="d-flex justify-content-end flex-wrap"> <div class="d-flex gap-2 justify-content-end align-items-center position-relative"> <div class="row g-1 flex-wrap pt-1 justify-content-end gap-2"> <?php $__currentLoopData = $documentFiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $secondIndex => $attachment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php ($icon = in_array($extension,['.pdf','.doc','docx','.txt']) ? 'word-icon': 'default-icon'); ?> <?php ($downloadPath = $attachment['path']); ?> <div class="d-flex"> <a class="text--title" href="<?php echo e($downloadPath); ?>" target="_blank"> <div class="uploaded-file-item"> <div class="d-flex align-items-center justify-content-between gap-2"> <div class="d-flex gap-2 align-items-center"> <img src="<?php echo e(theme_asset('public/assets/front-end/img/'.$icon.'.png')); ?>" class="file-icon" alt=""> <div class="upload-file-item-content"> <div class="pdf-file-name"> <?php echo e(($attachment['key'])); ?> </div> <small><?php echo e(FileManagerLogic::getFileSize($downloadPath)); ?></small> </div> </div> <a class="btn btn--download d-flex justify-content-center align-items-center" href="<?php echo e($attachment['path'] ?? ''); ?>" download> <i class="tio-download-to"></i> </a> </div> </div> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <?php endif; ?> <?php if(count($otherFiles) > 0): ?> <div class="d-flex justify-content-end flex-wrap"> <div class="zip-wrapper d-flex gap-3 justify-content-end align-items-center position-relative"> <?php $isSingleDownload = count($otherFiles) === 1; $singleFilePath = $isSingleDownload ? $otherFiles[0]['path'] : ''; ?> <a download href="<?php echo e($isSingleDownload && $singleFilePath ? $singleFilePath : 'javascript:'); ?>" class="btn btn--download d-flex justify-content-center align-items-center flex-shrink-0 <?php echo e(count($otherFiles) > 1 ? 'zip-download' : ''); ?>"> <i class="tio-download-to"></i> </a> <div class="row g-1 gap-2 flex-wrap pt-1 justify-content-end max-w-150px zip-images"> <?php $__currentLoopData = $otherFiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $secondIndex => $attachment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php ($extension = strrchr($attachment['key'],'.')); ?> <div class="position-relative img_row<?php echo e($secondIndex); ?> <?php echo e($secondIndex > 3 ? 'd-none' : 'd-flex'); ?>"> <a data-toggle="modal" data-target="#imgViewModal<?php echo e($message->id); ?>" data-type="<?php echo e(in_array($extension, GlobalConstant::VIDEO_EXTENSION) ? 'video' : 'image'); ?>" href="javascript:" download class="position-relative <?php echo e(in_array($extension, GlobalConstant::VIDEO_EXTENSION) ? '' : 'aspect-1 overflow-hidden d-block border rounded'); ?>" data-index="<?php echo e($secondIndex); ?>"> <?php if(in_array($extension, GlobalConstant::VIDEO_EXTENSION)): ?> <video class="rounded video-element" width="100" height="60" preload="metadata"> <source src="<?php echo e($attachment['path'] ?? ''); ?>" type="video/mp4"> <source src="<?php echo e($attachment['path'] ?? ''); ?>" type="video/ogg"> Your browser does not support the video tag. </video> <button type="button" class="btn video-play-btn text-primary rounded-circle bg-white p-1 d-flex justify-content-center align-items-center"> <i class="tio-play"></i> </button> <?php else: ?> <img class="img-fit aspect-1 w-60px" alt="" src="<?php echo e(getStorageImages(path: $attachment, type: 'backend-basic')); ?>"> <?php endif; ?> <?php if($secondIndex == 3 && count($otherFiles) > 4 ): ?> <div class="extra-images"> <span class="extra-image-count"> +<?php echo e(count($otherFiles) - 3); ?> </span> </div> <?php endif; ?> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="modal fade imgViewModal" id="imgViewModal<?php echo e($message->id); ?>" tabindex="-1" aria-labelledby="imgViewModal<?php echo e($message->id); ?>Label" role="dialog" aria-modal="true"> <div class="modal-dialog modal-lg modal-dialog-centered"> <div class="modal-content bg-transparent border-0"> <div class="modal-body pt-0"> <div class="imgView-slider owl-theme owl-carousel" dir="ltr"> <?php $__currentLoopData = $otherFiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $file): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php ($extension = strrchr($file['key'],'.')); ?> <div class="imgView-item"> <div class="d-flex justify-content-between align-items-end"> <a href="<?php echo e(in_array($extension, GlobalConstant::VIDEO_EXTENSION) ? ($file['path'] ?? '') : getStorageImages(path: $file, type: 'backend-basic')); ?>" download class="d-flex align-items-center gap-2 mb-10px"> <div class="btn btn--download d-flex justify-content-center align-items-center" > <i class="tio-download-to"></i> </div> <h6 class="text-white text-underline mb-0"> Download <?php echo e(in_array($extension, GlobalConstant::VIDEO_EXTENSION) ? 'Video' : 'Image'); ?></h6> </a> <button type="button" class="btn btn-close p-1 border-0" data-dismiss="modal" aria-label="Close"> <i class="tio-clear mt-0"></i> </button> </div> <div class="image-wrapper"> <div class="position-relative"> <?php if(in_array($extension, GlobalConstant::VIDEO_EXTENSION)): ?> <video class="rounded video-element" width="450" height="260" preload="metadata" > <source src="<?php echo e($file['path'] ?? ''); ?>" type="video/mp4"> <source src="<?php echo e($file['path'] ?? ''); ?>" type="video/ogg"> Your browser does not support the video tag. </video> <button type="button" class="btn video-play-btn modal_video-play-btn p-1"> <img height="14" src="<?php echo e(theme_asset('public/assets/front-end/img/icons/carbon_play-filled.svg')); ?>" alt="Play"> </button> <?php else: ?> <div class="image-wrapper position-relative"> <img class="image" alt="" src="<?php echo e(getStorageImages(path: $file, type: 'backend-basic')); ?>"> </div> <?php endif; ?> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="imgView-slider_buttons d-flex justify-content-center" dir="ltr"> <button type="button" class="btn owl-btn imgView-owl-prev"> <i class="tio-chevron-left"></i> </button> <button type="button" class="btn owl-btn imgView-owl-next"> <i class="tio-chevron-right"></i> </button> </div> </div> </div> </div> </div> </div> </div> <?php endif; ?> <?php endif; ?> <?php if($message->message): ?> <div class="d-inline-block"> <p class="btn--primary"> <?php echo e($message->message); ?> </p> </div> <?php endif; ?> </div> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <div id="down"></div> <?php endif; ?> <?php $__env->startPush('script'); ?> <script src="<?php echo e(theme_asset(path: 'public/assets/front-end/js/js-zip/jszip.min.js')); ?>"></script> <script src="<?php echo e(theme_asset(path: 'public/assets/front-end/js/js-zip/FileSaver.min.js')); ?>"></script> <?php $__env->stopPush(); ?> <?php /**PATH /home/pollibazaar/public_html/resources/themes/default/web-views/users-profile/inbox/messages.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick