userdata["acclevel"] < 80) die ("Access denied!"); $edlist = new EditList("teamId", "hlstats_Teams", "team", false); $edlist->columns[] = new EditListColumn("game", "Game", 0, true, "hidden", $gamecode); $edlist->columns[] = new EditListColumn("code", "Team Code", 20, true, "text", "", 32); $edlist->columns[] = new EditListColumn("name", "Team Name", 20, true, "text", "", 64); $edlist->columns[] = new EditListColumn("playerlist_color", "Color Code", 20, false, "text", "", 64); $edlist->columns[] = new EditListColumn("playerlist_bgcolor", "Bg Color Code", 20, false, "text", "", 64); $edlist->columns[] = new EditListColumn("hidden", "
query(" SELECT teamId, code, name, hidden, playerlist_color, playerlist_bgcolor FROM hlstats_Teams WHERE game='$gamecode' ORDER BY code ASC "); $edlist->draw($result); ?>