-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathupload.php
More file actions
119 lines (91 loc) · 4.27 KB
/
upload.php
File metadata and controls
119 lines (91 loc) · 4.27 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
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
110
111
112
113
114
115
116
117
118
119
<?php
include('conn.php');
$useremail = $conn->real_escape_string($_POST["useremail"]);
$sql = "INSERT INTO practice_newslettertable (newsletterID,email) VALUES(null,'$useremail')";
$result = $conn->query($sql);
if(!$result){
echo $conn->error;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DoubleTap</title>
<link rel="stylesheet" href="css/uploadUI.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@200&display=swap" rel="stylesheet">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script type="text/javascript">
$(document).ready(function() {
$(window).scroll(function() {
if ($(this).scrollTop() > 100) {
$("#header").css({
"opacity": "0"
})
} else {
$("#header").css({
"opacity": "1"
})
}
})
})
</script>
</head>
<body>
<section data-aos="fade-down" data-aos-duration="800" data-aos-delay='600' id="header">
<nav class="navbar navbar-expand-lg fixed-top">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<i class="fa fa-gamepad"></i>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link" href="index.php">HOME PAGE</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.php">ABOUT</a>
</li>
<li class="nav-item">
<a class="nav-link" href="games2.php">GAMES</a>
</li>
<li class="nav-item">
<a class="nav-link" href="userreview.php">USER REVIEWS</a>
</li>
<li class="nav-item">
<a class="nav-link" href="registerapik.php">USE OUR OPEN API</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.php">CONTACT</a>
</li>
</ul>
</div>
</nav>
</section>
<div class="jumbotron text-center">
<div class="intro ">
<h2> <?php echo "<p data-aos='fade-up' data-aos-duration='1000'>Thanks for subscribing $useremail !</p>
<p data-aos='fade-up' data-aos-duration='2000'data-aos-delay='400'>Keep an eye on your emails to be updated on upcoming game titles and reviews !</p>"?><i class="fa fa-gamepad"></i></h2>
</div>
</div>
<footer id="mainfooter">
<h3 id="getintouch">Get in touch with us
<p>Subscribe to our monthly news letter to be updated on new game news and reviews</p>
<form action="upload.php" method="POST" enctype="multipart/form-data">
<label for="mail">EMAIL: <input type='text' name='useremail' required /></label>
<input type="submit" value="SUBSCRIBE"></button>
</form>
<p id="copyright">Copyright © 2021 DoubleTap</p>
</h3>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.js"></script>
<script>
AOS.init();
</script>
</body>
</html>