Jump to content

Another PHP ON Air Now Script


Matt Skills
 Share

Recommended Posts

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

Edited by Matt Skills

TWITTER: @mattcas_tro

SKYPE & EMAIL: matt@stationsite.co.uk

FB: ITSMATTSKILLS

 

Developer of StationSite & RealCast

Link to comment
Share on other sites

  • 1 month later...
// 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 = "";$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 =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ; }else if( $curtime == "Mon 01" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 02" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 03" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 04" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 05" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 06" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 07" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 08" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 09" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 10" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 11" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 12" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}

else if( $curtime == "Mon 13" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 14" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 15" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 16" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 17" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 18" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 19" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 20" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 21" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 22" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Mon 23" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}

//TueSDAY"S SCHEDULE

else if( $curtime == "Tue 00" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 00" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 01" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 02" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 03" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 04" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 05" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 06" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 07" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 08" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 09" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 10" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 11" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 12" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}

else if( $curtime == "Tue 13" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 14" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 15" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 16" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 17" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 18" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 19" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 20" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 21" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 22" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Tue 23" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}

//WedNESDAY"S SCHEDULE

else if( $curtime == "Wed 00" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 00" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 01" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 02" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 03" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 04" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 05" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 06" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 07" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 08" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 09" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 10" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 11" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 12" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}

else if( $curtime == "Wed 13" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 14" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 15" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 16" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 17" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 18" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 19" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 20" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 21" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 22" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Wed 23" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}

//ThuRSDAY"S SCHEDULE

else if( $curtime == "Thu 00" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 00" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 01" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 02" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 03" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 04" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 05" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 06" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 07" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 08" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 09" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 10" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 11" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 12" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}

else if( $curtime == "Thu 13" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 14" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 15" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 16" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 17" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 18" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 19" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 20" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 21" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 22" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Thu 23" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "djimages/jukebox.png" ; $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 =  "Friday Night Request" ;  $onair_image_url =  "/djimages/strawbs.jpg" ; $onairdesc =  "Request You're Delicious Tunes" ;}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 =  "/djimages/strawbs.jpg" ; $onairdesc =  "Request You're Delicious Tunes" ;}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 =  "Saturday Night Dance" ;  $onair_image_url =  "/djimages/strawbs.jpg" ; $onairdesc =  "Saturday Night Dance" ;}else if( $curtime == "Sat 19" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "imageurlhere.jpg" ; $onairdesc =  "Your Show Description" ;}else if( $curtime == "Sat 20" ) { $onairnow =  "Saturday Night Dance" ;  $onair_image_url =  "/djimages/strawbs.jpg" ; $onairdesc =  "Saturday Night Dance" ;}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 =  "Back To The 80's" ;  $onair_image_url =  "djimages/strawbs,jpg" ; $onairdesc =  "back to the 80's" ;}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 =  "djimages/strawbs.jpg" ; $onairdesc =  "back to the 80's" ;}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">       " width="100" height="100" >    
  ( - )    
        </

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...