-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathprofile.php
41 lines (33 loc) · 1008 Bytes
/
profile.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
<?php
session_start();
require 'controllers/ProfileController.php';
$controller = new ProfileController();
$user = $controller->showData();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php
include "QC.html";
?>
</head>
<body>
<div class = "container">
<div class = "col-md-3 col-sm-6 my-3 my-md-20">
<div class = "card shadow">
<div class="relative flex items-center justify-center w-32 h-32 select-none">
<img class="object-cover object-center w-full h-full rounded-full" src = "blank-profile-picture.png" alt="assda">
</div>
<div class = "text-xl leading-normal indent-5">
<h5>Name: <?= $user->data["name"]?></h5>
<h5>Email: <?= $user->data["email"]?></h5>
<h5>Birth Date: <?= $user->data["birth_date"]?></h5>
<h5>National ID: <?= $user->data["national_id"]?></h5>
<!-- <h5>ID:<?= $_SESSION['id']?></h5> -->
</div>
</div>
</div>
</div>
</div>
</body>
</html>