2002-08-07 18:56:55 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("util.inc");
|
|
|
|
require_once("team.inc");
|
|
|
|
require_once("db.inc");
|
|
|
|
|
|
|
|
db_init();
|
2003-03-21 04:38:55 +00:00
|
|
|
$user = get_logged_in_user(false);
|
2002-08-07 18:56:55 +00:00
|
|
|
|
2003-03-21 04:38:55 +00:00
|
|
|
$teamid = $_GET["teamid"];
|
|
|
|
$result = mysql_query("select * from team where id=$teamid");
|
2002-08-07 18:56:55 +00:00
|
|
|
if ($result) {
|
|
|
|
$team = mysql_fetch_object($result);
|
|
|
|
}
|
|
|
|
if (!$team) {
|
2003-03-21 04:38:55 +00:00
|
|
|
echo ("Can't find team in database");
|
|
|
|
exit();
|
2002-08-07 18:56:55 +00:00
|
|
|
}
|
|
|
|
|
2003-03-21 04:38:55 +00:00
|
|
|
display_team_page($team, $user);
|
|
|
|
|
2002-08-07 18:56:55 +00:00
|
|
|
?>
|