Song Request

Joined
Jun 14, 2018
Messages
109
Reaction score
1
hi all i have a online radio station
but at the moment i'm using google forms for song requests
i'm also using playit live to broadcast

but my question is what other things could i use for song requests
and i want to be able to turn it off and on at certain times of days?
how can i do this
 
Joined
Nov 13, 2020
Messages
302
Reaction score
38
A simple 'HTML form' might be the answer. Do you know how to code one? Also, are you using PHP server side to access your database?

Does your provider have 'cron' enable for your usage? 'cron' can do your on/off timing.
 
Joined
Jun 14, 2018
Messages
109
Reaction score
1
A simple 'HTML form' might be the answer. Do you know how to code one? Also, are you using PHP server side to access your database?

Does your provider have 'cron' enable for your usage? 'cron' can do your on/off timing.
yes i do know how to code a form :) i am using wix.com for our website i used to host my own site ha
also i have this on-air script

Code:
<?php
// 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 =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "The Bestest Fab Tunes" ; }
else if( $curtime == "Mon 01" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "The Bestest Fab Tunes" ;}
else if( $curtime == "Mon 02" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "The Bestest Fab Tunes" ;}
else if( $curtime == "Mon 03" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.png" ; $onairdesc =  "Your Fab Bestest Tunes" ;}
else if( $curtime == "Mon 04" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Your One And Only Best Tunes" ;}
else if( $curtime == "Mon 05" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Da Best Music On Coolvibes" ;}
else if( $curtime == "Mon 06" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Da Greatest Tunes" ;}
else if( $curtime == "Mon 07" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Da Greatest Tunes" ;}
else if( $curtime == "Mon 08" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "The Most Awesome Tunes " ;}
else if( $curtime == "Mon 09" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Most Amazing Tunes" ;}
else if( $curtime == "Mon 10" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Your Amazing Tunes" ;}
else if( $curtime == "Mon 11" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Mon 12" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Fab Entertaining Tunes" ;}


else if( $curtime == "Mon 13" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Your Amazing Tunes" ;}
else if( $curtime == "Mon 14" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Mon 15" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Fab Entertaining Tunes" ;}
else if( $curtime == "Mon 16" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Your Amazing Tunes" ;}
else if( $curtime == "Mon 17" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Mon 18" ) { $onairnow =  "Sis-Bee" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/sis-bee.png" ; $onairdesc =  "Very Best In Christian Music" ;}
else if( $curtime == "Mon 19" ) { $onairnow =  "Sis-Bee" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/sis-bee.png" ; $onairdesc =  "Very Best in Christian Music" ;}
else if( $curtime == "Mon 20" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Mon 21" ) { $onairnow =  "Jermaine" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Your Show Description" ;}
else if( $curtime == "Mon 22" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Mon 23" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "images/autism.jpg" ; $onairdesc =  "Ya Greatest Tunes " ;}


//TueSDAY"S SCHEDULE


else if( $curtime == "Tue 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 01" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 02" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 03" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 04" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 05" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 06" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 07" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 08" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 09" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 10" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 11" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 12" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}


else if( $curtime == "Tue 13" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 14" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 15" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 16" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 17" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 18" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 19" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 20" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 21" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 22" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Tue 23" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}



//WedNESDAY"S SCHEDULE


else if( $curtime == "Wed 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 01" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 02" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 03" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 04" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 05" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 06" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 07" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 08" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 09" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 10" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 11" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 12" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}


else if( $curtime == "Wed 13" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 14" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 15" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 16" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 17" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 18" ) { $onairnow =  "Sis-Bee" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/sis-bee.png" ; $onairdesc =  "Very Best In " ;}
else if( $curtime == "Wed 19" ) { $onairnow =  "Sis Bee" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/sis-bee.png" ; $onairdesc =  "Very Best In Christian Music" ;}
else if( $curtime == "Wed 20" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 21" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wed 22" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Wedn 23" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}


//ThuRSDAY"S SCHEDULE


else if( $curtime == "Thu 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 01" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 02" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 03" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 04" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 05" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 06" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 07" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 08" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 09" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 10" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 11" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 12" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}


else if( $curtime == "Thu 13" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 14" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 15" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 16" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 17" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 18" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 19" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "imageurlhere,jpg" ; $onairdesc =  "$onairdescription" ;}
else if( $curtime == "Thu 20" ) { $onairnow =  "Strawb's Show" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/strawbs.png" ; $onairdesc =  "Very Best In Random Music" ;}
else if( $curtime == "Thu 21" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Thu 22" ) { $onairnow =  "Strawbs's Show" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/strawbs.png" ; $onairdesc =  "Very Best In Random Music" ;}
else if( $curtime == "Thu 23" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}



//FriDAY"S SCHEDULE


else if( $curtime == "Fri 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 01" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 02" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 03" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 04" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 05" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 06" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 07" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 08" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 09" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 10" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 11" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 12" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}


else if( $curtime == "Fri 13" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 14" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 15" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 16" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 17" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 18" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 19" ) { $onairnow =  "Reggae With Reuben" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/Reuben.png" ; $onairdesc =  "Very Best In Reggae" ; }
else if( $curtime == "Fri 20" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 21" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Fri 22" ) { $onairnow =  "Reggae With Reuben" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/Reuben.png" ; $onairdesc =  "Very Best In Reggae" ;}
else if( $curtime == "Fri 23" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}





//SatURDAY"S SCHEDULE


else if( $curtime == "Sat 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 01" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 02" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 03" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 04" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 05" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 06" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 07" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 08" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 09" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 10" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 11" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 12" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}


else if( $curtime == "Sat 13" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 14" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 15" ) { $onairnow =  "Deano's Variaty Shows" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/Deano.png" ; $onairdesc =  "Here To Entertain You" ;}
else if( $curtime == "Sat 16" ) { $onairnow =  "YOUR SHOW HERE" ;  $onair_image_url =  "imageurlhere.jpg" ; $onairdesc =  "Your Show Description" ;}
else if( $curtime == "Sat 17" ) { $onairnow =  "Deano's Variaty Shows" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/Deano.png" ; $onairdesc =  "Here To Entertain You" ;}
else if( $curtime == "Sat 18" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 19" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 20" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 21" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 22" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sat 23" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}


//SunDAY"S SCHEDULE


else if( $curtime == "Sun 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 00" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 01" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 02" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 03" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 04" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 05" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 06" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 07" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 08" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 09" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 10" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 11" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 12" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}


else if( $curtime == "Sun 13" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 14" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 15" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 16" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 17" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 18" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 19" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 20" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 21" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 22" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}
else if( $curtime == "Sun 23" ) { $onairnow =  "Jukebox Tunes" ;  $onair_image_url =  "https://hottunez.000webhostapp.com/images/autism.png" ; $onairdesc =  "Ya Greatest Tunes " ;}




// 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




?>








<strong>On Air Now:</strong><br />
 
<table width="500px" border="0">
  <tr>
    <td> <img src="path/to/file/<?php echo $onairimage ; ?>" width="100" height="100" ></td>
    <td><p> <?php echo $onair_now ; ?> (<?php echo $start_time ; ?> - <?php echo $end_time ; ?>)</p>
    <p> <?php echo $onair_desc ; ?></p>
     </td>
  </tr>
</table>

now i'm having trouble with the images they won't load for some odd reason
 
Joined
Nov 13, 2020
Messages
302
Reaction score
38
I found three images in your code : autism.png, strawbs.png, and reuben.png. They all took a very long time to load. Almost timed out. You should take a look at that.
 
Joined
Jun 14, 2018
Messages
109
Reaction score
1
I found three images in your code : autism.png, strawbs.png, and reuben.png. They all took a very long time to load. Almost timed out. You should take a look at that.
i don't understand it though as im with 000webhost for hosting just files
 
Joined
Nov 13, 2020
Messages
302
Reaction score
38
I'd ask 000webhost that question. The load time is ridiculously slow for a host.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,955
Messages
2,570,117
Members
46,705
Latest member
v_darius

Latest Threads

Top