Advertisement
Advertisement
| 04.24.2008 at 04:47AM PDT, ID: 23349868 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="./calendar/style.css" />
<link rel="stylesheet" type="text/css" href="./styles.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>The Puckin Drunks - Inline</title>
</head>
<body>
<div id="Main">
<p><img src="header.jpg" alt="header" width="769" height="248" /></p>
<p><a href="http://www.edmontoninline.ab.ca/surfaces.htm">Arenas</a> <a href="./schedule.pdf">Schedule</a></p>
<?php
$db_conn = new COM("ADODB.Connection");
$connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=". realpath("../stats_database.mdb").";";
$db_conn->open($connstr);
$infoRS = $db_conn->execute("SELECT [Last Update], [Next Game], [Next Practice] FROM tblInformation");
$LastUpdate = $infoRS->Fields(0);
$NextGame = $infoRS->Fields(1);
$NextPractice = $infoRS->Fields(2);
echo "<p>Next Game: $NextGame<br />
Next Practice: $NextPractice</p>
<p>";
include('./calendar/calendar.php');
$calendar = new WingedCalendar();
$calendar->show_calendar(0, 2);
echo "<br /><u>Dates underlined and in red are game or practice dates, scroll over them for details.</u></p>
<p>Stats<br />";
$playerRS = $db_conn->execute("SELECT Number, Player, Position, [Games Played], Goals, Assists, Points, Shootout, [Penalty Minutes] FROM tblPlayerStats");
$Number = $playerRS->Fields(0);
$Player = $playerRS->Fields(1);
$Position = $playerRS->Fields(2);
$GP = $playerRS->Fields(3);
$Goals = $playerRS->Fields(4);
$Assists = $playerRS->Fields(5);
$Points = $playerRS->Fields(6);
$Shootout = $playerRS->Fields(7);
$PM = $playerRS->Fields(8);
echo "<table width='608' border='1'>
<tr>
<td width = '18' align = 'center'>#</td>
<td width = '131' align = 'center'>Player</td>
<td width = '48' align = 'center'>Position</td>
<td width = '88' align = 'center'>Games Played</td>
<td width = '35' align = 'center'>Goals</td>
<td width = '42' align = 'center'>Assists</td>
<td width = '37' align = 'center'>Points</td>
<td width = '55' align = 'center'>Shootout</td>
<td width = '96' align = 'center'>Penalty Minutes</td>
</tr>";
while (!$playerRS->EOF)
{
echo "<tr>
<td width = '18' align = 'center'>$Number</td>
<td width = '131' align = 'center'>$Player</td>
<td width = '48' align = 'center'>$Position</td>
<td width = '88' align = 'center'>$GP</td>
<td width = '35' align = 'center'>$Goals</td>
<td width = '42' align = 'center'>$Assists</td>
<td width = '37' align = 'center'>$Points</td>
<td width = '55' align = 'center'>$Shootout</td>
<td width = '96' align = 'center'>$PM:00</td>
</tr>";
$playerRS->MoveNext();
}
echo "</table>";
echo "</p>
<p> </p>
<p>Last update: $LastUpdate</p>
<p>Created by Bejhan Jetha. Contact: <a href='mailto:inline@bejhan.com'>inline@bejhan.com</a></p>
</div>";
$tiesRS = $db_conn->execute("SELECT COUNT(*) FROM tblTeamStats WHERE Status = 'tie'");
$winsRS = $db_conn->execute("SELECT COUNT(*) FROM tblTeamStats WHERE Status = 'win'");
$lossesRS = $db_conn->execute("SELECT COUNT(*) FROM tblTeamStats WHERE Status = 'loss'");
$Ties = $tiesRS->Fields(0);
$Wins = $winsRS->Fields(0);
$Losses = $lossesRS->Fields(0);
echo "<div id='Record'>Season Record: $Wins-$Losses-$Ties<br />";
$teamRS = $db_conn->execute("SELECT Game, [Team Score], [Opponent Score], Shootout, Opponent FROM tblTeamStats");
$Game = $teamRS->Fields(0);
$TS = $teamRS->Fields(1);
$OS = $teamRS->Fields(2);
$Shootout = $teamRS->Fields(3);
$Opponent = $teamRS->Fields(4);
while (!$teamRS->EOF)
{
echo "Game $Game: $TS-$OS";
If ($Shootout == "yes") {
echo " (Shootout)";
}
echo " [vs. $Opponent]<br />";
$teamRS->MoveNext();
}
echo "</div>";
$playerRS->Close();
$infoRS->Close();
$teamRS->Close();
$tiesRS->Close();
$winsRS->Close();
$lossesRS->Close();
$db_conn->Close();
echo "</body></html>";
?>
|