more looping stuff and playing with colors for Stephen, generalized header bits a touch

This commit is contained in:
Dan Buch
2010-12-30 08:31:03 -05:00
parent 3970fead8f
commit 9dab7bf8d7
2 changed files with 88 additions and 16 deletions

35
docroot/html/_head.php Normal file
View File

@@ -0,0 +1,35 @@
<?php
function mkheader($title, $bgcolor) {
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $title; ?></title>
<style type='text/css'>
/*<![CDATA[*/
body {
color: #222;
background-color: #eee;
font-family: monospace;
}
pre {
border: 1px dashed #777;
color: #000;
background-color: <?php echo $bgcolor ?>;
padding: 5px;
margin: 10px;
}
/*]]>*/
</style>
</head>
<?php
}
?>