Search the Community
Showing results for tags 'code'.
-
rite this is the last time i am going to ask in this forum BUT! is there any script were people can request songs to my djs via facebook at all
-
Hello there: I just switched to a Centova cast V3 Streaming server for Shoutcast V1 and V2. I lost my ability to have a remote PHP script to show whether the current DJ is Auto DJ or the DJ that is streaming.( I had one through Makeavoice) Here is the code they used: If someone can help me with making one that would be most helpful. Thank you in advance!
-
Hi, I've searched all over the web, but i can't find a working php code that displays the current song and the number of listeners of a icecast stream. Is there still a working example? en would anyone share it with me? I think the easiest way is through the status2.xsl cause the icecast has two mount points. Thanks.
-
does anyone know of any code where an email form goes directly to certain emails at certain times,,,, and someone can open and close the email form song request at certain times? basically i'm looking for a song request email form and song requests goes to certain djs emails at certain times and we must be able to open and close the request form at certain times
-
hi i got this script from james on here somewhere // Set default text and default image | When a show is not on air, this text and image will display $default_on_air = 'off-air'; // off-air $default_image_on_air = 'http://hottunez-radio.com/images/nodj.png'; // Default image // Shows array, edit this information for each show $shows = [ [ 'show_name' => "Monday", // Show name 'day' => "Monday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 0, // Start Time (24 hour format) 'end_time' => 19, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/AutoDj.png' ], [ 'show_name' => "Monday", // Show name 'day' => "Monday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 19, // Start Time (24 hour format) 'end_time' => 21, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/AutoDj.png' ], [ 'show_name' => "Monday", // Show name 'day' => "Monday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 21, // Start Time (24 hour format) 'end_time' => 0, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/AutoDj.png' ], [ 'show_name' => "Tuesday", // Show name 'day' => "Tuesday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 22, // Start Time (24 hour format) 'end_time' => 01, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/dj here.jpg' ], [ 'show_name' => "Wednesday", // Show name 'day' => "Wednesday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 0, // Start Time (24 hour format) 'end_time' => 20, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/AutoDj.png' ], [ 'show_name' => "Thursday Jukebox", // Show name 'day' => "Thursday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 18, // Start Time (24 hour format) 'end_time' => 20, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/AutoDj.png' ], [ 'show_name' => "Thursday Jukebox", // Show name 'day' => "Thursday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 22, // Start Time (24 hour format) 'end_time' => 0, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/djstrawbs.jpg' ], [ 'show_name' => "Friday Jukebox", // jukebox|requests 'day' => "Friday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 0, // Start Time (24 hour format) 'end_time' => 10, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/AutoDj.png' ], [ 'show_name' => "Friday Jason", // jason's show 'day' => "Friday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 19, // Start Time (24 hour format) 'end_time' => 22, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/dj here.jpg' ], [ 'show_name' => "Friday Kenny", // Kenny's show 'day' => "Friday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 21, // Start Time (24 hour format) 'end_time' => 0, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/djkenny.jpg' ], [ 'show_name' => "Friday Jukebox", // Jukebox|Requests 'day' => "Friday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 22, // Start Time (24 hour format) 'end_time' => 08, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/djkenny.jpg' ], [ 'show_name' => "Saturday Kenny", // Kenny's Show 'day' => "Saturday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 22, // Start Time (24 hour format) 'end_time' => 23, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/djkenny.jpg' ], [ 'show_name' => "Sunday Jukebox", // Jukebox|Requests 'day' => "Sunday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 18, // Start Time (24 hour format) 'end_time' => 20, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/AutoDj.png' ] ]; 'show_name' => "Sunday Jukebox", // Jukebox|Requests 'day' => "Sunday", // Day (Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday) 'start_time' => 18, // Start Time (24 hour format) 'end_time' => 20, // End Time (24 hour format) 'image' => 'http://hottunez-radio.com/images/AutoDj.png' ] ]; ///////////////////////////////////////////////////// ////////// DO NOT EDIT BELOW THIS LINE ////////////// ///////////////////////////////////////////////////// $now_day = date('l'); $now_time = date('G'); $output = array( $default_on_air, $default_image_on_air ); for ($i = 0; $i = $now_time && $shows[$i]['end_time'] ON AIR NOW: <?php echo onAirNow()[1]; ?> and i'v gone to test it and i'm getting a page on my server saying this page isn't working? now i'm just wondering if anyone could look it over please?
-
We’ve had a go at rewriting the RadioDJ request script Its been tested with the new version of RadioDJ and on PHP7 You can search by Artist and Title or you have page numbers and you can also by choose some random songs. You can change the colours of the buttons/layout by editing the .css in main.css, If you don’t like the sticky header remove the section around line 48. It shouldn’t be too hard to integrate into your main website if you know what you are doing. You will need some knowledge of how to connect the script to your MySQL server. You can find the download of the script on this page https://djgarybaldy.co.uk/radiodj-php-request-script-basic/ Have fun using this script its been great fun seeing it come along this past month or so. Please note: This script is provided as-is and there will be no future updates for it.
-
hi guys i'm wondering if there is any scripts that change from autodj requests to live dj requests at specific times
-
My code Monkey has been busy this weekend upgrading & re-writing the RadioDJ request script that I got a while back We've updated it so search now searches both artist & title where as before it was just artist you could search. The demo can be found here https://djgarybaldy.co.uk/template/?page=1 When Its released you'll have the ability to change the colours of the buttons and table rows etc... via a .css style script The requests from the demo don't actually go anywhere at present because its just a demo I'm currently mulling over making it donation based to cover our time and costs of re scripting it to make it compatible with PHP 7+.
-
hi i'm looking for a shoutcast twiiter now playing script could anyone help me on that
-
Hi Everyone, I have put this code together to help anyone who is struggling to get any of the other on air scripts to work. You will need a website with PHP for it to work , If you don't have access to PHP , then you suck , and you will need to use a javascript on air script. anyway, I thought that it would be useful to put together a solution that is really simple that anyone should be able to work out how to use. with this version however you are limited to scheduling in 1 hour slots. // CREATED BY MATT SKILLS FOR BROADCASTING WORLD. FEEL FREE TO USE, SHARE (WITH CREDIT TO MATT SKILLS @ BROADCASTING WORLD) AND EDIT AS YOU NEED. date_default_timezone_set("Europe/London"); $curtime = date('D H'); $start_time = date('H:00') ; $end_time = date('H:00', strtotime('+1 hour', strtotime($start_time))); //FOR ANY HOURS WHERE THERE IS NO SHOW , LEAVE ONAIRNOW VARIABLE EMPTY, AND SET YOUR OFF AIR / AUTO DJ INFO HERE $offair_image_url = "autodjoroffairimage.jpg"; $offair_title = "AUTO DJ OR OFF AIR"; $offair_desc = "YOUR AUTO DJ DESCRIPTION OR LEAVE BLANK IF OFF AIR"; //MonDAY"S SCHEDULE if( $curtime == "Mon 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ; } else if( $curtime == "Mon 01" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 02" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 03" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 04" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 05" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 06" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 07" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 08" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 09" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 10" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 11" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 12" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 13" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 14" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 15" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 16" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 17" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 18" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 19" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 20" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 21" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 22" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Mon 23" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} //TueSDAY"S SCHEDULE else if( $curtime == "Tue 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 01" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 02" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 03" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 04" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 05" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 06" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 07" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 08" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 09" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 10" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 11" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 12" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 13" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 14" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 15" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 16" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 17" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 18" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 19" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 20" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 21" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 22" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Tue 23" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} //WedNESDAY"S SCHEDULE else if( $curtime == "Wed 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 01" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 02" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 03" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 04" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 05" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 06" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 07" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 08" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 09" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 10" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 11" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 12" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 13" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 14" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 15" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 16" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 17" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 18" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 19" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 20" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 21" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 22" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Wed 23" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} //ThuRSDAY"S SCHEDULE else if( $curtime == "Thu 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 01" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 02" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 03" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 04" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 05" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 06" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 07" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 08" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 09" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 10" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 11" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 12" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 13" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 14" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 15" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 16" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 17" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 18" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 19" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 20" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 21" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 22" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Thu 23" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} //FriDAY"S SCHEDULE else if( $curtime == "Fri 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 01" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 02" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 03" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 04" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 05" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 06" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 07" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 08" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 09" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 10" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 11" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 12" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 13" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 14" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 15" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 16" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 17" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 18" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 19" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ; } else if( $curtime == "Fri 20" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 21" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 22" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Fri 23" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} //SatURDAY"S SCHEDULE else if( $curtime == "Sat 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 01" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 02" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 03" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 04" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 05" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 06" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 07" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 08" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 09" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 10" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 11" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 12" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 13" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 14" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 15" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 16" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 17" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 18" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 19" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 20" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 21" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 22" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sat 23" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} //SunDAY"S SCHEDULE else if( $curtime == "Sun 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 00" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 01" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 02" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 03" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 04" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 05" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 06" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 07" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 08" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 09" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 10" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 11" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 12" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 13" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 14" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 15" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 16" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 17" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 18" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 19" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 20" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 21" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 22" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} else if( $curtime == "Sun 23" ) { $onairnow = "YOUR SHOW HERE" ; $onair_image_url = "imageurlhere.jpg" ; $onairdesc = "Your Show Description" ;} // BELLOW WE WILL CHECK IF THERE IS A SHOW SCHEDULED OR IF WE SHOULD DISPLAY THE AUTO DJ / OFF AIR INFO INSTEAD if(isset($onairnow)){ $onair_now = $onairnow; } else { $onair_now = $offair_title ;} if(isset($onairnow)){ $onair_desc = $onairdesc; } else { $onair_now = $offair_desc ;} if(isset($onairnow)){ $onairimage = $onair_image_url; } else { $onair_now = $offair_image ;} // NOW OUR VARIABLES ARE SET AND WE ARE READY TO OUTPUT WHAT IS CURRENTLY ON AIR INTO OUR WEBPAGE // I HAVE PUT A REALLY BASIC SAMPLE OF THE VARIABLES IN USE BELOW BUT YOU CAN STYLE THESE ANY WAY YOU WISH // echo $onairimage WILL DISPLAY THE CURRENT SHOW IMAGE OR AUTO DJ / OFF AIR IMAGE // echo $onair_now WILL DISPLAY THE CURRENT SHOW TITLE OR AUTO DJ / OFF AIR TITLE // echo $onair_desc WILL DISPLAY THE CURRENT SHOW DESCRIPTION OR AUTO DJ DESCRIPTION // echo $star_time WILL ECHO THE START OF THE CURRENT HOUR // echo $end_time WILL ECHO THE END OF THE CURRENT HOUR ?> On Air Now: </pre><table width="500px" border="0"> path/to/file/<?php echo $onairimage ; ?> ( - ) </table><br><b I hope this helps. Thanks, Matt
-
hello i have a major complaint, no one is helping me out with an air script that works on my site which shows what dj is on air at what times so please could someone give me a decent script that works please