in questo caso devi configurare da qlke parte i banner

esempio su un array

Codice PHP:

$banner_default 
= array(
"path"=>"miofile.php" ,
"time_start" =>"" ,
"time_end" => ""
) ;

$banners =array();

$banners["banner_1"] = array(
"path"=>"miofile.php" ,
"time_start" =>"10:00" ,
"time_end" => "11:59"
);

$banners["banner_2"] = array(
"path"=>"miofile.php" ,
"time_start" =>"12:00" ,
"time_end" => "12:59"
) ;


// OVVIAMENTE : dovrai gestire te mano i tempi e stare attento a non farli cozzare.

$time date("H:i:s",time() ) ;
$found =false;
foreach( 
$banners as $n=>$v )
{
      if(  
$v[time_start]>= $time && $v[time_end]<= $time  )  
      {
            
$found $v ;
            break;
      }
}

if( !
$found )
      
$found $banner_default ;

include( 
$found[path] ); 

Ovviamente questa e' un possibile soluzione come tante altre.