-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontact.php
47 lines (45 loc) · 1.8 KB
/
contact.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
<?php
$mysqli = require_once __DIR__ . "/db.php";
session_start();
if (isset($_SESSION["user_id"])) {
$sql = "SELECT username FROM users WHERE id = {$_SESSION["user_id"]}";
$result = $mysqli->query($sql);
$user = $result->fetch_assoc();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<title>Matei's Homepage!</title>
<meta content="a cool website all about me, Matei!" property="og:title" />
<meta content="my website coded with HTML (html is awesome) and CSS (css is awesome) and with PHP (i love recursive acronyms). one secon gotta be SEO: Matei's Home Page Matei'sHomePage MateisHomePage" property="og:description" />
<meta content="https://mateishome.page" property="og:url" />
<meta content="https://mateishome.page/welcome.gif" property="og:image" />
<meta content="#24589E" data-react-helmet="true" name="theme-color" />
<?php include_once __DIR__ . "/applets/style.php";?></head>
<body>
<script>
if ( window !== window.parent )
{
window.location.replace("https://mateishome.page/dontputmeinaniframe!.html"); // The page is in an iframe
//window.location.replace("about:inducebrowsercrashforrealz"); // EVIL The page is in an iframe
}
</script>
<div class="page">
<?php
include_once __DIR__ . "/applets/navigation_bar.php"; // :3
?>
<br>
<div class="largeApplet">
<h1>Contact me!</h1>
You can contact me for any reason you would like to, just please don't stalk or harass me. The contact methods are listed in order of most preferred to least preferred.<br><hr>
Discord: @bmpimg<br>
E-mail: [email protected]<br>
Newgrounds: Mattamatt<br>
Breaking into my server and leaving a note on the desktop: ssh [email protected]<br>
</div>
</div>
</body>
</html>