-
Notifications
You must be signed in to change notification settings - Fork 16
/
404.php
executable file
·107 lines (106 loc) · 4.61 KB
/
404.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="theme-color" content="#00001"/>
<link href="/src/styles/styles.css" rel="stylesheet">
<link href="/src/styles/timeline.css" rel="stylesheet">
<link href="/src/styles/menus.css" rel="stylesheet">
<link href="/src/styles/responsive.css" rel="stylesheet">
<script defer src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
<script src="/src/scripts/general.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<title>404 - Chirp</title>
</head>
<body>
<div id="menuSettings">
<a href="settings/account">⚙️ Settings</a>
<a>👪 Add another account</a>
<a>🚪 Sign in</a>
</div>
<header>
<div id="desktopMenu">
<nav>
<img src="/src/images/icons/chirp.svg" alt="Chirp" onclick="playChirpSound()">
<a href="/"><img src="/src/images/icons/house.svg" alt=""> Home</a>
<a href="/discover"><img src="/src/images/icons/search.svg" alt=""> Discover</a>
<a href="/notifications"><img src="/src/images/icons/bell.svg" alt=""> Notifications</a>
<a href="/messages"><img src="/src/images/icons/envelope.svg" alt=""> Direct Messages</a>
<a
href="<?php echo isset($_SESSION['username']) ? '/user?id=' . htmlspecialchars($_SESSION['username']) : '/signin'; ?>"><img
src="/src/images/icons/person.svg" alt=""> Profile</a>
<?php if (isset($_SESSION['username'])): ?>
<a href="/compose" class="newchirp">Chirp</a>
<?php endif; ?>
</nav>
<button id="settingsButtonWrapper" type="button" onclick=showMenuSettings()>
<img class="userPic" src="/src/images/users/guest/user.svg" alt="aridan">
<div>
<p>Guest</p>
<p class="subText">@guest</p>
</div>
<p class="settingsButton">⚙️</p>
</button>
</div>
</header>
<main>
<div id="feed">
<div id="iconChirp" onclick="playChirpSound()">
<img src="/src/images/icons/chirp.svg" alt="Chirp">
</div>
<div id="notFound">
<p>404 / Not Found</p>
<p class="subText">Chirpie has searched everywhere but can't find what you were looking for.<br>Maybe it flew away?</p>
</div>
</div>
</main>
<aside id="sideBar">
<div id="trends">
<p>Trends</p>
<div>
<a href="/discover/search?q=gay_people">chirp</a>
<p class="subText">12 chirps</p>
</div>
<div>
<a>twitter</a>
<p class="subText">47 chirps</p>
</div>
<div>
<a>iphone 16</a>
<p class="subText">62 chirps</p>
</div>
</div>
<div id="whotfollow">
<p>Suggested accounts</p>
<div>
<div>
<img class="userPic" src="https://pbs.twimg.com/profile_images/1797665112440045568/305XgPDq_400x400.png" alt="">
<div>
<p>Apple <img class="verified" src="/src/images/icons/verified.svg" alt=""></p><p class="subText">@apple</p>
</div>
</div>
<a class="followButton">Follow</a>
</div>
<div>
<div>
<img class="userPic" src="https://pbs.twimg.com/profile_images/1380530524779859970/TfwVAbyX_400x400.jpg" alt="">
<div>
<p>President Biden <img class="verified" src="/src/images/icons/verified.svg" alt=""></p><p class="subText">@POTUS</p>
</div>
</div>
<a class="followButton">Follow</a></div>
</div>
</div>
<div>
<p class="subText">Inspired by Twitter/X. No code has been sourced from Twitter/X. Twemoji by Twitter Inc/X Corp is licensed under CC-BY 4.0.
<br><br>You're running: Chirp Beta 0.6.1b-rc-pre </p>
</div>
</aside>
<footer>
</footer>
</body>
</html>