This repository has been archived by the owner on Oct 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.php
41 lines (35 loc) · 1.65 KB
/
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
<!DOCTYPE html>
<html>
<?php include'resources/head.php'; ?>
<body>
<?php include'resources/navbar.php'; ?>
<div class="container" style="margin-top:50px;background-color: white; border-radius: 5px">
<div class="panel panel-default pull-left" style="width: 250px">
<div class="panel-heading">
<h3 class="panel-title"><?php
$email = $_SESSION['email'];
$default = "https://minotar.net/helm/" . $_SESSION['user'] . "/70.png";
$size = 70;
$grav_url = "http://www.gravatar.com/avatar/" . md5(strtolower(trim($email))) . "?d=" . urlencode($default) . "&s=" . $size;
echo '<img src=' . $grav_url . '"> ' . ucfirst("" . $_SESSION['user']);
?></h3>
</div>
<div class="panel-body">
<div id="settings" >
<ul class="nav nav-tabs nav-stacked" style="border-color: white;">
<li style="margin-bottom: 10px"><a href="#">Account</a></li>
<li style="margin-bottom: 10px"><a href="#">Security</a></li>
<li style="margin-bottom: 10px"><a href="#">sad</a></li>
<li style="margin-bottom: 10px"><a href="#">asd</a></li>
</ul>
</div>
</div>
</div>
<div>
<?php include './resources/account.php'; ?>
</div>
</div>
</div>
<?php include 'resources/foot.php'; ?>
</body>
</html>