Server IP : 23.254.227.96 / Your IP : 216.73.216.46 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/viralblo/instantblog/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('bodyclass'); ?> <body class="bg-userside"> <?php $__env->stopSection(); ?> <?php $__env->startSection('jumbotron'); ?> <div class="jumbotron"> <div class="container"> <div class="row align-items-center"> <div class="col-9"> <h1 class="display-4"><?php echo app('translator')->get('messages.comments.notifications'); ?></h1> </div> <div class="col-3 text-end"> <a class="btn btn-sm btn-danger me-3" role="button" href="<?php echo e(url('/delnotifications')); ?>"><?php echo app('translator')->get('messages.comments.deleteall'); ?></a> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="container pt-5 pb-5"> <div class="row"> <div class="col-sm-12"> <ul class="list-group list-group-flush"> <?php $__empty_1 = true; $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <?php if(empty($notification->read_at)): ?> <li class="list-group-item list-bg-unread d-flex justify-content-between align-items-center"> <?php else: ?> <li class="list-group-item list-bg d-flex justify-content-between align-items-center"> <?php endif; ?> <span> <?php if(isset($notification->data['type'])): ?> <?php if($notification->data['type'] == "follow"): ?> <i class="icon-person-plus-fill me-2"></i> <a href="<?php echo e(url('/profile/' . $notification->data['user'])); ?>" target="_blank"> <?php echo e($notification->data['user']); ?></a> <?php echo app('translator')->get('messages.new.userfolowed'); ?> <?php endif; ?> <?php if($notification->data['type'] == "like"): ?> <i class="icon-heart me-2"></i> <a href="<?php echo e(url('/profile/' . $notification->data['user'])); ?>" target="_blank"> <?php echo e($notification->data['user']); ?></a> <?php echo app('translator')->get('messages.new.userliked'); ?> <a href="<?php echo e(url('/posts/' . $notification->data['slug'])); ?>" target="_blank"> <?php echo e(str_limit($notification->data['title'], 30)); ?></a> <?php endif; ?> <?php if($notification->data['type'] == "comment"): ?> <i class="icon-chat-dots me-2"></i> <a href="<?php echo e(url('/profile/' . $notification->data['user'])); ?>" target="_blank"> <?php echo e($notification->data['user']); ?></a> <?php echo app('translator')->get('messages.new.mentioned'); ?> <a href="<?php echo e(url('/posts/' . $notification->data['slug'])); ?>" target="_blank"> <?php echo e(str_limit($notification->data['title'], 30)); ?></a> <?php endif; ?> <?php if($notification->data['type'] == "newcomment"): ?> <i class="icon-chat-dots me-2"></i> <a href="<?php echo e(url('/profile/' . $notification->data['user'])); ?>" target="_blank"> <?php echo e($notification->data['user']); ?></a> <?php echo app('translator')->get('messages.new.wrotecommt'); ?> <a href="<?php echo e(url('/posts/' . $notification->data['slug'])); ?>" target="_blank"> <?php echo e(str_limit($notification->data['title'], 30)); ?></a> <?php endif; ?> <?php else: ?> <i class="icon-chat-dots me-2"></i> <?php echo app('translator')->get('messages.comments.mentioned'); ?> <a href="<?php echo e(url('/posts/' . $notification->data['slug'])); ?>" target="_blank"> <?php echo e(str_limit($notification->data['title'], 30)); ?></a> <?php endif; ?> </span> <span class="text-muted time"><?php echo e($notification->created_at->diffForHumans()); ?></span> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <li class="list-group-item d-flex justify-content-between align-items-center"> <strong><?php echo app('translator')->get('messages.comments.nonotification'); ?></strong> </li> <?php endif; ?> </ul> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/viralblo/instantblog/resources/views/member/notifications.blade.php ENDPATH**/ ?>