-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshirts.php
124 lines (94 loc) · 4.7 KB
/
shirts.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?php
$local_environment_site = "NASH";
$host = $_SERVER[HTTP_HOST];
$school = "";
if(strpos($host, 'localhost') !== false)
$school = $local_environment_site;
else if(strpos($host, 'nash') !== false)
header( 'Location: https://nadodgeball.com/shirts' ) ;
else if(strpos($host, 'nai') !== false)
header( 'Location: https://nadodgeball.com/shirts' ) ;
?>
<style>
@font-face {
font-family: HelveticaNeueCondensedBold;
src: url('../fonts/HelveticaNeueCondensedBold.eot');
src: url('../fonts/HelveticaNeueCondensedBold.eot?#iefix') format('embedded-opentype'), url('../fonts/HelveticaNeueCondensedBold.woff') format('woff'), url('../fonts/HelveticaNeueCondensedBold.ttf') format('truetype'), url('../fonts/HelveticaNeueCondensedBold.svg#HelveticaNeueCondensedBold') format('svg');
}
div,h2 {
font-family: HelveticaNeueCondensedBold;
}
.container{
color:white;
background-color: rgba(0,0,0,0.5);
border-radius: 5px;
padding: 10px;
font-size: 23px;
}
h2{
display: block;
font-size: 60px !important;
}
img{
max-width: 100%;
}
</style>
<?php
$local_environment_site = "NASH";
$host = $_SERVER[HTTP_HOST];
$school = "";
if(strpos($host, 'localhost') !== false)
$school = $local_environment_site;
else if(strpos($host, 'nash') !== false)
$school = "NASH";
else if(strpos($host, 'nai') !== false)
$school = "NAI";
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?php echo $school; ?> Dodgeball</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="57x57" href="/img/favicon/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/img/favicon/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/img/favicon/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/img/favicon/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/img/favicon/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/img/favicon/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/img/favicon/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/img/favicon/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="/img/favicon/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/img/favicon/favicon-194x194.png" sizes="194x194">
<link rel="icon" type="image/png" href="/img/favicon/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/img/favicon/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/img/favicon/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/img/favicon/manifest.json">
<link rel="mask-icon" href="/img/favicon/safari-pinned-tab.svg">
<link rel="shortcut icon" href="/img/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#33ccff">
<meta name="msapplication-TileImage" content="/img/favicon/mstile-144x144.png">
<meta name="msapplication-config" content="/img/favicon/browserconfig.xml">
<meta name="theme-color" content="#33ccff">
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<?php
echo '<h2>T-SHIRT COLOR LOCK-IN 🔐</h2>';
?>
<div class="container"><p>GET THE COLOR YOU WANT, Don't leave it up to chance! Any team that gets a sponsor for NA Project Water (Bronze is $300, levels increase from there on) will get the shirt color they choose, guaranteed! Submit your information below TODAY and expect an email from the NA Project Water sponsorship team within 12 hours.</p>
<p>For all other players, a link to shirt color selection will be sent to the personal email address provided by the student who registered your team to play. Emails will be sent on Tuesday, March 28, 2017 at 8:10AM EST. Colors will be available on a first-come, first-serve basis.</p>
<br>
<p style="color:red">T-SHIRT COLOR LOCK-IN 🔐 is now closed. On Tuesday, March 28, 2017 at 8:10AM EST team captains (the player’s email your team provided during team registration) were sent an email with a link to the shirt selection form. If your team has not yet selected a color, please do so ASAP!</p>
<br><br>
<img src="/img/shirts.png">
</div>
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
</body>
</html>