mirror of https://github.com/BOINC/boinc.git
27 lines
480 B
PHP
27 lines
480 B
PHP
<?php
|
|
|
|
require_once("util.inc");
|
|
require_once("team.inc");
|
|
require_once("db.inc");
|
|
|
|
$authenticator = init_session();
|
|
db_init();
|
|
|
|
$query = sprintf(
|
|
"select * from team where id=%d",
|
|
$HTTP_GET_VARS["id"]
|
|
);
|
|
$result = mysql_query($query);
|
|
if ($result) {
|
|
$team = mysql_fetch_object($result);
|
|
}
|
|
if (!$team) {
|
|
page_head("Unable to display team page");
|
|
echo ("We are unable to display that team's page");
|
|
page_tail();
|
|
} else {
|
|
display_team_page($team);
|
|
}
|
|
|
|
?>
|