-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
68 lines (60 loc) · 1.65 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
<?php
/*
* This is the main file that is loaded by default when navigating to
* zackguido.com. Shit starts here.
*/
?>
<html>
<head>
<title>Get Surrounded.</title>
<?php
includeStylesheets();
?>
</head>
<body>
<div id="bgTable">
<div class="bgTableRow">
<div id="tl"></div>
<div id="tr"></div>
</div>
<div class="bgTableRow">
<div id="bl"></div>
<div id="br"></div>
</div>
</div>
<div id="logo">Surround Lighting</div>
<div id="video">
<canvas id="c"></canvas>
<video id="v" controls="controls" loop="" width="640px">
<source src="videoSrc/BigBuckBunny_640x360.mp4" type="video/mp4"/>
</video>
</div>
<?php
includeScripts();
?>
</body>
</html>
<?php
function includeStylesheets(){ ?>
<link rel="stylesheet" type="text/css" href="main.css">
<!--[if gte IE 9]>
<style type="text/css">
.gradient {
filter: none;
}
</style>
<![endif]-->
<?php }
function includeScripts(){ ?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js"></script>
<script src="color-thief-js/libs/quantize.js"></script>
<script src="color-thief-js/color-thief.js"></script>
<script src="main.js"></script>
<?php }
function printNarrow(){ ?>
<div id="narrow">
pay attention to me.
</div>
<?php }
?>