"); define("SM_FONT", ""); define("TD2", ""); define("TD3", ""); define("TABLE", ""); define("TABLE2", "
"); define("BG_COLOR", " bgcolor=cccccc "); define("TITLE_COLOR", " bgcolor=000000 "); define("TITLE_FONT", " "); define("BODY_COLOR", " bgcolor=ffffff "); define("NOLOGIN", "Not logged in. Login.\n"); define("PROJECT", "Sample Project"); function get_user_from_cookie() { $auth = ""; $c = getenv("HTTP_COOKIE"); $d = str_replace("; ", "&", $c); parse_str($d); if ($auth) return lookup_user_auth($auth); return NULL; } function show_login($user) { if ($user) { printf("Logged in as %s.\n", $user->name); printf("
Log in as someone else.\n"); printf("
My %s\n", PROJECT); } else { echo NOLOGIN; } } function page_head($title) { echo "$title\n"; echo TABLE . "
" . TITLE_FONT . "".PROJECT.": $title
\n"; } function page_tail() { echo "
| Create New Account | Login \n"; echo "| User Page | Teams | Main Project Page |
\n"; } function date_str($when) { return date("g:i A, l M j", $when); } function time_str($x) { if ($x == 0) return "---"; return strftime("%T %b %e, %Y", $x); } function start_table() { echo ""; } function row($x, $y) { echo "\n"; } function row2($x, $y) { echo "\n"; } function row3($x, $y, $z) { echo "\n"; } function random_string() { return md5(uniqid(rand())); } function print_country_select() { PassThru("/disks/milkyway/a/users/anderson/boinc/tools/country_select"); } function print_page_header($title) { echo "\n"; echo "\n"; echo "$title\n"; echo "\n"; echo "\n"; echo "

\n"; } function print_page_end() { echo ""; } ?>
$x$y
$x$y
$x$y$z