mirror of https://github.com/BOINC/boinc.git
54 lines
1.0 KiB
PHP
54 lines
1.0 KiB
PHP
<?
|
|
|
|
function last_mod() {
|
|
$x = $_SERVER["PHP_SELF"];
|
|
$x = substr($x, 1);
|
|
return date("g:i A, F d Y", filemtime($x));
|
|
}
|
|
|
|
function page_head($title) {
|
|
$d = last_mod();
|
|
echo "
|
|
<title>$title</title>
|
|
<body bgcolor=ffffff>
|
|
<table width=100%>
|
|
<tr>
|
|
<td><center><h1>$title</h1></center>
|
|
<td align=right><img src=boinc.gif>
|
|
<br>
|
|
<nobr><font size=2>Last modified $d</font></nobr>
|
|
</td>
|
|
</tr></table>
|
|
<hr size=0 noshade>
|
|
";
|
|
}
|
|
|
|
function page_tail() {
|
|
echo "
|
|
<hr size=0 noshade>
|
|
<center>
|
|
<a href=index.html>Return to BOINC main page</a>
|
|
<br><br>
|
|
Copyright © 2003 University of California
|
|
";
|
|
}
|
|
|
|
function list_start() {
|
|
echo "<p><table border=1 cellpadding=6 width=100%>\n";
|
|
}
|
|
|
|
function list_item($x, $y) {
|
|
echo "
|
|
<tr>
|
|
<td bgcolor=ffffcc valign=top><b>$x</b></td>
|
|
<td valign=top>$y</td>
|
|
</tr>
|
|
";
|
|
}
|
|
|
|
function list_end() {
|
|
echo "</table><p>\n";
|
|
}
|
|
|
|
?>
|