<?php
	require_once("koneksi.php");
    include 'header.php';
?>

	<!-- breadcrumbs -->
		<div class="breadcrumbs">
			<div class="container">
				<ol class="breadcrumb breadcrumb1 animated wow slideInLeft" data-wow-delay=".5s">
					<li><a href="index.php"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>Beranda</a></li>
					<li class="active">Informasi Data Diri</li>
				</ol>
			</div>
		</div>
	<!-- //breadcrumbs -->
		<div class="products">
			<div class="container">
				<div class="agileinfo_single">
					<?php                
						$username 	= $_SESSION['username'];
						$query 		= mysqli_query($koneksi, "SELECT * FROM t_user, t_penerbit WHERE username = '$username'");
						$data  		= mysqli_fetch_array($query);
					?>
					<div class="col-md-5 agileinfo_single_right">
						Nama Lengkap	: <h3><?php echo $data['nama_lengkap']; ?></h3><br>
						Alamat			: <h3><?php echo $data['alamat']; ?></h3><br>
						Nomor Ponsel 	: <h3>0<?php echo $data['nomor_ponsel']; ?></h3><br>
						Email			: <h3><?php echo $data['email']; ?></h3>
					</div>
					<!--
					<div class="col-md-5 agileinfo_single_right">
						<br><br>
						<div class="snipcart-item block">
							<div class="snipcart-details top_brand_home_details">
								<a href="editpassword.php">
								<input type="submit" name="simpan" value="ganti kata sandi" class="button" />
							</div>
							<div class="snipcart-details top_brand_home_details">
								<a href="editprofile.php">
								<input type="submit" name="simpan" value="edit data diri" class="button" />
							</div>
						</div>
					</div>
					-->
					<div class="clearfix"> </div>
				</div>
			</div>
		</div>
	
<?php
	include 'footer.php';
?>