This repository was archived by the owner on Jan 24, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
89 lines (85 loc) · 3.38 KB
/
index.php
File metadata and controls
89 lines (85 loc) · 3.38 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
<!--
^
/ \
/ \
/ \
/\ /\
/ \ / \
/ v \
\ / \ /
\ / \ /
\/ \/
\ /
\ /
\ /
v
============ ==== ==== ------------- ----
============ ==== ==== ----- ----- ----
==== ============ ---- ---- ----
==== ============ ---- ---- ----
==== ==== ==== ----- ----- ----
==== ==== ==== ------------- ----
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Is THON Tomorrow?</title>
<meta name="description" content="Contains the answer to the popular question -- Is THON really tomorrow?">
<meta name="keywords" content="Penn State Dance Marathon, Penn State, PSU, THON, pediatric cancer, Penn State Hershey, Four Diamonds Fund, Four Diamonds">
<meta charset="UTF-8">
<meta property="og:title" content="Is THON Tomorrow?">
<meta property="og:description" content="Is THON Really Tomorrow?">
<meta property="og:site_name" content="Is THON Tomorrow?">
<meta property="og:url" content="http://www.isthontomorrow.com/">
<meta property="og:type" content="article">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-7s5uDGW3AHqw6xtJmNNtr+OBRJUlgkNJEo78P4b0yRw= sha512-nNo+yCHEyn0smMxSswnf/OnX6/KwJuZTlNZBjauKhTK0c+zT+q5JOCx0UFhXQ6rJR9jg6Es8gPuD2uZcYDLqSw==" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha256-KXn5puMvxCw+dAYznun+drMdG1IFl3agK0p/pqT9KAo= sha512-2e8qq0ETcfWRI4HJBzQiA3UoyFk6tbNyG+qSaIBZLyW9Xf3sWZHN/lxe9fTh1U45DpPf07yj94KsUHHWe4Yk1A==" crossorigin="anonymous"></script>
<script async="" src="http://www.google-analytics.com/analytics.js"></script><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-48249756-1', 'isthontomorrow.com');
ga('send', 'pageview');
</script>
<style>
body {
font-family: GillSansRegular,"Gill Sans MT","Gill Sans",sans-serif;
}
</style>
</head>
<body>
<div class="container">
<h2>Is THON Tomorrow?</h2>
<?php
// Set timezone for Azure Server
date_default_timezone_set('America/New_York');
$thonDates = array('2017-02-17', '2017-02-18', '2017-02-19');
if(date('Y-m-d') == '2017-02-16')
{
echo "<h1>YES! Seriously!</h1>";
}
elseif(in_array(date('Y-m-d'), $thonDates))
{
echo "<h1>No... THON is happening RIGHT NOW!</h1><p><a href='http://webcast.thon.org/'>Click here to view the Live Stream</a></p>";
}
else
{
echo "<h1>YES! ...just kidding.</h1>";
}
?>
<p>
Regardless, it's never too late to donate. Visit the
Donate Now page <a href="http://donate.thon.org" target="_blank">here</a> to help Penn State students find a cure for pediatric cancer.
</p>
<p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/14-j4CvRGIg" frameborder="0" allowfullscreen></iframe>
</p>
<p>
<a href="http://www.thon.org/" target="_blank">THON.org Homepage</a>
</p>
<!-- http://www.corygehr.com -->
</body>
</body>
</html>