diff options
Diffstat (limited to 'php/inc/header.php')
-rw-r--r-- | php/inc/header.php | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/php/inc/header.php b/php/inc/header.php new file mode 100644 index 0000000..dbe97b2 --- /dev/null +++ b/php/inc/header.php @@ -0,0 +1,55 @@ +<?php +/** + * Header document. + * @package mirror + * @subpackage inc + */ +ob_start(); +?> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<link rel="home" title="Home" href="http://www.gentoo.org/"> +<link rel="stylesheet" type="text/css" href="http://www.gentoo.org/css/main.css" media="all"> +<link rel="stylesheet" type="text/css" href="<?php echo WEBPATH; ?>/css/screen.css" media="screen"> + +<link rel="icon" href="http://www.gentoo.org/favicon.ico" type="image/png"> +<title><?php echo $title; ?></title> +<meta name="robots" content="all"> +<meta name="keywords" content="gentoo linux distribution source compile"> +<?php echo (!empty($extra_headers))?$extra_headers:null?> +</head> +<body id="www-mozilla-org" class="secondLevel"<?php echo (!empty($body_tags))?' '.$body_tags.' ':null; ?>> +<div id="container"> +<div id="header"> + +<table border="0" width="100%" cellspacing="0" cellpadding="0"> +<tr> +<td valign="top" height="125" width="1%" bgcolor="#45347b"><a href="/"><img border="0" src="/images/gtop-www.jpg" alt="Gentoo Logo"></a></td> +<td valign="bottom" align="left" bgcolor="#000000" colspan="2"><p class="menu"> + <H2><font color="#FFFFFF"> Gentoo Mirror Management</font></H2> + </p></td> +</tr> +<tr> +<td valign="top" align="right" width="1%" bgcolor="#dddaec"><table width="100%" cellspacing="0" cellpadding="0" border="0"> +<tr><td height="1%" valign="top" align="right"><img src="/images/gridtest.gif" alt="Gentoo Spaceship"></td></tr> +<tr><td height="99%" valign="top" align="right"><table cellspacing="0" cellpadding="5" border="0"><tr><td valign="top"> +<p class="altmenu"> +<?php +if (!empty($nav)) { + require_once($nav); +} +?> +</p> + +<br><br> +</td></tr></table></td></tr></table> +</td><td><table><tr><td> </td><td> + +</div> +<div id="mBody"> +<?php + echo '<div id="mainContent">'; +?> + |