chiro-canto/public/upload/verify.php

74 lines
2.2 KiB
PHP

<ul class="breadcrumb">
<li>Location</li>
<li>Metadata</li>
<li class="active">Verify</li>
</ul>
<h2>Recording data</h2>
<table class="key-value">
<tbody><tr>
<td>File</td>
<td><?=$_SESSION['observation']['file']?></td>
</tr>
<tr>
<td>Species</td>
<td><!--<span class="common-name">European Robin</span>--> <span class="sci-name">(<?=$_SESSION['observation']['species']?>)</span> </td>
</tr>
<tr>
<td>Subspecies</td>
<td><?=$_SESSION['observation']['subspecies']?></td>
</tr>
<tr>
<td>License</td>
<td><a href="//creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">Creative Commons Attribution-NonCommercial-ShareAlike 4.0</a></td>
</tr>
<tr>
<td>Recordist</td>
<td><?=$_SESSION['observation']['recordist-name']?></td>
</tr>
<tr>
<td>Date</td>
<td><?=$_SESSION['observation']['date']?></td>
</tr>
<tr>
<td>Time</td>
<td><?=$_SESSION['observation']['time']?></td>
</tr>
<tr>
<!-- <td>Elevation</td>
<td>50 meters</td>
-->
</tr>
<tr>
<!-- <td>Background species</td>
<td><ul><li><span class="common-name">Common Chaffinch</span> <span class="sci-name">(Fringilla coelebs)</span></li></ul></td> -->
</tr>
<tr>
<tr>
<td>Quality</td>
<td><?=$_SESSION['observation']['quality']?></td>
</tr>
<tr>
<td>Remarks</td>
<td><?=$_SESSION['observation']['remarks'] == "" ? '<span class="unspecified">None given</span>' : $_SESSION['observation']['remarks'] ?></td>
</tr>
</tbody></table>
<h2>Location</h2>
<span id="latlng"><?=$_SESSION['observation']['latlng']?></span>
<div id="checkmap" style="height: 250px; border: 1px solid #AAA;"></div>
<script type='text/javascript' src='/scripts/jquery/script.js'></script>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<script src="scripts/checkmap.js">
</script>
<form action="submitobservation.php" method="post">
<input type="checkbox" id="allok" name="allok">
<label for="allok">All informations are ok.</label><br>
<input type="submit" name="submit" value="submit">
</form>