well, as for my 2nd question.
I've got some code now, but I do not know where to insert it in the bfa_header_config.php file.
Could you please help me with that?
PHP Code:
<?php
date_default_timezone_set("CET"); // Dutch time
$hour = date( "H" ); // Take current hour to put into a variable.
if ( $hour >= 0 && $hour <= 5 )
{
// if it's between 0h00 and 5h59
?>
<img src="http://domain.com/img/0h.png" />
<?php
}
elseif ( $hour >= 6 && $hour <= 11 )
{
// if it's between 6h00 and 11h59
?>
<img src="http://domain.com/img/6h.png" />
<?php
}
elseif ( $hour >= 12 && $hour <= 17 )
{
// if it's between 12h00 and 17h59
?>
<img src="http://domain.com/img/12h.png" />
<?php
}
elseif ( $hour >= 18 && $hour <= 23 )
{
// if it's between 18h00 and 23h59
?>
<img src="http://domain.com/img/18h.png" />
<?php
}
else
{
// if it's none of the above; whenever that will happen...
?>
<img src="http://domain.com/img/default.png" />
<?php
}
?>