From f5ec84a499709f211fbaa8998ee412358eb4d7e0 Mon Sep 17 00:00:00 2001 From: james Date: Wed, 9 Mar 2005 23:25:15 +0000 Subject: [PATCH] move the "add judges to new team" button to the top instead odf the bottom of the teams list --- admin/judges_teams.php | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/admin/judges_teams.php b/admin/judges_teams.php index 909fbabe..d8192f38 100644 --- a/admin/judges_teams.php +++ b/admin/judges_teams.php @@ -195,6 +195,23 @@ function delbuttonclicked(team_id,team_num,judge) } //echo nl2br(print_r($teams,true)); + if($lastteamnum==-1) $newteamid=1; + else $newteamid=$lastteamnum+1; + + + echo ""; + echo "
"; + echo ""; + echo ""; + + echo ""; + echo ""; + echo "
New Team #$newteamid
"; + + echo "
"; + + + foreach($teams AS $team) { @@ -223,22 +240,6 @@ function delbuttonclicked(team_id,team_num,judge) } - if($lastteamnum==-1) $newteamid=1; - else $newteamid=$lastteamnum+1; - - - - - echo ""; - echo "
"; - echo ""; - echo ""; - - echo ""; - echo ""; - echo "
New Team #$newteamid
"; - - echo "
"; echo ""; echo "";