boinc/html/user/team_display.php

23 lines
386 B
PHP

<?php
require_once("db.inc");
require_once("util.inc");
require_once("team.inc");
db_init();
$user = get_logged_in_user(false);
$teamid = $_GET["teamid"];
$result = mysql_query("select * from team where id=$teamid");
if ($result) {
$team = mysql_fetch_object($result);
}
if (!$team) {
echo ("Can't find team in database");
exit();
}
display_team_page($team, $user);
?>