-
Notifications
You must be signed in to change notification settings - Fork 6
/
tampil_ugeneral.php
38 lines (35 loc) · 1.02 KB
/
tampil_ugeneral.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
$level = $_SESSION['Level'];
$uname = $_SESSION['MM_Username'];
$SQL = mysql_query("SELECT * FROM $level WHERE u_uname='$uname' LIMIT 1");
$detailAccount = mysql_fetch_assoc($SQL);
?>
<div class="judul">
<h3><span class="glyphicon glyphicon-list-alt"></span> General Profil</h3>
</div>
<table class="table">
<tr>
<td style="width: 200px;">Username</td>
<td><?php echo $_SESSION['MM_Username']; ?></td>
</tr>
<tr>
<td>Nama Lengkap</td>
<td><?php echo $detailAccount['u_nama']; ?></td>
</tr>
<tr>
<td>Password</td>
<td><div class="title-abu">Password tidak ditampilkan</div></td>
</tr>
<tr>
<td>Email</td>
<td><?php echo $detailAccount['u_email']; ?></td>
</tr>
<tr>
<td>Level</td>
<td><?php echo $_SESSION['Level']; ?></td>
</tr>
<tr>
<td> </td>
<td><a class="btn btn-info" href="?page=edit_ugeneral&uname=<?php echo $_SESSION['MM_Username']; ?>">Edit</a></td>
</tr>
</table>