-
Notifications
You must be signed in to change notification settings - Fork 4
/
unified-search-2a.php
342 lines (321 loc) · 9.97 KB
/
unified-search-2a.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<?php
// open and load site variables
require('../config.php');
// open and print header template
require('header.php');
// connect to mySQL server and select the Fossil Calibration database
$connection=mysql_connect($SITEINFO['servername'],$SITEINFO['UserName'], $SITEINFO['password']) or die ('Unable to connect!');
mysql_select_db('FossilCalibration') or die ('Unable to select database!');
?>
<div class="left-column" style="">
<!-- faceted search tools -->
<div id="faceted-search">
<div style="text-align: center; margin: 3px 0 10px;">
<input type="submit" style="float: right;" value="Go" />
<input type="text" style="width: 80%;" value="Search by species, clade, age, etc." />
</div>
<h3 style="margin-top: 2px;">Recommended views</h3>
<div style="text-align: center;">
<select>
<option>Recently added calibrations</option>
<option>Calibrations in clade Mammalia</option>
<option>Calibrations in clade Aves</option>
<option>Advanced (using filters below)</option>
</select>
</div>
<h3>Advanced search options</h3>
<dl>
<dt>Ancestor of <a class="term" href="#">extant (living) species</a></dt>
<dd>
<table width="100%" border="0" align="left">
<tr>
<td style="width: 60px; text-align: right;">Species A </td>
<td><input type="text" name="TaxonA" id="TaxonA" style="width: 92%;"></td>
</tr>
<tr>
<td style="text-align: right;">Species B </td>
<td><input type="text" name="TaxonB" id="TaxonB" style="width: 92%;"> </td>
</tr>
<tr>
<td style="text-align: right; position: relative; top: -4px; font-size: 0.8em;">(optional)</td>
<td> </td>
</tr>
</table>
</dd>
<dt>By any <a class="term" href="#">clade</a></dt>
<dd>
<table width="100%" border="0" align="left">
<tr>
<td style="width: 60px; text-align: right;">Clade </td>
<td><input type="text" name="Clade" id="Clade" style="width: 92%;"></td>
<!--
<td>
<input type="submit" name="Submit1" id="Submit1" value="Show all within clade"
Xonclick="return testForTipTaxon( TODO );">
</td>
-->
</tr>
</table>
</dd>
<dt>By age (in <a class="term" href="#">Ma</a>)</dt>
<dd>
<table width="100%" border="0" align="left">
<tr>
<td style="width: 145px; text-align: right;">Minimum (youngest) </td>
<td><input type="text" name="TaxonA" id="TaxonA" style="width: 80%;"></td>
</tr>
<tr>
<td style="text-align: right;">Maximum (oldest) </td>
<td><input type="text" name="TaxonB" id="TaxonB" style="width: 80%;"> </td>
</tr>
</table>
</dd>
<dt>By <a class="term" href="#">geological time</a></dt>
<dd style="margin-left:8px;">
<div style="text-align: center; margin: 4px 0 2px; padding-right: 12px;">
<select name="Age" id="Age">
<option value="">Choose any period</option>
<option value="Modern">Modern, Quaternary, GSA 1999</option>
<option value="Calabrian">Calabrian, Quaternary, GSA 1999</option>
<option value="Zanclean">Zanclean, Neogene, GSA 1999</option>
<option value="Tortonian">Tortonian, Neogene, GSA 1999</option>
<option value="Serravallian">Serravallian, Neogene, GSA 1999</option>
<option value="Bartonian">Bartonian, Paleogene, GSA 1999</option>
<option value="Bartonian">Bartonian, Paleogene, GSA 1999</option>
<option value="Danian">Danian, Paleogene, GSA 1999</option>
</select>
</div>
</dd>
<dt style="height: 0px;"> </dt>
<!--
<dd><input type="submit" value="Update"/></dd>
-->
</dl>
<div style="text-align: center; margin: 4px;"><input type="submit" value="Update Results"/></div>
</div>
<!-- TODO: About Us, Contact Us (links in header?) -->
</div>
<div class="right-column">
<!-- news
<div id="site-news">
<h3 class="contentheading" style="margin-top: 0;">Site News</h3>
<div class="news-item">
<div class="dateline">
Jan 1, 2013
</div>
<div class="headline">
<a href="#">This is a Headline</a>
</div>
<div class="excerpt">
This is an excerpt of the news item, just
enough to encourage clicking for the full
story... <a href="#">more</a>
</div>
</div>
<div class="news-item">
<div class="dateline">
Dec 29, 2012
</div>
<div class="headline">
<a href="#">And This is a Second, Longer Headline</a>
</div>
<div class="excerpt">
This is an excerpt of the news item, just
enough to encourage clicking for the full
story... <a href="#">more</a>
</div>
</div>
<div class="news-item">
<div class="dateline">
Nov 28, 2012
</div>
<div class="headline">
<a href="#">Yet Another Headline</a>
</div>
<div class="excerpt">
This is an excerpt of the news item, just
enough to encourage clicking for the full
story... <a href="#">more</a>
</div>
</div>
</div>
-->
<div id="site-news">
<h3 class="contentheading" style="margin-top: 0; line-height: 1.25em;">Raising the Standard in Fossil Calibration
</h3>
<p>
The Fossil Calibration Database is a curated
collection of well-justified calibrations, including many published in the
journal <a href="#">Palaeontologia Electronica</a>. We also promote best practices for
<a href="#">justifying fossil calibrations</a> and <a href="#">citing calibrations</a>
properly.
</p>
<h3 class="contentheading" style="margin-top: 0;">Collection Statistics</h3>
<div style="padding-left: 6px;">
312 submitted calibrations
<br/>
298 published calibrations
<br/>
96 submitting researchers
</div>
</div>
</div>
<div class="center-column" style="">
<select style="float: right; margin-top: 12px; margin-bottom: -24px;">
<option>Group by relevance</option>
<option>Group by relationship</option>
<option selected="selected">Sort by date added</option>
<option>Sort by calibrated age</option>
</select>
<h2 class="results-heading" style="clear: both; border-top: none;">Recently added calibrations</h2>
<!--
<div style="text-align: center;">
<select style="margin: 3px auto;">
<option>Group by relevance</option>
<option>Group by phylogenetic relationship</option>
<option selected="selected">Sort by date added (newest first)</option>
<option>Sort by date added (oldest first)</option>
</select>
</div>
-->
<div class="search-result">
<table class="qualifiers" border="0">
<tr>
<td width="24">
</td>
<td width="*">
</td>
<td width="100">
</td>
<td width="120">
Added Jan 3, 2013
</td>
</tr>
</table>
<a class="calibration-link">
<span class="name">Archosauria</span>
<span class="citation">– from Imis, R. 2012.</span>
</a>
<br/>
<div class="optional-thumbnail"><img src="images/archosauria.jpeg" /></div>
<div class="details">
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result...
<a class="more" href="#">more</a>
</div>
</div>
<div class="search-result">
<table class="qualifiers" border="0">
<tr>
<td width="24">
</td>
<td width="*">
</td>
<td width="100">
</td>
<td width="120">
Added Dec 28, 2012
</td>
</tr>
</table>
<a class="calibration-link">
<span class="name">Salviniales</span>
<span class="citation">– from Hermsen, E. & Gandolfo, A. 2011.</span>
</a>
<br/>
<!--<div class="optional-thumbnail">{image}</div>-->
<div class="details">
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result...
<a class="more" href="#">more</a>
</div>
</div>
<div class="search-result">
<table class="qualifiers" border="0">
<tr>
<td width="24">
</td>
<td width="*">
</td>
<td width="100">
</td>
<td width="120">
Added Dec 23, 2012
</td>
</tr>
</table>
<a class="calibration-link">
<span class="name">Carnivora</span>
<span class="citation">– from Polly, P.D. 2010.</span>
</a>
<br/>
<!--<div class="optional-thumbnail">{image}</div>-->
<div class="details">
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result.
Here are some fascinating details about the calibration in this result...
<a class="more" href="#">more</a>
</div>
</div>
<div class="search-result">
<table class="qualifiers" border="0">
<tr>
<td width="24">
\/
</td>
<td width="*">
99% match
</td>
<td width="100">
9–12 Ma
</td>
<td width="120">
Added Dec 9, 2012
</td>
</tr>
</table>
<a class="calibration-link">
<span class="name">Insecta</span>
<span class="citation">– Ware, J. 2011.</span>
</a>
<br/>
<div class="optional-thumbnail"><img src="images/insecta.jpeg" /></div>
<div class="details">
Here are some details about the calibration in this result.
Here are some details about the calibration in this result.
Here are some details about the calibration in this result.
Here are some details about the calibration in this result.
Here are some details about the calibration in this result...
<a class="more" href="#">more</a>
</div>
</div>
<div style="text-align: right; border-top: 1px solid #ddd; font-size: 0.9em; padding-top: 2px;">
<a href="#">Show more results like this</a>
</div>
</div><!-- END OF center-column -->
<!--<div style="background-color: #fcc; color: #fff; clear: both;">test</div>-->
<?php
//open and print page footer template
require('footer.php');
?>