djaubs89 Posted September 2, 2017 Share Posted September 2, 2017 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 Link to comment Share on other sites More sharing options...
djaubs89 Posted September 2, 2017 Author Share Posted September 2, 2017 this script dont even work <?php $h = date('G'); //set variable $h to the hour of the day $d = date('w'); //set variable $d to the day of the week. $year = date('Y'); //set variable $year to the current year //G is the date key for hours in 24 format (not 12), with no leading 0s, like 02. // Adjust 2 hour offset for MST below. $h = $h-0; // MONDAY SCHEDULE if ($d == 1){ if($h >= 0 && $h else if ($h >= 8 && $h else if ($h >= 9 && $h else if ($h >= 10 && $h else if ($h >= 11 && $h else if ($h >= 12 && $h else if ($h >= 13 && $h else if ($h >= 14 && $h else if ($h >= 15 && $h else if ($h >= 16 && $h else if ($h >= 17 && $h else if ($h >= 18 && $h else if ($h >= 19 && $h else if ($h >= 20 && $h else if ($h >= 21 && $h else if ($h >= 22 && $h else if ($h >= 23 && $h } // TUESDAY SCHEDULE if ($d == 2){ if($h >= 0 && $h else if ($h >= 8 && $h else if ($h >= 9 && $h else if ($h >= 10 && $h else if ($h >= 11 && $h else if ($h >= 12 && $h else if ($h >= 13 && $h else if ($h >= 14 && $h else if ($h >= 15 && $h else if ($h >= 16 && $h else if ($h >= 17 && $h else if ($h >= 18 && $h else if ($h >= 19 && $h else if ($h >= 20 && $h else if ($h >= 21 && $h else if ($h >= 22 && $h else if ($h >= 23 && $h } // WEDNESDAY SCHEDULE if ($d == 3){ if($h >= 0 && $h else if ($h >= 8 && $h else if ($h >= 9 && $h else if ($h >= 10 && $h else if ($h >= 11 && $h else if ($h >= 12 && $h else if ($h >= 13 && $h else if ($h >= 14 && $h else if ($h >= 15 && $h else if ($h >= 16 && $h else if ($h >= 17 && $h else if ($h >= 18 && $h else if ($h >= 19 && $h else if ($h >= 20 && $h else if ($h >= 21 && $h else if ($h >= 22 && $h else if ($h >= 23 && $h } // THURSDAY SCHEDULE if ($d == 4){ if($h >= 0 && $h else if ($h >= 8 && $h else if ($h >= 9 && $h else if ($h >= 10 && $h else if ($h >= 11 && $h else if ($h >= 12 && $h else if ($h >= 13 && $h else if ($h >= 14 && $h else if ($h >= 15 && $h else if ($h >= 16 && $h else if ($h >= 17 && $h else if ($h >= 18 && $h else if ($h >= 19 && $h else if ($h >= 20 && $h else if ($h >= 21 && $h else if ($h >= 22 && $h else if ($h >= 23 && $h } // FRIDAY SCHEDULE if ($d == 5){ if($h >= 0 && $h else if ($h >= 8 && $h else if ($h >= 9 && $h else if ($h >= 10 && $h else if ($h >= 11 && $h else if ($h >= 12 && $h else if ($h >= 13 && $h else if ($h >= 14 && $h else if ($h >= 15 && $h else if ($h >= 16 && $h else if ($h >= 17 && $h else if ($h >= 18 && $h else if ($h >= 19 && $h else if ($h >= 20 && $h else if ($h >= 21 && $h else if ($h >= 22 && $h else if ($h >= 23 && $h } // SATURDAY SCHEDULE if ($d == 6){ if($h >= 20 && $h else if ($h >= 8 && $h else if ($h >= 9 && $h else if ($h >= 10 && $h else if ($h >= 11 && $h else if ($h >= 12 && $h else if ($h >= 13 && $h else if ($h >= 14 && $h else if ($h >= 15 && $h else if ($h >= 16 && $h else if ($h >= 17 && $h else if ($h >= 18 && $h else if ($h >= 18 && $h else if ($h >= 20 && $h else if ($h >= 21 && $h else if ($h >= 22 && $h else if ($h >= 23 && $h } // SUNDAY SCHEDULE if ($d == 0){ if($h >= 0 && $h else if ($h >= 8 && $h else if ($h >= 9 && $h else if ($h >= 10 && $h else if ($h >= 11 && $h else if ($h >= 12 && $h else if ($h >= 13 && $h else if ($h >= 14 && $h else if ($h >= 15 && $h else if ($h >= 16 && $h else if ($h >= 17 && $h else if ($h >= 18 && $h else if ($h >= 19 && $h else if ($h >= 20 && $h else if ($h >= 21 && $h else if ($h >= 22 && $h else if ($h >= 23 && $h } ?> <?php echo $img; ?> Link to comment Share on other sites More sharing options...
shoutcaststreaming Posted September 3, 2017 Share Posted September 3, 2017 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 pleaseInstead of bitchin' and moanin' about people not helping you out, why don't you offer someone to help you for a small fee. You catch more flies with honey than vinegar. SCS - Dedicated Bandwidth Servers Shoutcast / Icecast / Windows Media Transcoding - Auto DJ - Mobile Radio - FLASH Players - Auto DJ Broadcasting World's Stream Host of the Month Link to comment Share on other sites More sharing options...
James Posted September 3, 2017 Share Posted September 3, 2017 I have offered three days of free help to you. I work as an IT consultant and developer as my day job, typically that would be charged at $800+ worth of dev/consulting time. You should be grateful that I have helped you this far. I helped you last night up until midnight, after that I had to sleep (as I am in the Australian timezone, which differs from your timezone). I wake up this morning to this thread and three replies in other threads. This is very infuriating because you are requesting my help at nearly 4am. You need to learn to be patient mate. In order to help you, I need you to help ME too. 1. "this script dont even work" Why? What is it not doing? What results are you expecting? Are you seeing any error messages? Unfortunately I cannot see whatever on your computer screen, so I need you to be as specific as possible. 2. You are using a different script as to what I was helping you with in a previous thread Since I did not write this script, I cannot support it. If you wish to donate to Broadcasting World for the hours of help we have given you, you can do so via PayPal: payment@broadcastingworld.com I'll lock this thread. Please cease complaining for a free service. Studiio - All-In-One Radio Communication Platform SMS | Phone Calls | Social Media | Content Link to comment Share on other sites More sharing options...
Recommended Posts