From 4d4308c46d4f7801c657cc79d2243e1a81831334 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 27 Oct 2023 22:29:56 +0200 Subject: Updated 32 files, added 279 files, deleted 3 files and renamed 14 files (automated) --- app/ui/search.php | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 app/ui/search.php (limited to 'app/ui/search.php') diff --git a/app/ui/search.php b/app/ui/search.php new file mode 100644 index 0000000..7d9fbba --- /dev/null +++ b/app/ui/search.php @@ -0,0 +1,91 @@ + + + + + + + + + search + + + + + + + + + + + +
+
+

Search results for ""

+ 0; + }); + + uasort($albums, function ($a, $b) { + return strcmp($a["title"], $b["title"]); + }); + + uasort($albums, function ($a, $b) { + return strcmp($a["artist"], $b["artist"]); + }); + + uasort($albums, function ($a, $b) { + return getMatches($b) - getMatches($a); + }); + + $songs = array_filter($songs, function ($i) { + return getMatches($i) > 0; + }); + + uasort($songs, function ($a, $b) { + return getMatches($b) - getMatches($a); + }); + + ?> + + + +
+ +

+ + \ No newline at end of file -- cgit