mirror of https://github.com/BOINC/boinc.git
50 lines
1.1 KiB
PHP
50 lines
1.1 KiB
PHP
<?php
|
|
|
|
function doHeader($caption) {
|
|
?>
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<title><?php echo $GLOBALS['cfg']['sitename'].' - '.$caption ?></title>
|
|
<meta http-equiv="content-type" content="text/html; charset=<?php echo (!empty($_SESSION['lang']['charset']))?$_SESSION['lang']['charset']:'ISO-8859-1' ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['cfg']['root'] ?>/style.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table class="frame" border="0" cellpadding="0" cellspacing="10" width="100%">
|
|
<tr>
|
|
<td style="background:url('http://setiathome.berkeley.edu/images/outrspc3.gif')">
|
|
<img src="<?php echo $GLOBALS['cfg']['root'] ?>/image/banner.gif" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<?php
|
|
}
|
|
|
|
function doFooter() {
|
|
?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align:center">
|
|
<hr style="width=50%">
|
|
<p><a href="<?php echo $GLOBALS['cfg']['root'] ?>/index.php">Return to <?php echo $GLOBALS['cfg']['project'] ?> homepage</a></p>
|
|
<p>Copyright (c) <?php echo date('Y') ?> <?php echo $GLOBALS['cfg']['project'] ?>. All rights reserved.</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
<?php
|
|
}
|
|
|
|
?>
|