commit 11006c0755b70253f18915531a8dbde1ae950b5d Author: Lukas Bachschwell Date: Thu Nov 9 22:57:09 2017 +0100 Initial commit diff --git a/control.xml b/control.xml new file mode 100644 index 0000000..c5ede2c --- /dev/null +++ b/control.xml @@ -0,0 +1,9 @@ + + +357647790 +play3 +Pirates Of The Caribbean Theme Song.mp3 +Do what you want cause a pirate is free, You Are a Pirate - Lol limewire full version HD!!!.mp3 +captn iglo.mp3 +stop + diff --git a/index.php b/index.php new file mode 100644 index 0000000..2455e53 --- /dev/null +++ b/index.php @@ -0,0 +1,224 @@ + + + + +Theresianum Radio + + + +
+ +

Theresianum Radio

+

by lbsfilm.at

+ + + +
+
+Status: +
updating...
+Song Name: +
updating...
+After Song: +
updating...
+UpdateNumber: +
updating...
+ + + + +
+ +update = rand(); + $xml->command = $_POST["command"]; + $xml->playmode = $_POST["playmode"]; + $xml->asXml('control.xml'); + +} +?> +
+Hi DJ! +
+ 0) { + echo "Error: " . $_FILES["file"]["error"] . "
"; +} else { + + + echo "Upload: " . $_FILES["file"]["name"] . "
"; + if($_FILES["file"]["type"]== "audio/mpeg"){ + echo "Size: " . ($_FILES["file"]["size"] / 1024) . " kB
"; + $xml=simplexml_load_file("control.xml"); + + if($_POST['upload'] == "Upload into Deck 1"){ + move_uploaded_file($_FILES["file"]["tmp_name"], + "Audio1.mp3"); + $xml->deck1 = $_FILES["file"]["name"]; +} + else if($_POST['upload'] == "Upload into Deck 2"){ + move_uploaded_file($_FILES["file"]["tmp_name"], + "Audio2.mp3"); + $xml->deck2 = $_FILES["file"]["name"]; + } + else { + move_uploaded_file($_FILES["file"]["tmp_name"], + "Audio3.mp3"); + $xml->deck3 = $_FILES["file"]["name"]; + + } + + $xml->asXml('control.xml'); + } + else + { + echo "I said it must be an mp3!!!!!!!!!"; + } + } +} +?> +
+
+Loaded Tracks:
+ +
+ +Deck1: +deck1; ?> + +
+Deck2: +deck2; ?> + +
+Deck3: +deck3; ?> + +
+
+What to do after the song played? +
+ Play Again
+ Stop it!
+
+ +
+
+Please just hit the buttons once (there might be a delay of up to 15 seconds...) +
+
+Get some good music from youtube and download it! +
+
+Load new files (this can take up to 2 minutes): +
+ + +
+ + + +
+ +
+
+Logout +
+ + Wrong Password What are you even doing here? Get off!!!!! + +
+ + \ No newline at end of file