Wouldn't be that difficult, use the html include for the header, include a php file, in that php file simply do what your script does, but in PHP/HTML:
Code
<?php
	$hr = date("H");
	$min = date("i");

	if($hr == 00) {
		$color = "#00FF00";
		$message = "It's Midnight!";
	} elseif($hr == 02) {
		$color = "#FF0000";
		$message = "It's two AM!";
	} else {
		$color = "#FFFFFF";
		$message = "";
	}

	echo("<div style=\"background-color: ". $color .";\">". $message ."</div>\n");
?>


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!