Added "DJ Mode" (splitscreen)
authorHarvie <tomas@mudrunka.cz>
Tue, 7 Sep 2010 11:15:06 +0000 (13:15 +0200)
committerHarvie <tomas@mudrunka.cz>
Tue, 7 Sep 2010 11:15:06 +0000 (13:15 +0200)
index.php
jbx/themes/default/icons/djmode.png [new file with mode: 0755]
jbx/themes/default/jukebox.css

index fa52b99e5b30c72291b88b73d7ec70885ca4db8e..4c53da9b84a7a664ef1ef094ff72ffdb00a188dc 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -295,6 +295,7 @@ function flash_mp3_player() {
 }
 
 //GET
+if(isset($_GET['dj'])) { ?><frameset cols="*,*"><frame name="dj-left" src="./"><frame name="dj-right" src="./"></frameset><?php die(); }
 if(isset($_GET['download'])) serve_download($playlist_name);
 if(isset($_GET['f'])) flash_mp3_player();
 if(isset($_GET['song'])) {
@@ -350,6 +351,7 @@ if(isset($_GET['blank'])) {
        <iframe src="about:blank" name="playframe-hide" width="0" height="0" style="border: none;" class="hide"></iframe><!-- -----------???--------------- -->
        <span class="icon">&lt;</span> <a href="javascript: history.go(-1)" class="icon iback">BACK</a>
        | <a href="?" class="icon ihome">HOME&nbsp;(<?=$music_dir?>)</a>
+       | <a href="?dj" class="icon idjmode">DJ</a>
        | <a href="?help" class="icon ihelp">ABOUT/HELP</a>
        | <a href="?logout" class="icon ilogout">LOGOUT</a>
 </div>
diff --git a/jbx/themes/default/icons/djmode.png b/jbx/themes/default/icons/djmode.png
new file mode 100755 (executable)
index 0000000..fd877cb
Binary files /dev/null and b/jbx/themes/default/icons/djmode.png differ
index d867ce79a169d703c9146576818481ec0a3d24f4..9a8b8e2c68580c3d17842804ba2c9da2c3dc28a1 100755 (executable)
@@ -113,5 +113,6 @@ a.icon:hover { text-indent:18px; background-color:#000022; width:auto; }
 *.ihome                { background-image: url(icons/home.png); }
 *.iback                { background-image: url(icons/back.png); }
 *.ihelp                { background-image: url(icons/help.png); }
+*.idjmode      { background-image: url(icons/djmode.png); }
 
 */
This page took 0.142149 seconds and 4 git commands to generate.