-
Notifications
You must be signed in to change notification settings - Fork 1
/
profil.php
55 lines (49 loc) · 2.35 KB
/
profil.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
<?php include('./header.php');?>
<?php include("./includes/nav.php");?>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6 col-sm-12 col-lg-8">
<div class="card my-3">
<div class="card-body">
<h2 class="text-center display-5">Welcome to your profil <?= $_SESSION['username'];?></h2>
<ul class="list-group list-group-flush my-2" id="profil-data">
<li class="list-group-item py-4 list-group-item-action d-flex justify-content-between align-items-center">
Username:
<span>Username here...</span>
</li>
<li class="list-group-item py-4 list-group-item-action d-flex justify-content-between align-items-center">
Email:
<span class="badge badge-primary badge-pill">12</span>
</li>
<li class="list-group-item py-4 list-group-item-action d-flex justify-content-between align-items-center">
Password
<span class="badge badge-primary badge-pill">1232</span>
</li>
<li class="list-group-item py-4 list-group-item-action d-flex justify-content-between align-items-center">
Bio
<span class="badge badge-primary badge-pill">12</span>
</li>
</ul>
<div class="text-center mt-3 btn-group">
<a href="profil.php?get=edit" class="btn btn-primary btn-sm">Edit</a>
<a href="profil.php?get=edit" class="btn btn-danger btn-sm">Delete Account</a>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
const Profil = () => {
let xhr = new XMLHttpRequest();
xhr.onload = () =>{
if(xhr.status === XMLHttpRequest.DONE){
if()
}
}
xhr.open()
xhr.send()
}
</script>
</body>
</html>