-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
73 lines (62 loc) · 2.2 KB
/
index.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
<?php
session_start();
if(isset($_SESSION['ON-OFF'])){
$ON_OFF = $_SESSION['ON-OFF'];
} else {
$ON_OFF = 0;
}
?>
<!doctype html>
<html>
<head>
<title>Raffleize</title>
<link rel="stylesheet" type="text/css" href="css/global.css" />
<link rel="stylesheet" type="text/css" href="css/landing.css" />
<script type="text/javascript" src="source/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="source/functions.js"></script>
<script type="text/javascript">
var ON_OFF = "<?php echo $ON_OFF; ?>";
</script>
</head>
<body>
<nav><!-- Navigation -->
<div id="wrap">
<a href="index.php"><div id="logo"></div></a><!-- logo in nav, also "home button" -->
<ul>
<li><a href="about.html">About</a></li>
</ul>
</div>
</nav><!-- End Navigation -->
<div id="wrap">
<div id="more"></div><!-- arrow pointing to "about" link -->
</div><!-- end wrap -->
<div id="box">
<div id="wrap">
<div id="content">
<h1>Hey there!</h1>
<p>It seems you're a bit early, but not to worry we're soon going to be <span id="bold">hosting Raffles</span> with many, <span id="bold">many prizes</span>.</p>
<p class="action" id="action"> <span id="bold">SIGNUP</span> below for <span id="bold">early access</span>.</p>
<p class="action" id="action2"> <span id="bold">All done!</span></p>
<!-- start form -->
<div class="container" id="container"><!-- basically the wrapper for the form -->
<form id="signup" method="POST" action="source/submitForm.php">
<div class="inputs">
<input type="email" id="email" name="email" placeholder="e-mail" autofocus /><!-- email form field-->
</div><!--end inputs -->
<input type="submit" class="button large green" value="submit"/><!-- submit button for email address form -->
</form>
</div><!-- end container, end form-->
</div><!-- end content -->
<div id="socail">
<div id="facebook"></div>
<div id="twitter"></div>
</div><!-- end social -->
</div><!-- end wrap -->
</div><!-- end box -->
<!-- image under main "box div" that has a screenshot of the raffle, not sure if to use on site, like it better without -->
<div id="wrap">
<div id="raffle"></div>
</div>
</body>
<!-- end comment-->
</html>