2002-08-07 18:56:55 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("util.inc");
|
|
|
|
require_once("team.inc");
|
|
|
|
require_once("db.inc");
|
|
|
|
|
2002-12-04 19:14:00 +00:00
|
|
|
$authenticator = init_session();
|
2002-08-07 18:56:55 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|