This commit is contained in:
mcguirepr89
2022-02-27 15:27:57 -05:00
parent 79caccafb3
commit 7fa41cdc28
7 changed files with 71 additions and 139 deletions
+7 -6
View File
@@ -56,6 +56,7 @@ if(isset($_POST['bydate'])){
</style>
</head>
<body>
<div class="play">
<table>
<?php
if(!isset($_POST['species'])){
@@ -86,20 +87,20 @@ while($results=$result->fetchArray(SQLITE3_ASSOC))
$comname = preg_replace('/\'/', '', $comname);
$file = $results['File_Name'];
$filename = "/By_Date/".$date."/".$comname."/".$results['File_Name'];
echo "<table>
echo "<table >
<tr>
<th>$name</th>
<th>Max Confidence: $maxconf</th>
<th colspan=\"2\">$name</th>
<th></th>
</tr>
<tr>
<th>Most confident recording: </th>
<td class=\"spectrogram\"><video controls poster=\"$filename.png\"><source src=\"$filename\"></video></td>
<td class=\"spectrogram\">Best Recording<br>$maxconf<br><video controls poster=\"$filename.png\"><source src=\"$filename\"></video></td>
</tr></table>";
};};?>
</td>
</form>
</tr>
</table>
</div>
<?php
if(isset($_POST['species'])){
$name = $_POST['species'];
@@ -109,7 +110,7 @@ while($results=$result->fetchArray(SQLITE3_ASSOC))
header("refresh: 0;");
}
$result2 = $statement2->execute();
echo "<table>
echo "<table >
<tr>
<th>When</th>
<th>Listen</th>