-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
65 lines (54 loc) · 1.66 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
error_reporting(0);
//include module
if(isset($_GET['act'])) {
$include = 'module/'.$_GET['act'].'.php';
if(file_exists($include)) { include($include); die(); }
}
?>
<html lang="en">
<head>
<title>Radio "Birou"</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="static/js/yt.js" type="text/javascript"></script>
<script src="static/js/js.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
<?php
if($_GET['server'] == 1) { echo'urmatoarea();'; }
?>
});
</script>
<link rel="stylesheet" href="static/css/style.css"/>
</head>
<body>
<br/><br/>
<input type="hidden" name="server" value="<?=$_GET['server']?>"/>
<div id="mesaj" style="display:none;"></div>
<div id="content">
<div id="mainarea">
<div id="title">Radio "Birou"</div>
<br style="clear:both;"/>
<div id="acum">Ultima melodie: <span>-</span></div>
<div id="instructions">
Link de YouTube: <input type="text" size="60" name="link"/> <input type="button" value="Adauga" onclick="adauga();"/>
</div>
<div id="volum" style="text-align: left;">
Volum: <input type="text" name="volum" size="2" value="100"/> <input type="button" value="Salveaza" onclick="volum();"/>
</div>
<?
if($_GET['server'] == 1) {
echo'<div id="video_area"><table width="100%" height="100%"><tr><td align="center">Nu exista melodii in playlist!</td></tr></table></div>
<div id="video"></div>';
}
?>
<div class="search_result">
<br/>
Ce urmeaza?
<div id="playlist"> </div>
</div>
</div>
<br/>
</div>
</body>
</html>