BBnepal-Accounts/hr/application/views/bustracking-admin/common/header.php
Sampanna Rimal 9cd05ef3cb commitall
2024-07-10 18:28:19 +05:45

53 lines
1.6 KiB
PHP

<!--right-top side-->
<header class="common_margin w-100 pr-5" id="header">
<div class="search-bar-wrapyy">
<!--<input type="text" name="" placeholder="Search..">-->
</div>
<?php
$yourName = '';
$namesFirstLetter = '';
$linSessData = $_SESSION['hrAULoginData'];
if (isset($linSessData['bt_lin_name'])) {
$yourName = $linSessData['bt_lin_name'];
$namesFirstLetter = substr($yourName, 0, 1);
}
?>
<div class="user-login-section">
<!--<div class="notification-icon-wrap">
<img src="<?php echo base_url(); ?>assets-bustracking/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>
<hr class="my-2">