ntv-site/request.php
2023-03-27 17:46:52 +02:00

27 lines
1.2 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<title>NTV song select!!!</title>
<script src="NTV_offering/index.js?cache=<?php echo bin2hex(random_bytes(16)); ?>"></script>
<link rel="stylesheet" href="NTV_offering/index.css">
</head>
<body>
<iframe src="https://home.nezbednik.eu.org:2000/NTV_offering/queue_embed.php" id="queue" style="display: none;"></iframe>
<a href="about:blank" id="queueButton" onclick="event.preventDefault(); var q = document.getElementById('queue'); if (q.hasAttribute('style')) { q.removeAttribute('style'); } else { q.setAttribute('style', 'display: none;'); }">open queue</a>
<h1 style="margin-bottom: 0; margin-top: 0;">NTV song select</h1>
<a>library:&nbsp;</a><a id="libIndic">initializing</a><br><br>
<input type="text" id="query" placeholder="Axel_F">
<input type="submit" id="submit" onclick="doSearch()">
<table id="results" class="results"></table>
<div id="nosearch">
<p>Please input a query!</p>
</div>
<div id="searching" style="display: none;">
<p>Searching...</p>
</div>
<div id="noresults" style="display: none;">
<p>No result</p>
</div>
</body>
</html>