-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccount.php
64 lines (55 loc) · 2.12 KB
/
account.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php include 'layout/header.php'; ?>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header"><h2>Akun</h2></div>
<div class="card-body">
<div class="row">
<div class="col-md-12">
<?php
if(isset($_SESSION['alert'])){
echo $_SESSION['alert'];
unset($_SESSION['alert']);
}
?>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h4>Informasi Profil</h4>
<form method="POST" action="proses/ubah_profile.php">
<div class="form-group">
<label>Email</label>
<input type="text" disabled="" class="form-control mt-2" value="<?= $_SESSION['login_data']['email'] ?>">
</div>
<div class="form-group mt-3">
<label>Nama Lengkap</label>
<input type="text" name="nama" autocomplete="off" class="form-control mt-2" value="<?= $_SESSION['login_data']['nama'] ?>">
</div>
<div class="form-group mt-3">
<label>Nomor Handphone</label>
<input type="text" autocomplete="off" name="no_hp" class="form-control mt-2" value="<?= $_SESSION['login_data']['no_hp'] ?>">
</div>
<div class="form-group mt-3">
<button class="btn btn-warning">UBAH PROFIL</button>
</div>
</form>
</div>
<div class="col-md-6">
<h4>Ubah Password</h4>
<form method="POST" action="proses/ubah_password.php">
<div class="form-group mt-2">
<label>Password</label>
<input type="password" name="password" placeholder="Ketikkan Password Baru" required="" class="form-control mt-2">
</div>
<div class="form-group mt-3">
<button class="btn btn-warning">GANTI PASSWORD</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include 'layout/footer.php'; ?>