-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloop-hours.php
72 lines (55 loc) · 1.57 KB
/
loop-hours.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex">
<title>Loop Library Information</title>
<style>
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic%7COpen+Sans+Condensed:300,700,300italic");
body, html{
font-family:"Open Sans Condensed",sans-serif;
background: #000000;
/* background: red;*/
color:white;
text-align:left;
overflow:hidden;
}
a {color:white; text-decoration: none;}
#main{
max-width: 100%;
padding:2%;
margin:0 auto;
}
table {max-width: 100%; margin:0 auto; text-align:left;}
table th{
font-weight: normal;
}
/* .hours-alt.hours-today-row.hours-library.loc2438 th, .hours-alt.hours-today-row.hours-library.loc2438 td {
padding-bottom: 10px;
}*/
.loc2438{
font-size:1.8em;
font-weight:bold;
}
tr.dep2440, th.hours-col-loc{display:none;}
.date{font-size: 2em;}
.hours{font-size: 1.8em;}
</style>
</head>
<?php
date_default_timezone_set('America/Chicago');
$todaysDate=date("l, M. jS");
?>
<body>
<div id="main">
<table>
<tr><td class="date"><?php echo $todaysDate; ?></td></tr>
<tr><td>
<h2>Today's Hours:</h2>
<div class="hours" id="api_hours_today_iid123_lid2438"></div>
</td></tr>
</table>
<script src="https://api3.libcal.com/api_hours_today.php?iid=123&lid=2438&format=js&systemTime=0&context=object"> </script>
</div>
</body>
</html>