migrate to mysql
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html data-theme="dark">
|
||||
<head>
|
||||
<script src=assets/jquery.js> </script>
|
||||
<script>
|
||||
function deleteit(indexik){
|
||||
$.post("admin.php?delete=1",
|
||||
$.post("index.php?admin=1&delete=1",
|
||||
{
|
||||
delete: indexik
|
||||
},
|
||||
@@ -14,21 +14,21 @@
|
||||
}
|
||||
$(function() {
|
||||
function Ping() {
|
||||
$.get("index.php?keepalive=1", function(data, status){
|
||||
$.get("index.php?admin=1&keepalive=1", function(data, status){
|
||||
});
|
||||
}
|
||||
|
||||
Ping();
|
||||
setInterval(function(){ Ping(); }, 60000);
|
||||
function updateTable(){
|
||||
$.get("admin.php?onlytable=1", function(data, status){
|
||||
$.get("index.php?admin=1&onlytable=1", function(data, status){
|
||||
$("#chattablicka").html(data);
|
||||
});
|
||||
}
|
||||
setInterval(updateTable, 5000);
|
||||
updateTable();
|
||||
function updateConns(){
|
||||
$.get("admin.php?onlyconns=1", function(data, status){
|
||||
$.get("index.php?admin=1&onlyconns=1", function(data, status){
|
||||
$("#connections").html(data);
|
||||
});
|
||||
}
|
||||
@@ -57,7 +57,7 @@
|
||||
</script>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="assets/pico.css">
|
||||
<title>Administrácia</title>
|
||||
<title>Administration</title>
|
||||
<style>
|
||||
table, th, td {
|
||||
border: 2px solid;
|
||||
@@ -69,28 +69,28 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="headingac">Vysielanie</p>
|
||||
<p class="headingac">Streaming</p>
|
||||
<audio controls src="__VLOZ_URL_AUDIA__" id="audioplayer" type="__VLOZ_TYP_AUDIA__" preload="none"></audio>
|
||||
<br>
|
||||
<a href="index.php?logout=1">
|
||||
<p>Odhlásiť sa</p>
|
||||
<p>Log out</p>
|
||||
</a>
|
||||
<a href="__VLOZ_URL_AUDIA__.m3u" download target="_blank">
|
||||
<p>Playlist na stiahnutie</p>
|
||||
<p>Playlist download</p>
|
||||
</a>
|
||||
<a href="index.php">
|
||||
<p>Obyčajný prehrávač</p>
|
||||
<p>Normal player</p>
|
||||
</a>
|
||||
<p class="headingac">Pripojenia:</p>
|
||||
<p class="headingac">Connections:</p>
|
||||
<div id="connections"></div>
|
||||
<br>
|
||||
<p class="headingac">Chat admin:</p>
|
||||
<button onclick="deleteit('*')">Zmazať všetko</button>
|
||||
<button onclick="deleteit('*')">Delete all</button>
|
||||
<br>
|
||||
<div id="chattablicka"></div><br>
|
||||
|
||||
<input id="ins"></input>
|
||||
<button id="send">Odoslať</button>
|
||||
<button id="send">Send</button>
|
||||
<br>
|
||||
<p>© BRN Systems __VLOZ_ROK__</p>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user