-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprofile.html
109 lines (104 loc) · 4.52 KB
/
profile.html
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="The ultimate place for 200+ unblocked games at school">
<meta name="keywords" content="unblocked, games, unblocked games, school, work">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Platformer.io</title>
<link rel="icon" href="/favicon.png" type="image/xcon" />
<link rel="manifest" href="/manifest.json" />
<link rel="stylesheet" href="/css/navbar.css" />
<link rel="stylesheet" href="/css/profile.css" />
<link rel="stylesheet" href="/css/footer.css" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Y2W1BSNMG9"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-Y2W1BSNMG9');
</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css" />
<script src="/js/navbar.js" defer></script>
</head>
<body>
<nav class="nav">
<div class="right">
<i class="uil uil-bars navOpenBtn"></i>
<a href="/index.html" class="logo">
<img src="/favicon.png" class="logo-image">
Platformer.io
</a>
<ul class="nav-links">
<i class="uil uil-times navCloseBtn"></i>
<li><a href="/index.html"><i class="fa-solid fa-house" style="margin-right: 5px;"></i>Home</a></li>
<li><a href="/games"><i class="fa-solid fa-gamepad" style="margin-right: 5px;"></i>Games</a></li>
<!--<li><a href="/music.html"><i class="fa-solid fa-music" style="margin-right: 5px;"></i>Music</a></li>-->
<li><a href="/extras"><i class="fa-solid fa-circle-plus" style="margin-right: 5px;"></i>Extras</a></li>
</ul>
</div>
<div class="left">
<a href="https://docs.google.com/document/d/1g78UIcjb2sj9QGRZOiDTrQIQHl8ekJauAOb_zR24sNI/edit?usp=sharing"><button class="nav-big-btn"><i class="fa-solid fa-link"></i></button></a>
<a href="/settings.html"><button class="nav-big-btn"><i class="fa-solid fa-gear"></i></button></a>
<a href="/profile.html"><button class="nav-big-btn"><i class="fa-solid fa-user"></i></button></a>
</div>
</nav>
<div class="main-content">
<div class="box">
<div class="username">
<h3 id="editableHeading" style="margin-bottom: 10px;">Gamer</h3>
<div class="editicon" id="editIcon">
<i class="fa-solid fa-pen"></i>
</div>
</div>
<div class="level">
<span id="user-Level" style="font-size: 20px; margin: 10px; text-align: left;">Level 1</span>
</div>
<div class="input-div" style="display: none;">
<input type="text" id="editInput" placeholder="New Username">
</div>
<button id="saveButton" style="display: none;">Save</button>
<div id="xp-bar">
<div id="xp-progress"></div>
</div>
<h4 style="font-size: 16px;">20xp is earned every minute you play! Each level is 200xp!</h4>
<div class="stat-cards">
<div class="stat-card">
<h5>Games Played</h5>
<h4 id="gameStats"></h4>
</div>
<div class="stat-card">
<h5>First Visit</h5>
<h4 id="firstVisitDate"></h4>
</div>
<div class="stat-card">
<h5>Total Visits</h5>
<h4 id="pageVisitsCount"></h4>
</div>
</div>
</div>
</div>
<footer class="footer">
<p>Copyright Platformer.io 2023</p>
<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({ pageLanguage: "en", layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL }, "google_translate_element");
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</footer>
</body>
<script src="/js/profile.js"></script>
<script src="/js/games.js"></script>
<script src="/js/toggle.js"></script>
<script>
var gameStatsElement = document.getElementById("gameStats");
gameStatsElement.textContent = displayGameStats();
</script>
<script src="/js/sw.js"></script>
</html>