move the "add judges to new team" button to the top instead odf the bottom of the teams list

This commit is contained in:
james 2005-03-09 23:25:15 +00:00
parent ffd0f36e13
commit f5ec84a499

View File

@ -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 "<table>";
echo "<tr><td valign=top>";
echo "<input onclick=\"addbuttonclicked('$newteamid')\" type=\"button\" value=\"Add &gt;&gt;\">";
echo "</td><td>";
echo "<table>";
echo "<tr><th align=\"left\">New Team #$newteamid</th></tr>";
echo "</table>";
echo "</td></tr></table>";
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 "<table>";
echo "<tr><td valign=top>";
echo "<input onclick=\"addbuttonclicked('$newteamid')\" type=\"button\" value=\"Add &gt;&gt;\">";
echo "</td><td>";
echo "<table>";
echo "<tr><th align=\"left\">New Team #$newteamid</th></tr>";
echo "</table>";
echo "</td></tr></table>";
echo "</td></tr>";
echo "</table>";