-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.php
More file actions
40 lines (35 loc) · 1.33 KB
/
custom.php
File metadata and controls
40 lines (35 loc) · 1.33 KB
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
<?php
include $_SERVER['DOCUMENT_ROOT'] . "/PHP/auth.php";
//Auth user
if (!isset($_SESSION["username"])){
header("Location: /login.php");
exit;
}
?>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/jquery.scrollto@2.1.2/jquery.scrollTo.min.js"></script>
<link rel="stylesheet" type="text/css" href="/CSS/StyleSheet.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<meta name="viewport" content="width=device-width, initial-scale=0.8, maximum-scale=1.0, user-scalable=no">
</head>
<body>
<i id='back-button' class="material-icons md-light" href="/index.php">arrow_back_ios</i>
<script>
$("#back-button").on('click', function(){
window.location.href = window.location.origin + "/index.php";
});
</script>
<div id="custom-request-div">
<h1 id="main-title">Custom Request</h1>
<form id="custom-form">
<input type="text" id="name" placeholder="Name"></input>
<input type="text" id="link" placeholder="Link"></input>
<input type="text" id="imdb" placeholder="IMDB id"></input>
<input type="submit" id="submit">
</form>
</div>
<script src="/JS/custom.js"></script>
</body>
</html>