From 2c014c29f2cf7a519152937f82ff67c0ef23d84f Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 11 Sep 2021 19:42:09 +0200 Subject: Commit --- oworadio/credits/index.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 oworadio/credits/index.php (limited to 'oworadio/credits/index.php') diff --git a/oworadio/credits/index.php b/oworadio/credits/index.php new file mode 100644 index 0000000..b4ce7b5 --- /dev/null +++ b/oworadio/credits/index.php @@ -0,0 +1,17 @@ + $item) { + if ($item["id"] === $id) { + $cid = $iid; + } +} + +if (isset($db[$cid]["title"]) && trim($db[$cid]["title"]) !== "") { + echo(implode(", ", $db[$cid]["artists"]) . " ยท " . $db[$cid]["title"]); +} else { + echo("Unknown Song"); +} \ No newline at end of file -- cgit