-
Notifications
You must be signed in to change notification settings - Fork 0
/
hours.php
53 lines (49 loc) · 1.9 KB
/
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
<?php
require_once("template.php");
require_once("page-functions/hours-functions.php");
$page = new Template();
$page->setTitle('Hours | Steven Library | Bard College');
$page->setMetaDesc('View the operating hours of Bard College Library. Find the library\'s opening and closing times, including weekend hours and holiday schedules, to plan your visit for research, studying, or accessing library resources.');
// print page header
$page->open();
// Hours times have been moved to the hours-functions.php page
?>
</header>
<div class="mt-6 mb-1 bard-bt-boarder"></div>
<div class="container">
<h1 class="text-center">Hours</h1>
<hr>
<div class="row">
<div class="col-md-8">
<div class="" style="padding-bottom: 10px;">
<?php
$today = date("Ymd");
print "
<iframe
src=\"https://calendar.google.com/calendar/b/1/embed?showTitle=0&showNav=1&showDate=0&showPrint=0&showTabs=1&showCalendars=0&showTz=0&mode=AGENDA&dates=$today/$today&height=400&wkst=2&bgcolor=%23ffffff&src=bard.edu_d6g5jdl83neg9b1vglrfcm61as%40group.calendar.google.com&color=%232952A3&ctz=America%2FNew_York\"
style=\"border:0px solid #333; width: 100%; height: 380px;\"
width=\"\" height=\"\"
frameborder=\"0\"
scrolling=\"no\"
id=\"calendarIframe\"
name=\"calendarIframe\">
</iframe>
";
?>
</div>
<div class="info-block">
<p>Library materials can also be returned at any time using the 24-hour book drop just inside the main entrance to the Stevenson library.</p>
<img src="https://www.bard.edu/library/images/hours/book depository.jpg" alt="Drop Box Location" style="width: 60% !important;">
</div>
</div>
<div class="col-md-4">
<?php
printHoursBlock("Regular Semester Hours", $regularHours);
printHoursBlock("Reference Desk Hours", $referenceHours);
?>
</div>
</div>
</div>
<?php
$page->close();
?>