diff --git a/public/explore/index.php b/public/explore/index.php
index 8f9e6a3..d2facca 100644
--- a/public/explore/index.php
+++ b/public/explore/index.php
@@ -4,23 +4,7 @@ ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
-// require "$root/database/credentials.php";
-// // Connect the database
-// try {
-// $db = new PDO("mysql:host=$host;dbname=$database;charset=utf8",
-// $user,
-// $password,
-// array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
-// ));
-// } catch (Exception $e) {
-// die("Error : ".$e->getMessage());
-// }
-
-// $req = $db->prepare('SELECT id, recordist_name, file_name, license, species, sound_type, date, time FROM `records` WHERE species="unknown" ORDER BY `entry_timestamp` ASC LIMIT 1');
-// $req->execute();
-// $result = $req->fetchAll();
?>
-
@@ -39,6 +23,9 @@ include("$root/analytics/matomo.php");
Explore
+
+ - List Uploaded Recording
+
- Advanced Search
diff --git a/public/explore/list/index.php b/public/explore/list/index.php
new file mode 100644
index 0000000..652ae3f
--- /dev/null
+++ b/public/explore/list/index.php
@@ -0,0 +1,84 @@
+ PDO::ERRMODE_EXCEPTION
+ ));
+} catch (Exception $e) {
+ die("Error : ".$e->getMessage());
+}
+$req = $db->prepare('SELECT * FROM records ORDER BY date');
+$req->execute();
+$result = $req->fetchAll();
+?>
+
+
+
+
+
+
+ Explore | Chiro - Canto
+
+
+
+
+
+
+
+
+ Explore
+ Recording List
+
+
+
+ Datetime |
+ Species |
+ File Name |
+ Author |
+ License |
+ Audio |
+
+
+
+ prepare('SELECT * FROM authors WHERE id=:id');
+ $req->execute(array(
+ "id"=>$author_id
+ ));
+ if ($data = $req->fetch()) {
+ $username = $data['username'];
+ }
+ ?>
+
+ =$row['date']?> =$row['time']?> |
+ =$row['species']?> |
+
+ =$row['file_name']?>
+
+
+ |
+ =$username?> |
+ =$row['license']?> |
+ |
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/public/explore/search/searchrecord.php b/public/explore/search/searchrecord.php
index 3db2486..ef72f56 100644
--- a/public/explore/search/searchrecord.php
+++ b/public/explore/search/searchrecord.php
@@ -84,13 +84,14 @@ if ($_SESSION['error_msg'] == "") {
$sql .= ' date<='.$_SESSION['query']['date-before'];
}
if (isset($_SESSION['query']['keywords'])) {
+ $sql .= " remarks ";
$and = False;
foreach ($_SESSION['query']['keywords'] as $keyword) {
if ($keyword != ""){
if ($and) {
$sql .= " AND ";
}
- $sql .= "LIKE %$keyword%";
+ $sql .= " LIKE '%$keyword%' ";
}
$and = True;
}
diff --git a/public/explore/spectrograms/index.php b/public/explore/spectrograms/index.php
index 7ead7c7..8e6dc32 100644
--- a/public/explore/spectrograms/index.php
+++ b/public/explore/spectrograms/index.php
@@ -58,10 +58,10 @@ include("$root/analytics/matomo.php");
-
-
-
+
+
+
+
diff --git a/public/media/icons/analysis.png b/public/media/icons/analysis.png
new file mode 100644
index 0000000..26ee2c9
Binary files /dev/null and b/public/media/icons/analysis.png differ
diff --git a/public/media/icons/analysis.svg b/public/media/icons/analysis.svg
new file mode 100644
index 0000000..59be699
--- /dev/null
+++ b/public/media/icons/analysis.svg
@@ -0,0 +1,7 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/media/icons/wave.svg b/public/media/icons/wave.svg
new file mode 100644
index 0000000..be1462c
--- /dev/null
+++ b/public/media/icons/wave.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/menu.php b/public/menu.php
index 0e6bad4..8545704 100644
--- a/public/menu.php
+++ b/public/menu.php
@@ -13,6 +13,9 @@
- upload
+
+ - larynx
+
- forum
diff --git a/public/styles/style.css b/public/styles/style.css
index 60df212..478a538 100644
--- a/public/styles/style.css
+++ b/public/styles/style.css
@@ -10,7 +10,6 @@ body {
header {
text-align: right;
padding: 0;
- margin-top: 1em;
}
header a {
@@ -380,4 +379,17 @@ table#replies td {
background: transparent;
display: flex;
justify-content: space-between;
+}
+
+table {
+ max-width: 100vw;
+}
+
+table#list {
+ position: absolute;
+ left: 0;
+}
+
+table img {
+ height: 1em;
}
\ No newline at end of file