BBnepal-Accounts/library/application/views/lms-admin/common/header.php

48 lines
1.5 KiB
PHP
Raw Normal View History

2024-07-10 12:43:19 +00:00
<!--right-top side-->
<header class="common_margin" id="header">
<div class="user-login-section">
<?php
$yourName = '';
$namesFirstLetter = '';
$linSessData = $_SESSION['lmsAULoginData'];
if (isset($linSessData['lms_lin_name'])) {
$yourName = $linSessData['lms_lin_name'];
$namesFirstLetter = substr($yourName, 0, 1);
}
?>
<!-- <div class="notification-icon-wrap">
<img src="<?php echo base_url(); ?>assets-lms/images/notification.png">
<span></span>
<div class="notifications-wrap">
<div class="notifications">
<h4>Notifications</h4>
<ul>
<li>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor </p>
<i class="fas fa-trash-alt"></i>
</li>
</ul>
</div>
</div>
</div> -->
<div class="user-wrap">
<div class="user-login-head">
<div class="profileImage"><?php echo $namesFirstLetter; ?></div>
<h5><span class="user-name"><?php echo $yourName; ?></span><i class="fa fa-caret-down" aria-hidden="true"></i><i class="fa fa-caret-up" aria-hidden="true"></i></h5>
</div>
<div class="login-wrap-open">
<ul>
<!-- <li><a href=""><span><i class="fa fa-user" aria-hidden="true"></i></span>My Profile</a></li> -->
<li>
<a href="<?php echo base_url() . 'logout'; ?>">
<span><i class="fas fa-sign-out-alt"></i></span>Sign Out
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="mobileMenu">
<i class="fas fa-bars"></i>
</div>
</header>