%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : ndkhermy ( 1200) PHP Version : 8.5.12 Disable Function : NONE Directory : /home1/ndkhermy/public_html/website_93b53270/ |
Upload File : |
<div class="bg-white p-5 br-20 my-5 box-shadow">
<div class="user-flex">
<div class="me-2">
<?php
$userImage = $fetch_user_id['image1'] ?? '';
$imagePath = "images/Upload/user/" . $userImage;
$fullFilePath = $imagePath;
if (!empty($userImage)) {
if (file_exists($fullFilePath)) {
echo '<img src="' . $base_url . $imagePath . '" class="header_login">';
} else {
echo '<img src="' . htmlspecialchars($userImage) . '" class="header_login">';
}
} else {
echo '<img src="' . $base_url . 'images/Upload/user/user_demo.png" class="header_login">';
}
?>
</div>
<div>
<h5 class="my-0 text-uppercase fw-bold"><?=$fetch_user_id['name']?></h5>
<p class="mb-0"><?=$fetch_user_id['email']?></p>
</div>
</div>
<p class="profile-email"></p>
<ul class="list-unstyle ps-0 text-left mb-0">
<li><a class="<?=($page_name=='user-profile.php')?'text-danger fw-bold':'text-dark'?>" href="<?=$base_url?>user-profile.php"><i class="ri-user-line"></i> Profile </a></li>
<li><a class="<?=($page_name=='change-password.php')?'text-danger fw-bold':'text-dark'?>" href="<?=$base_url?>change-password.php"><i class="ri-key-2-line"></i> Change Password </a></li>
<li><a class="<?=($page_name=='my-orders.php')?'text-danger fw-bold':'text-dark'?>" href="<?=$base_url?>my-orders.php"><i class="ri-calendar-event-line"></i> Your Orders </a></li>
<li><a class="<?=($page_name=='my-coupons.php')?'text-danger fw-bold':'text-dark'?>" href="<?=$base_url?>my-coupons.php"><i class="ri-gift-line"></i> My Coupons</a></li>
<li><a class="<?=($page_name=='my-car.php')?'text-danger fw-bold':'text-dark'?>" href="<?=$base_url?>my-car.php"><i class="ri-heart-line"></i> My Car</a></li>
<li><a class="<?=($page_name=='my-inspections.php')?'text-danger fw-bold':'text-dark'?>" href="<?=$base_url?>my-inspections.php"><i class="ri-fire-line"></i> Inspection</a></li>
<li><a class="<?=($page_name=='logout.php')?'text-danger fw-bold':'text-dark'?>" href="<?=$base_url?>logout.php"><i class="ri-logout-box-line"></i> Logout </a></li>
</ul>
</div>