<?php require_once("header.php");?>

			<!-- page template area start -->
			<section id="about">
			    <div class="container mt-0 pb-0 pt-5">	
					<div class="col-lg-12">
					    <?php if(isset($_SESSION['USER_ID'])) { 
					    $getUser = mysqli_fetch_array(mysqli_query($connection,"SELECT * FROM `sc_users` WHERE `user_id` = '".$_SESSION['USER_ID']."'"));
					    ?>
					    <h2 class="title mt-0 mb-5" style="text-align:center;"><?php echo stripslashes($getUser['full_name']);?></h2>
					    <div class="row" style="margin-top:10px;">
							<a href="my-account.php">
							<div class="col-xs-10 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; color:#fff;"><i class="fa fa-user" style="font-size:20px; color:#fff; margin-right:5px;"></i> My Account</p>
							</div>
							<div class="col-xs-2 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; text-align:center;"><i class="fa fa-angle-right" style="font-size:20px; color:#fff;"></i></p>
							</div>
							</a>
							<a href="my-ref.php">
							<div class="col-xs-10 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; color:#fff;"><i class="fa fa-users" style="font-size:20px; color:#fff; margin-right:5px;"></i> My Referrals</p>
							</div>
							<div class="col-xs-2 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; text-align:center;"><i class="fa fa-angle-right" style="font-size:20px; color:#fff;"></i></p>
							</div>
							</a>
							<a href="edit-profile.php">
							<div class="col-xs-10 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; color:#fff;"><i class="fa fa-edit" style="font-size:20px; color:#fff; margin-right:5px;"></i> Edit Profile</p>
							</div>
							<div class="col-xs-2 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; text-align:center;"><i class="fa fa-angle-right" style="font-size:20px; color:#fff;"></i></p>
							</div>
							</a>
							<a href="change-password.php">
							<div class="col-xs-10 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; color:#fff;"><i class="fa fa-lock" style="font-size:20px; color:#fff; margin-right:5px;"></i> Change Password</p>
							</div>
							<div class="col-xs-2 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; text-align:center;"><i class="fa fa-angle-right" style="font-size:20px; color:#fff;"></i></p>
							</div>
							</a>
							<a href="my-orders.php">
							<div class="col-xs-10 mb-5" style="background:#42a5f5;">
								<p style="margin:10px 0; color:#fff;"><i class="fa fa-list" style="font-size:20px; color:#fff; margin-right:5px;"></i> My Bookings</p>
							</div>
							<div class="col-xs-2 mb-5" style="background:#42a5f5;">
								<p style="margin:10px 0; text-align:center;"><i class="fa fa-angle-right" style="font-size:20px; color:#fff;"></i></p>
							</div>
							</a>
							<a href="logout.php">
							<div class="col-xs-10 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; color:#fff;"><i class="fa fa-power-off" style="font-size:20px; color:#fff; margin-right:5px;"></i> Logout</p>
							</div>
							<div class="col-xs-2 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; text-align:center;"><i class="fa fa-angle-right" style="font-size:20px; color:#fff; margin-right:5px;"></i></p>
							</div>
							</a>
						</div>
					    <?php } else { ?>
					    <h1 class="title mt-0 mb-5" style="text-align:center;">My Acccount</h1>
					    <div class="row" style="margin-top:10px;">
							<a href="login.php">
							<div class="col-xs-10 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; color:#fff;"><i class="fa fa-sign-in" style="font-size:20px; color:#fff; margin-right:5px;"></i> Login</p>
							</div>
							<div class="col-xs-2 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; text-align:center;"><i class="fa fa-angle-right" style="font-size:20px; color:#fff;"></i></p>
							</div>
							</a>
							<a href="zip-selection.php">
							<div class="col-xs-10 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; color:#fff;"><i class="fa fa-plus-circle" style="font-size:20px; color:#fff; margin-right:5px;"></i> Registration</p>
							</div>
							<div class="col-xs-2 mb-10" style="background:#42a5f5;">
								<p style="margin:10px 0; text-align:center;"><i class="fa fa-angle-right" style="font-size:20px; color:#fff;"></i></p>
							</div>
							</a>
						</div>
						<?php } ?>
					</div>
				</div>
			</div>
			</section>
			<!-- page template area end -->			
  
<?php require_once("footer.php");?>