-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.php
185 lines (154 loc) · 7.15 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<?php
// get the widgets
require_once ('partials/widgets.php');
HeaderWidget();
?>
<!---Link to the CSS for this page--->
<link rel="stylesheet" href="css/index.css">
</head>
<body class="container-fluid no-padding">
<!--- Contains the navbar on the top of every page--->
<?php Navbar(); ?>
<!--- Div for the main content of the page--->
<div id="main">
<!--- The main title of the page under the navbar--->
<div class="container-fluid no-padding">
<h1>Database List</h1>
</div>
<!--- Row for all the content--->
<div class="row no-gutters">
<!--- First column of databases--->
<div class="col-sm-3">
<!--- Herbarium title section--->
<div class="text-center title-box">
<h2><b>Herbarium</b></h2>
</div>
<!--- Herbarium links and content--->
<div class="column-body">
<?php
DatabaseCard(
title: 'Algae',
img_source: 'images/algae.png',
href: 'https://herbweb.botany.ubc.ca/herbarium/search.php?Database=algae',
background_color: '#3c8a2e',
);
DatabaseCard(
title: 'Bryophytes',
img_source: 'images/bryophytes.png',
href: 'https://herbweb.botany.ubc.ca/herbarium/search.php?Database=bryophytes',
background_color: '#3c8a2e',
);
DatabaseCard(
title: 'Fungi',
img_source: 'images/fungi.png',
href: 'https://herbweb.botany.ubc.ca/herbarium/search.php?Database=fungi',
background_color: '#3c8a2e',
);
DatabaseCard(
title: 'Lichen',
img_source: 'images/lichen.png',
href: 'https://herbweb.botany.ubc.ca/herbarium/search.php?Database=lichen',
background_color: '#3c8a2e',
);
DatabaseCard(
title: 'Vascular',
img_source: 'images/herbarium.png',
href: 'https://herbweb.botany.ubc.ca/herbarium/search.php?Database=vwsp',
background_color: '#3c8a2e',
)
?>
</div>
</div>
<!--- Vertebrate column of content--->
<div class="col-sm-3">
<!--- Vertebrate Title Section--->
<div class="text-center title-box">
<h2><b>Vertebrate</b></h2>
</div>
<!--- Vertebrate image and link content--->
<div class="column-body">
<?php
DatabaseCard(
title: 'Avian',
img_source: 'images/tetrapods.png',
href: 'search.php?Database=avian',
background_color: '#70382d',
);
DatabaseCard(
title: 'Herpetology',
img_source: 'images/herptology.png',
href: 'search.php?Database=herpetology',
background_color: '#70382d',
);
DatabaseCard(
title: 'Mammals',
img_source: 'images/mammal.png',
href: 'search.php?Database=mammal',
background_color: '#70382d',
);
DatabaseCard(
title: 'Fish',
img_source: 'images/fish.png',
href: 'search.php?Database=fish',
background_color: '#165788',
);
?>
</div>
</div>
<!--- Invertebrate content and title--->
<div class="col-sm-3">
<!--- Invertebrate title section--->
<div class="text-center title-box">
<h2><b>Invertebrate</b></h2>
</div>
<!--- Invertebrate column content--->
<div class="column-body">
<?php
DatabaseCard(
title: 'Entomology',
img_source: 'images/entomology.png',
href: 'search.php?Database=entomology',
background_color: '#824bb0',
);
DatabaseCard(
title: 'Dry Marine Invertebrates',
img_source: 'images/marine-invertebrates-dry.png',
href: 'search.php?Database=mi',
background_color: '#ffb652',
);
DatabaseCard(
title: 'Wet Marine Invertebrates',
img_source: 'images/marine-invertebrates-wet.png',
href: 'search.php?Database=miw',
background_color: '#ffb652',
);
?>
</div>
</div>
<!--- Fossil Column--->
<div class="col-sm-3">
<!--- Fossil title row--->
<div class="text-center title-box">
<h2><b>Fossil</b></h2>
</div>
<!--- Fossil Content--->
<div class="column-body">
<?php
DatabaseCard(
title: 'Fossils',
img_source: 'images/fossils.png',
href: 'search.php?Database=fossil',
background_color: '#bd3632',
);
?>
</div>
</div>
</div>
</div>
<!--- Code for the footer on each page--->
<?php FooterWidget(imgSrc: 'images/beatyLogo.png'); ?>
</body>
</html>