![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /home/fdshops/public_html/storage/framework/views/ |
<?php $all_notifications = auth()->user()->notifications; $unread_notifications = $all_notifications->where('read_at', null); $total_unread = count($unread_notifications); ?> <!-- Notifications: style can be found in dropdown.less --> <li class="dropdown notifications-menu"> <a href="#" class="dropdown-toggle load_notifications" data-toggle="dropdown" id="show_unread_notifications" data-loaded="false"> <i class="fas fa-bell"></i> <span class="label label-warning notifications_count"><?php if(!empty($total_unread)): ?><?php echo e($total_unread, false); ?><?php endif; ?></span> </a> <ul class="dropdown-menu"> <!-- <li class="header">You have 10 unread notifications</li> --> <li> <!-- inner menu: contains the actual data --> <ul class="menu" id="notifications_list"> </ul> </li> <?php if(count($all_notifications) > 10): ?> <li class="footer load_more_li"> <a href="#" class="load_more_notifications"><?php echo app('translator')->get('lang_v1.load_more'); ?></a> </li> <?php endif; ?> </ul> </li> <input type="hidden" id="notification_page" value="1"><?php /**PATH /home/richinei/public_html/resources/views/layouts/partials/header-notifications.blade.php ENDPATH**/ ?>