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

<?php
$getUser = mysqli_fetch_array(mysqli_query($connection,"SELECT * FROM `og_users` WHERE `user_id` = '".$_SESSION['USER_ID']."'"));
?>

		<!-- content area start -->
		<section id="about">
			<div class="container mt-10 pb-10 pt-0">		
				<div class="row">
					<div class="col-lg-4">
						<?php require_once("user_left_panel.php");?>
					</div>
					<div class="col-lg-8">
					    <h1 class="title mt-5 mb-15">My Account</h1>
						<form id="myForm" action="" method="post" class="contact-form text-right" onsubmit="return form_validation();">
						<div class="">
							<p style="text-align:left;">
								<b>First Name :</b> <?php echo stripslashes($getUser['fname']);?>
							</p>
							<p style="text-align:left;">
								<b>Last Name :</b> <?php echo stripslashes($getUser['lname']);?>
							</p>
							<p style="text-align:left;">
								<b>Email :</b> <?php echo stripslashes($getUser['email']);?>
							</p>
							<p style="text-align:left;">
								<b>Phone No :</b> <?php echo stripslashes($getUser['phone']);?>
							</p>
							<p style="text-align:left;">
								<b>Address :</b> <?php echo nl2br(stripslashes($getUser['address']));?>
							</p>
							<p style="text-align:left;">
								<b>City :</b> <?php echo stripslashes($getUser['city']);?>
							</p>
							<p style="text-align:left;">
								<b>Postcode :</b> <?php echo stripslashes($getUser['zip']);?>
							</p>
						</div>
						</form>	
					</div>
				</div>
			</div>	
		</section>
		<!-- content area end -->

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