-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignout_form.php
29 lines (26 loc) · 999 Bytes
/
signout_form.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
<!--
<section id="contact" style="text-align: center;">
<div class="social">
<h3>Account</h3>
</header>
<form method="POST" action="php/logout.php">
<br><br>
<br><input value="log out" type="submit" />
</form>
</div>
</section> -->
<!-- echo "{$_SESSION['id']} {$_SESSION['fname']} {$_SESSION['fname']} {$_SESSION['code']} {$_SESSION['email']}"; -->
<div style="text-align: center;">
<h3>
First name: <?php echo "${_SESSION['fname']}";?> <br>
Last Name: <?php echo "${_SESSION['lname']}";?> <br>
email: <?php echo "${_SESSION['email']}";?> <br>
id: <?php echo "${_SESSION['id']}";?> <br>
type: <?php if($_SESSION['code']==1){ echo "user";} else { echo "admin";};?>
</h3>
<form method="POST" action="php/logout.php" style="text-align: center;">
<br><br>
<br><input value="log out" type="submit" />
</form>
<br><br><br>
</div>