diff --git a/schoolschedule.php b/schoolschedule.php index 6755c2f..3e0afed 100644 --- a/schoolschedule.php +++ b/schoolschedule.php @@ -115,8 +115,20 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode']){ echo i18n("Capacity").": "; $regteams=getNumRegistrations($r->id); $maxteams=$r->somaxteams; - echo i18n("%1 of %2",array($regteams,$maxteams)); + echo i18n("%1 of %2",array($regteams,$maxteams))."
"; + $regq=mysql_query("SELECT so_teams.name + FROM schedule_registrations + JOIN so_teams ON so_teams_id=so_teams.id + WHERE schedule_registrations.conferences_id='{$conference['id']}' + AND so_teams.schools_id={$school->id} + AND schedule_registrations.schedule_id='$r->id'"); + echo mysql_error(); + while($regr=mysql_fetch_object($regq)) { + echo "
"; + echo $regr->name; + echo "
"; + } } echo "";