presenter pic times not working

any ideas why 1600 is not working :frowning:

[php]
####################################### Monday ######################################

case “1”:

//------------------------------ Monday Overnights 12a-6a ---------------------------
if ( $x < 600 ) { echo ’

<img src="http://www.mysite.co.uk/presenters/cominsoon.png"></a>

'; }
//----------------------------- Monday Mornings 6a-10a ------------------------------
elseif ( $x < 1000 ) { echo ’

<img src="http://www.mysite.co.uk/presenters/cominsoon.png"></a>

'; }

//------------------------------ Monday Middays 12P-3P ------------------------------
elseif ($x < 1200 ) { echo ’

'; }

//-------------------------------- Monday Afternoons 3p-5p --------------------------
elseif ($x < 1600 ) { echo ’

'; }

//-------------------------------- Monday Afternoons 5p-7p --------------------------
elseif ( $x < 1700 ) { echo ’

<img src="http://www.mysite.co.uk/presenters/cominsoon.png"></a>

'; }
//-------------------------------- Monday Nights 7p-11:59p---------------------------
elseif ( $x < 2359 ) { echo ’

<img src="http://www.mysite.co.uk/presenters/cominsoon.png"></a>

'; }

break;[/php]

think i fixed it. think it was a server time side fault but its working ok now

nope instead of displaying rich at 12- 3 and andy 3-6 it displays them the oppoite way round any ideas

[php]################################### Monday ###################################

case “1”:

//------------------------------- Monday Overnights 12a-6a ---------------------------
if ($x < 600 ) { echo ’

'; }
//------------------------------- Monday Mornings 6a-10a -----------------------------
elseif ($x < 900 ) { echo ’

'; }
//------------------------------ Monday Middays 9a-Noon ------------------------------
elseif ($x < 1200 ) { echo ’

'; }

//------------------------------- Monday Afternoons 3-6p ----------------------------
elseif ($x < 1500 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/andy.png">

'; }
//------------------------------- Monday Afternoons 6-11:59p ----------------------------
elseif ($x < 1800 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }
//------------------------------- Monday Nights 7p-11:59p ----------------------------
elseif ($x < 2359 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon1.png">

'; }

break;[/php]

here is the full code any ideas.

[php]<?php
/**

  • File mod_jock.php
  • This file builds the Jock Rotator. The Jock Rotator is nothing more than a PHP Case

Statement.

  • It reads your server’s time/date and asks: "Is it before 10:00am? Yes? Then display this

jock."
*

*/

/**

  • Force Time Zone
  • This forces Jock Rotator to ignore the server Time Zone (which is usually GMT) and

allows you to specify your own.

  • To find your timezone visit:

http://unicode.org/cldr/data/diff/supplemental/territory_containment_un_m_49.html
*

  • @author Greg Rickaby
  • @since 1.4
  • @requires PHP 5.1+

/
date_default_timezone_set( ‘Europe/London’ );
/
*

  • Begin The Jock Rotator
  • TO CUSTOMIZE: edit the HTML in each respective time-slot below.
  • @author Greg Rickaby
  • @since 1.0

*/
$i = date( “w” );
$x = date( “Hi” );
switch ($i) {

################################### Monday ###################################

case “1”:

//------------------------------- Monday Overnights 12a-6a ---------------------------
if ($x < 600 ) { echo ’

'; }
//------------------------------- Monday Mornings 6a-10a -----------------------------
elseif ($x < 900 ) { echo ’

'; }
//------------------------------ Monday Middays 9a-Noon ------------------------------
elseif ($x < 1200 ) { echo ’

'; }

//------------------------------- Monday Afternoons 3-6p ----------------------------
elseif ($x < 1500 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/andy.png">

'; }
//------------------------------- Monday Afternoons 6-11:59p ----------------------------
elseif ($x < 1800 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }
//------------------------------- Monday Nights 7p-11:59p ----------------------------
elseif ($x < 2359 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }

break;

################################### Tuesday ###################################

case “2”:

//------------------------------- Tuesday Overnights 12a-6a ---------------------------
if ($x < 600 ) { echo ’

'; }
//------------------------------- Tuesday Mornings 6a-10a -----------------------------
elseif ($x < 900 ) { echo ’

'; }
//------------------------------ Tuesday Middays 9a-Noon ------------------------------
elseif ($x < 1200 ) { echo ’

'; }

//------------------------------- Tuesday Afternoons Noon-1p ----------------------------
elseif ($x < 1500 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/andy.png">

'; }
//------------------------------- Tuesday Afternoons 1p-4p ----------------------------
elseif ($x < 1800 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }
//------------------------------- Tuesday Nights 7p-11:59p ----------------------------
elseif ($x < 2359 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }

break;

################################### Wednesday ###################################

case “3”:

//------------------------------- Wednesday Overnights 12a-6a ---------------------------
if ($x < 600 ) { echo ’

'; }
//------------------------------- Wednesday Mornings 6a-10a -----------------------------
elseif ($x < 900 ) { echo ’

'; }
//------------------------------ Wednesday Middays 9a-Noon ------------------------------
elseif ($x < 1200 ) { echo ’

'; }

//------------------------------- Wednesday Afternoons Noon-1p ----------------------------
elseif ($x < 1300 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }
//------------------------------- Wednesday Afternoons 1p-4p ----------------------------
elseif ($x < 1600 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }
//------------------------------- Wednesday Nights 7p-11:59p ----------------------------
elseif ($x < 2359 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }

break;

################################### Thursday ###################################

case “4”:

//------------------------------- Thursday Overnights 12a-6a ---------------------------
if ($x < 600 ) { echo ’

'; }
//------------------------------- Thursday Mornings 6a-10a -----------------------------
elseif ($x < 900 ) { echo ’

'; }
//------------------------------ Thursday Middays 9a-Noon ------------------------------
elseif ($x < 1200 ) { echo ’

'; }

//------------------------------- Thursday Afternoons Noon-1p ----------------------------
elseif ($x < 1300 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }
//------------------------------- Thursday Afternoons 1p-4p ----------------------------
elseif ($x < 1600 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }
//------------------------------- Thursday Nights 7p-11:59p ----------------------------
elseif ($x < 2359 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }

break;

################################### Friday ###################################

case “5”:

//------------------------------- Friday Overnights 12a-6a ---------------------------
if ($x < 600 ) { echo ’

'; }
//------------------------------- Friday Mornings 6a-10a -----------------------------
elseif ($x < 900 ) { echo ’

'; }
//------------------------------ Friday Middays 9a-Noon ------------------------------
elseif ($x < 1200 ) { echo ’

'; }

//------------------------------- Friday Afternoons Noon-1p ----------------------------
elseif ($x < 1300 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }
//------------------------------- Friday Afternoons 1p-4p ----------------------------
elseif ($x < 1600 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }
//------------------------------- Friday Nights 7p-11:59p ----------------------------
elseif ($x < 2359 ) { echo ’

<img src="http://www.slcradio.co.uk/presenters/cominsoon.png">

'; }

break;

########################################## Saturday ######################################

case “6”:

//------------------------------ Saturday All Day ---------------------------
if ($x < 2359 ) { echo ’

<img src="/images/now_playing/700_the_farm_logo.jpg"><br />700 The Farm

'; }

break;

############################################ Sunday ######################################

case “0”:

//------------------------- Sunday All Day-------------------------------------
if ($x < 2359 ) { echo ’

<img src="/images/now_playing/700_the_farm_logo.jpg"><br />700 The Farm

'; }

// end mod_jock.php
} ?>[/php]

You do realize that the script does not account for Monday Noon - 3pm?

That script is a complex mess, that does something very simple.

well i got this one but it does the same. wrong presenter wrong time. thank you for your help.

[php]<?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;

date_default_timezone_set( ‘Europe/London’ );

// MONDAY SCHEDULE
if ($d == 1 && $h >= 0 && $h < 4) $img = ‘/presenters/andy.png’;
else if ($d == 1 && $h >= 4 && $h < 14) $img = ‘/presenters/andy.png’;
else if ($d == 1 && $h >= 14 && $h < 16) $img = ‘/presenters/andy.png’;
else if ($d == 1 && $h >= 16 && $h < 18) $img = ‘/presenters/andy.png’;
else if ($d == 1 && $h >= 18 && $h < 20) $img = ‘/presenters/andy.png’;
else if ($d == 1 && $h >= 19 && $h < 24) $img = ‘/presenters/rich.png’;
else if ($d == 1 && $h >= 20 && $h < 22) $img = ‘/presenters/rich.png’;
else if ($d == 1 && $h >= 22 && $h < 24) $img = ‘/presenters/rich.png’;
else if ($d == 2 && $h < 0) $img = ‘/presenters/andy.png’;

// TUESDAY SCHEDULE
if ($d == 2 && $h >= 0 && $h < 4) $img = ‘/presenters/andy.png’;
else if ($d == 2 && $h >= 4 && $h < 14) $img = ‘/presenters/andy.png’;
else if ($d == 2 && $h >= 14 && $h < 16) $img = ‘/presenters/andy.png’;
else if ($d == 2 && $h >= 16 && $h < 19) $img = ‘/presenters/andy.png’;
else if ($d == 2 && $h >= 19 && $h < 20) $img = ‘/presenters/rich.png’;
else if ($d == 2 && $h >= 20 && $h < 22) $img = ‘/presenters/rich.png’;
else if ($d == 2 && $h >= 22 && $h < 24) $img = ‘/presenters/andy.png’;
else if ($d == 3 && $h < 0) $img = ‘/presenters/andy.png’;

// WEDNESDAY SCHEDULE
if ($d == 3 && $h >= 0 && $h < 4) $img = ‘/presenters/andy.png’;
else if ($d == 3 && $h >= 4 && $h < 14) $img = ‘/presenters/andy.png’;
else if ($d == 3 && $h >= 14 && $h < 16) $img = ‘/presenters/andy.png’;
else if ($d == 3 && $h >= 16 && $h < 18) $img = ‘/presenters/andy.png’;
else if ($d == 3 && $h >= 18 && $h < 19) $img = ‘/presenters/rich.png’;
else if ($d == 3 && $h >= 19 && $h < 21) $img = ‘/presenters/rich.png’;
else if ($d == 3 && $h >= 21 && $h < 24) $img = ‘/presenters/andy.png’;
else if ($d == 4 && $h >= 0) $img = ‘/presenters/andy.png’;

// THURSDAY SCHEDULE
if ($d == 4 && $h >= 0 && $h < 4) $img = ‘/presenters/andy.png’;
else if ($d == 4 && $h >= 4 && $h < 14) $img = ‘/presenters/andy.png’;
else if ($d == 4 && $h >= 14 && $h < 16) $img = ‘/presenters/andy.png’;
else if ($d == 4 && $h >= 16 && $h < 18) $img = ‘/presenters/andy.png’;
else if ($d == 4 && $h >= 18 && $h < 20) $img = ‘/presenters/rich.png’;
else if ($d == 4 && $h >= 20 && $h < 22) $img = ‘/presenters/rich.png’;
else if ($d == 4 && $h >= 22 && $h < 24) $img = ‘/presenters/andy.png’;
else if ($d == 5 && $h < 0) $img = ‘/presenters/andy.png’;

// FRIDAY SCHEDULE
if ($d == 5 && $h >= 0 && $h < 4) $img = ‘/presenters/andy.png’;
else if ($d == 5 && $h >= 4 && $h < 14) $img = ‘/presenters/andy.png’;
else if ($d == 5 && $h >= 14 && $h < 16) $img = ‘/presenters/andy.png’;
else if ($d == 5 && $h >= 16 && $h < 18) $img = ‘/presenters/andy.png’;
else if ($d == 5 && $h >= 18 && $h < 20) $img = ‘/presenters/rich.png’;
else if ($d == 5 && $h >= 20 && $h < 22) $img = ‘/presenters/rich.png’;
else if ($d == 5 && $h >= 22 && $h < 24) $img = ‘/presenters/andy.png’;
else if ($d == 6 && $h >= 0 && $h < 2) $img = ‘/presenters/andy.png’;

// SATURDAY SCHEDULE
if ($d == 6 && $h >= 0 && $h < 4) $img = ‘/presenters/andy.png’;
else if ($d == 6 && $h >= 4 && $h < 16) $img = ‘/presenters/andy.png’;
else if ($d == 6 && $h >= 16 && $h < 18) $img = ‘/presenters/andy.png’;
else if ($d == 6 && $h >= 18 && $h < 20) $img = ‘/presenters/rich.png’;
else if ($d == 6 && $h >= 20 && $h < 22) $img = ‘/presenters/rich.png’;
else if ($d == 6 && $h >= 22 && $h < 24) $img = ‘/presenters/andy.png’;
else if ($d == 0 && $h < 0) $img = ‘/presenters/andy.png’;

// SUNDAY SCHEDULE
if ($d == 0 && $h >= 0 && $h < 2) $img = ‘/presenters/andy.png’;
else if ($d == 0 && $h >= 2 && $h < 10) $img = ‘/presenters/andy.png’;
else if ($d == 0 && $h >= 10 && $h < 14) $img = ‘/presenters/andy.png’;
else if ($d == 0 && $h >= 14 && $h < 16) $img = ‘/presenters/andy.png’;
else if ($d == 0 && $h >= 16 && $h < 18) $img = ‘/presenters/andy.png’;
else if ($d == 0 && $h >= 18 && $h < 20) $img = ‘/presenters/rich.png’;
else if ($d == 0 && $h >= 20 && $h < 22) $img = ‘/presenters/rich.png’;
else if ($d == 0 && $h >= 22 && $h < 24) $img = ‘/presenters/andy.png’;
else if ($d == 1 && $h < 0) $img = ‘/presenters/andy.png’;

?>

[/php]

What are the blocks that are causing issue?

I like the latter script for readability, sort of. Descriptive variables are ALWAYS preferred over letters.

i like the latter one 2 but it still show picture 1 instead of picture 2 for example

else if ($d == 1 && $h >= 19 && $h < 24) $img = ‘/presenters/rich.png’; (7pm - 8pm is rich)
else if ($d == 1 && $h >= 20 && $h < 22) $img = ‘/presenters/andy.png’; (8pm-9pmis andy)

yet it does not work that way.

if you have a simple script i can use id be greatful.

got 1 i think works if anyone wants to use it.

[php]

Station Activity td { font-size:0.6em; } /* temporary for testing purposes */ #NowOn { border: 0px solid black; font-size: 11.5px; color: black; background: transparent; height: 55px; width: 350px; }
Click For Now On KSWH
[/php]

Not a bad way to go. That version will use the persons local timezone and not yours however.

I am very big on database configurations, setting up tables in the database that give your times and another for DJ’s and an id saying who is on when.

This is a play on the last version:

[php]<?php

$NoShow = ‘No Show Scheduled
for KSWH’;
$times = [];
for ($d = 0; $d < 7; $d++) {
$times[$d] = [];
for ($h = 0; $h < 24; $h++) {
$times[$d][$h] = ‘’;
}
}

$djs = [
‘comingsoon’ => ‘cominsoon.png’,
‘rich’ => ‘rich.png’,
‘andy’ => ‘andy.png’,
];

$times[1][10] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[1][12] = “<img border=‘0’ src=’/presenters/{$djs[‘rich’]}’>”;
$times[1][13] = “<img border=‘0’ src=’/presenters/{$djs[‘rich’]}’>”;
$times[1][14] = “<img border=‘0’ src=’/presenters/{$djs[‘rich’]}’>”;
$times[1][15] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[1][16] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[1][17] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[1][18] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[1][20] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[1][22] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[1][23] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[1][00] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[2][12] = “<img border=‘0’ src=’/presenters/{$djs[‘rich’]}’>”;
$times[2][13] = “<img border=‘0’ src=’/presenters/{$djs[‘rich’]}’>”;
$times[2][14] = “<img border=‘0’ src=’/presenters/{$djs[‘rich’]}’>”;
$times[2][15] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[2][16] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[2][17] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[2][20] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[3][10] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[3][12] = “<img border=‘0’ src=’/presenters/{$djs[‘rich’]}’>”;
$times[3][13] = “<img border=‘0’ src=’/presenters/{$djs[‘rich’]}’>”;
$times[3][14] = “<img border=‘0’ src=’/presenters/{$djs[‘rich’]}’>”;
$times[3][15] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[3][16] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[3][17] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[3][18] = “<img border=‘0’ src=’/presenters/{$djs[‘andy’]}’>”;
$times[3][22] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[4][12] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[4][13] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[4][14] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[4][15] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[4][16] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[4][17] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[4][18] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][10] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][11] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][12] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][13] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][14] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][15] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][16] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][17] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][18] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][22] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[5][23] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][10] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][11] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][12] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][13] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][14] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][15] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][16] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][17] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][18] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][22] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[6][23] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][10] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][11] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][12] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][13] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][14] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][15] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][16] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][17] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][18] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][22] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[0][23] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;

[/php]

my only problem is what is 12am i tried

$times[1][00] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[1][0] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[1][] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;
$times[1][24] = “<img border=‘0’ src=’/presenters/{$djs[‘comingsoon’]}’>”;

none of these worked for 12am

Lets go back to, what are you block times? Most stations have times that certain people are on for specific blocks,

Mon:
6am-10am
10am - 2pm
2pm - 6pm

What are yours? That way we can approach this in a more systematic way.

i have done the full 24/7 hr blocks just not the 12am. has you will see at the bottom code that the coimngsoon.png picture will be displayed when a presenter is not on anyway.so it is not a big deal at the moment but a pain if we employ people to do shows in the future.

[php] <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”

http://www.w3.org/TR/html4/loose.dtd”>

td { font-size:0.6em; } /* temporary for testing purposes */ #NowOn { border: 0px solid black; font-size: 11.5px; color: black; background: transparent; height: 55px; width: 350px; }
Click For Now On KSWH
[/php]

That’s actually why I am advising forethought into this and recommending a database driven system. It is far easier to click a checkbox than to rewrite code in the event of changes.

well it would be great but trying to get one free is another challenge. i got this one working so i will stick with this one. just no presentersor shows between 12-1am. a hour of automated music never hurt anyone anyway.

Sponsor our Newsletter | Privacy Policy | Terms of Service