Advertisement
Guest User

ON AIR

a guest
Nov 21st, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.84 KB | None | 0 0
  1. <script>
  2.  
  3.  
  4.  
  5. <!--//
  6.  
  7.  
  8.  
  9. today = new Date();
  10.  
  11. day = today.getDay();
  12.  
  13. hour = today.getHours();
  14.  
  15.  
  16.  
  17.  
  18. if (day ==1)  {
  19.  
  20. if ((hour >=0) & (hour <=6) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  21.  
  22. if ((hour >=7) & (hour <=9) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  23.  
  24. if ((hour >=10) & (hour <=17) ) {document.write("</b> Mondays With Mr Roboticus") }
  25.  
  26. if ((hour >=18) & (hour <=20) ) {document.write("<b>18:00 - 20:00:</b> C 'n' R with Chris and Rachel") }
  27.  
  28. if ((hour >=21) & (hour <=21) ) {document.write("</b> Evenings With Mr Roboticus") }
  29.  
  30. if ((hour >=22) & (hour <=23) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  31. }
  32.  
  33.  
  34.  
  35. if (day ==2)  {
  36.  
  37. if ((hour >=0) & (hour <=6) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  38.  
  39. if ((hour >=7) & (hour <=9) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  40.  
  41. if ((hour >=10) & (hour <=12) ) {document.write("</b> Wake Up With Mr Roboticus") }
  42.  
  43. if ((hour >=13) & (hour <=14) ) {document.write("<b>13:00 - 14:00:</b> PleasureDome 80s with Steve Hart (Replay)") }
  44.  
  45. if ((hour >=15) & (hour <=16) ) {document.write("<b>15:00 - 17:00:</b> Nothing But The 90s with Mike Brown (Replay)") }
  46.  
  47. if ((hour >=17) & (hour <=21) ) {document.write("</b> Evenings With Mr Roboticus") }
  48.  
  49. if ((hour >=22) & (hour <=23) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  50.  
  51. }
  52.  
  53.  
  54.  
  55. if (day ==3)  {
  56.  
  57. if ((hour >=0) & (hour <=6) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  58.  
  59. if ((hour >=7) & (hour <=9) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  60.  
  61. if ((hour >=10) & (hour <=11) ) {document.write("</b> Wake Up With Mr Roboticus") }
  62.  
  63. if ((hour >=12) & (hour <=13) ) {document.write("<b>12:00 - 14:00:</b> Airplay 40 Rewind with Spencer James (Replay)") }
  64.  
  65. if ((hour >=14) & (hour <=15) ) {document.write("</b> Afternoons With Mr Roboticus") }
  66.  
  67. if ((hour >=16) & (hour <=18) ) {document.write("<b>16:00 - 19:00:</b> Airplay 40 Chart with Spencer James (Replay)") }
  68.  
  69. if ((hour >=19) & (hour <=21) ) {document.write("</b> Evening With Mr Roboticus") }
  70.  
  71. if ((hour >=22) & (hour <=23) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule ") }
  72.  
  73. }
  74.  
  75.  
  76.  
  77. if (day ==4)  {
  78.  
  79. if ((hour >=0) & (hour <=6) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  80.  
  81. if ((hour >=7) & (hour <=9) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  82.  
  83. if ((hour >=10) & (hour <=21) ) {document.write("</b> Mr Roboticus On A Thursday") }
  84.  
  85. if ((hour >=22) & (hour <=23) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  86.  
  87. }
  88.  
  89.  
  90.  
  91. if (day ==5)  {
  92.  
  93. if ((hour >=0) & (hour <=6) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  94.  
  95. if ((hour >=7) & (hour <=9) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  96.  
  97. if ((hour >=10) & (hour <=18) ) {document.write("</b> Mr Roboticus On A Friday") }
  98.  
  99. if ((hour >=19) & (hour <=21) ) {document.write("<b>19:00 - 22:00:</b> Friday Night Rock Lock-In with Gippa and Bobby") }
  100.  
  101. if ((hour >=22) & (hour <=22) ) {document.write("<b>22:00 - 23:00:</b> PleasureDome 80s with Steve Hart") }
  102.  
  103. if ((hour >=22) & (hour <=23) ) {document.write("<b>22:00 - 00:00:</b> Nothing but the 90s with Mike Brown") }
  104. }
  105.  
  106.  
  107.  
  108. if (day ==6)  {
  109.  
  110. if ((hour >=0) & (hour <=6) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  111.  
  112. if ((hour >=7) & (hour <=9) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  113.  
  114. if ((hour >=10) & (hour <=18) ) {document.write("</b> Mr Roboticus On A Saturday") }
  115.  
  116. if ((hour >=19) & (hour <=21) ) {document.write("<b>19:00 - 22:00:</b> Mark Kram's Saturday Night Party") }
  117.  
  118. if ((hour >=22) & (hour <=23) ) {document.write("<b>22:00 - 00:00:</b> Nothing But The 90s with Mike Brown") }
  119.  
  120. }
  121.  
  122.  
  123.  
  124. if (day ==0)  {
  125.  
  126. if ((hour >=0) & (hour <=9) ) {document.write("</b> We Are Currently Off Air - Please Visit Our Schedule") }
  127.  
  128. if ((hour >=10) & (hour <=13) ) {document.write("</b> Wake Up With Mr Roboticus") }
  129.  
  130. if ((hour >=14) & (hour <=15) ) {document.write("<b>14:00 - 15:00: </b> The Unsigned Hour with Wide Al") }
  131.  
  132. if ((hour >=15)  & (hour <=15) )  {document.write("<b> 15:00 - 16:00: </b> Showtime Music From the Stage Shows And Films with Wide Al") }
  133.  
  134. if ((hour >=16) & (hour <=18) ) {document.write("</b>16:00 - 19:00:</b> Airplay 40 Chart Show with Spencer James") }
  135.  
  136. if ((hour >=19) & (hour <=20) ) {document.write("<b>19:00 - 21:00:</b> Airplay 40 Rewind with Spencer James") }
  137.  
  138. if ((hour >=21) & (hour <=23) ) {document.write("</b> Evening With Mr Roboticus") }
  139.  
  140. }
  141.  
  142.  
  143.  
  144.  
  145. //-->
  146.  
  147.        
  148.  
  149. </script><br>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement