-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
61 lines (60 loc) · 2.09 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
<?php
if (!isset($_GET['url'])) {
$_GET['url'] = 'scroll';
}
$url = $_GET['url'].'.php';
?><!DOCTYPE html>
<html>
<head>
<title>OC Easter</title>
<meta charset="utf-8" />
<meta name="title" content="OC Easter" />
<meta name="description" content="An Easter celebration of Jesus and His freedom at the OC Fairgrounds in Costa Mesa, California." />
<meta name="keywords" content="oc, orange county, easter, fairgrounds, francis chan, rockharbor, oc easter, pacific amphitheatre, freedom, jesus" />
<script type="text/javascript" src="js/jquery.js"></script>
<?php if(!(isset($_GET['url']) && $_GET['url'] != 'scroll')): ?>
<script type="text/javascript" src="js/timeline.js"></script>
<script type="text/javascript">
$(document).ready(function() {
window.setTimeout(function() {
$.oceaster.init();
$(window).bind('scroll', $.oceaster.update);
}, 1);
});
</script>
<?php endif; ?>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7415608-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/960.css" />
<link rel="stylesheet" type="text/css" href="css/fonts.css" />
<link rel="stylesheet" type="text/css" href="css/styles.css" />
</head>
<body>
<div id="wrapper" class="<?php echo $url != 'scroll.php' ? 'page' : 'scroll'; ?>">
<div id="content">
<header id="header"><?php
if ($url != 'scroll.php') {
echo '<a href="/"><h1>OC Easter</h1></a>';
}
?></header>
<?php include 'nav.php'; ?>
<?php
if (file_exists("pages/$url")) {
include "pages/$url";
} else {
include "pages/404.php";
}
?>
</div>
</div>
</body>
</html>