<?php
if(count(get_included_files()) ==1) exit("Direct access not permitted.");
if(!$statuslogin) exit;
$mod = basename(__FILE__, '.php');
$page->tbJs($mod);
if(!$db->ceckUser()) header('Location: '.NPAGE);
$page->setJudul("User Profile");
$page->addLoad("profile.load()");
?>
<div style="font-size: 13px;">
	<div class="group_form">
		<title>Nama user</title>
		<div class="col8">
			<span><?php echo$_SESSION['profile']['nama'];?></span>
		</div>
	</div>
	<div class="group_form">
		<title>Username</title>
		<div class="col8">
			<span><?php echo$_SESSION['profile']['username'];?></span>
		</div>
	</div>
	<div class="group_form">
		<title>Level</title>
		<div class="col8">
			<span><?php echo$_SESSION['profile']['namalevel'];?></span>
		</div>
	</div>
	<div style="clear: both;"></div>
	<div style="margin-top: 20px;" id="box_password">
		<div class="group_form">
			<title>Password Lama</title>
			<div class="col8">
				<input id="passlama" type="password" style="width: 250px" />
			</div>
		</div>
		<div class="group_form">
			<title>Password Baru</title>
			<div class="col8">
				<input id="passbaru" type="password" style="width: 250px"/>
			</div>
		</div>
		<div class="group_form">
			<title>Ulang Password</title>
			<div class="col8">
				<input id="passulang" type="password" style="width: 250px"/>
			</div>
		</div>
	</div>
	<div class="group_form">
		<title> </title>
		<div class="col8">
			<div class="box_button_bawah">
				<span id="btpass1" class="bthijau medium">UBAH PASSWORD</span>&nbsp;&nbsp;<span id="btpass2" class="bthijau medium">SIMPAN PASSWORD</span>
			</div>
		</div>
	</div>
</div>