예제 #1
0
<h2><?php 
echo real_name_from_id($id);
?>
 on Team <?php 
echo team_link_from_id($team);
?>
</h2>
<h4>Sports Participated in:</h4>
<?
//die(debug::vars($sports));
foreach($sports as $sport) {
	echo sport_link_from_id($sport);
}
?>
<br />
<br />
<?php 
echo $edit;
예제 #2
0
<h2><?php 
echo sport_link_from_id($sports_id);
?>
</h2>
<?
//die(debug::vars($bracket)); 
?>
<table>
	<!--<tr>
		<? foreach($rounds as $round): ?>
			<td>Round <?php 
echo $round;
?>
</td>
		<? endforeach; ?>
	</tr>-->
	<tr>
		<? foreach($rounds as $round): ?>
			<td>
				<? if(array_key_exists($round,$bracket)): ?>
					<? foreach($bracket[$round] as $game): ?>
					<p>
						<?php 
echo team_link_from_id($game['team1']);
?>
						<br />
						<?php 
echo team_link_from_id($game['team2']);
?>
					</p>
					<? endforeach; ?>
예제 #3
0
	?>
</table>
<br />
<table>
	<tr>
		<th>Current Sports</th>
	</tr>
	<?
		foreach($current_sports as $sport)
		{
			echo "<tr>\n";
			echo "\t<td>" .  sport_link_from_id($sport) . "</td>\n";
			echo "</tr>\n";
		}
	?>
</table>
<table>
	<tr>
		<th>Past Sports</th>
	</tr>
	<?
		foreach($past_sports as $sport)
		{
			echo "<tr>\n";
			echo "\t<td>" .  sport_link_from_id($sport) . "</td>\n";
			echo "</tr>\n";
		}
	?>
</table>
<?php 
echo $join;
예제 #4
0
<h2>Sports</h2>
<table cellspacing="10px">
	<?
		foreach($sports as $sport)
		{
			echo "<tr>\n";
			echo "\t<td>" . sport_link_from_id($sport['sports_id']) . "</td>\n";
			echo "</tr>\n";
		}
	?>
</table>