-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinfo.php
22 lines (22 loc) · 875 Bytes
/
info.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
echo '
<div class="info">
<p class="inform">Information</p>';
if (isset($_SESSION['email']) && $row['email'] === $_SESSION['email']) {
echo '<a href="editprofile.php" class="editinfo">[ edit ]</a>';
}
echo '
<p class="accinfo">Account Info:</p>
<p class="reg">Name: '.$row['name'].'<br>
Member Since: '.$row['datejoined'].'<br>
Last Updated: '.$row['lastupdated'].'</p><br>
<p class="head">Basic Info:</p><br>
<p class="reg" style="margin-top: 5px;">Email:
<a style="color: #538AE3;">'.$row['email'].'</a><br>
Status: '.$row['status'].'<br>
Sex: <a style="color: #538AE3;">'.$row['sex'].'</a><br>
Birthday: <a style="color: #538AE3;">'.$row['bday'].'</a><br>
Residence: <a style="color: #538AE3;">'.$row['residence'].'</a><br>
High School: <a style="color: #538AE3;">'.$row['hschool'].'</a><br>
</p>
</div>';