<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>Peter&#039;s Useful Crap - Topic: W/L</title>
	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/wl</link>
	<description><![CDATA[Useful tips on Canada, cell phones, banking, technology, WordPress, PHP and more]]></description>
	<generator>Simple:Press Version 5.5.1</generator>
	<atom:link href="http://www.theblog.ca/peter-forum/peters-sports-league-standings/wl/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Peter on W/L</title>
        	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/wl#p2268</link>
        	<category>Peter's Sports League Standings</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-sports-league-standings/wl#p2268</guid>
        	        	<description><![CDATA[<p>In short, yes.</p>
<p>For the individual team table, see the sls_team_schedule function in standings_functions.php. In the loop of games, you can compare the $teamtosort value to the away team or home team (which are stupidly called "losingteam" and "winningteam" in the database).</p>
<p>As for showing home and away win-loss records, this is not stored in the sportsdb_teams table, so you'll either have to add those database fields and then tweak the edit actions to inject that information. Or, you will have to write your own queries in standings.php to dynamically fetch this information on every page load.</p>
]]></description>
        	        	<pubDate>Mon, 03 Jan 2011 11:54:43 +0000</pubDate>
        </item>
        <item>
        	<title>Kyle on W/L</title>
        	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/wl#p2267</link>
        	<category>Peter's Sports League Standings</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-sports-league-standings/wl#p2267</guid>
        	        	<description><![CDATA[<p>And, sorry for the many posts but I just started working with this and am posting as I notice any issues or wants…</p>
<p>This one isn't a big need, but I would like to be able to list Home wins/losses and Away wins/losses.  So, in the end, I'd like my table to look like this:</p>
<table>
<tbody>
<tr>
<td></td>
<td></td>
<td colspan="2">OVERALL</td>
<td colspan="2">CONF</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td colspan="2">HOME</td>
<td colspan="2">AWAY</td>
</tr>
<tr>
<td>TEAM</td>
<td>GP</td>
<td>W</td>
<td>L</td>
<td>W</td>
<td>L</td>
<td>RF</td>
<td>RA</td>
<td>GB</td>
<td>PCT</td>
<td>W</td>
<td>L</td>
<td>W</td>
<td>L</td>
</tr>
</tbody>
</table>
<p>Thanks in advance!<br />
<img class="spSmiley" src="http://www.theblog.ca/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /></p>
]]></description>
        	        	<pubDate>Sun, 02 Jan 2011 14:37:59 +0000</pubDate>
        </item>
        <item>
        	<title>Kyle on W/L</title>
        	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/wl#p2266</link>
        	<category>Peter's Sports League Standings</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-sports-league-standings/wl#p2266</guid>
        	        	<description><![CDATA[<p>Okay...just came across this...when viewing a team's full schedule and scores...is there a way to put in a W if the team won or a L if the lost in the results?</p>
<p>It would make it easier for the visitor to quickly see a team's wins and losses without having to decipher the score...</p>
]]></description>
        	        	<pubDate>Sun, 02 Jan 2011 10:58:52 +0000</pubDate>
        </item>
</channel>
</rss>