<!--- This reads the Team database. --->
<cfquery name="TeamList"
datasource="#Application.Datasource#"
maxrows=20
dbtype="ODBC">
SELECT TeamName, TeamLogoLocation, TeamDescription, TeamID
FROM TeamTable
</cfquery>
<!--- This outputs the team information. --->
<cfoutput query="TeamList">
<P>
<INPUT TYPE="HIDDEN" NAME="TeamSelected" VALUE=<img src="#TeamLogoLocation#">
<!--- This creates a clickable image and sets URL.Team to be passed to the next page.--->
<A HREF="TeamActionPage.cfm?Team=#TeamList.TeamID#">
<img src="#Application.LogoPath##TeamLogoLocation#" width="64" height="64" align="left" border="0" alt=""></a>
<!--- Here is the link from the team name and also sets URL.Team to be passed to the next page. --->
<b><font size="+1"><A HREF="TeamActionPage.cfm?Team=#TeamList.TeamID#">#TeamName#</A><BR> </font></b>
<!--- Output team description. --->
#TeamDescription#<br clear="left">
</P>
</cfoutput>