<?php include("initialize.php"); ?>

<?php include("top.php"); ?>
<?php

	$latestVersion = "0.0.0";
	$latestVersionInfo = Array();
	$directoryName = "./downloads/WarBird";

	$directory = dir($directoryName);
	while (false !== ($file = $directory->read()))
	{
		if ($file != "." && $file != "..")
	   	{
	   		$version = str_replace("_", ".", str_replace("WarBird_", "", str_replace(".exe", "", $file)));
	   		if (strcmp($latestVersion, $version) < 0)
	   		{
	   			$latestVersion = $version;
	   			$releaseDate = date("F j, Y", filemtime($directoryName . "/" .$file));
	   			$fileSize = filesize($directoryName . "/" .$file);
	   			$latestVersionInfo = Array("version" => $version, "filename" => $file, "releaseDate" => $releaseDate, "fileSize" => $fileSize);
	   		}
	   	}
	}

?>

									<!-- main content -->
									<table border="0" cellspacing="0" cellpadding="15" width="100%">
										<tr>
											<td class="mainContent" colspan="3">

												<table border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td><img src="images/warBirdLogo.gif"></td>
														<td>
															<table border="0" cellspacing="0" cellpadding="0" width="210">
																<tr>
																	<td><img src="images/yellowBoxTop.gif"></td>
																</tr>
																<tr>
																	<td background="images/yellowBoxBackground.gif" style="padding-left: 5px; padding-right: 5px;">

																		<table border="0" cellspacing="0" cellpadding="0" width="100%">
																			<tr>
																				<td style="padding: 5px 5px 5px 5px;" valign="top"><a href="downloads/WarBird/WarBird_<?php echo str_replace('.', '_', $latestVersionInfo['version']); ?>.exe" class="downloadText">Download Demo</a></td>
																				<td align="left" rowspan="3" valign="middle"><img src="images/downArrow.gif"></td>
																			</tr>
																			<tr>
																				<td style="font-size:8pt; padding-left:5px">WarBird <?php echo $latestVersionInfo['version']; ?> for Windows XP with WMP 7.0 and higher</td>
																			</tr>
																		</table>

																	</td>
																</tr>
																<tr>
																	<td><img src="images/yellowBoxBottom.gif"></td>
																</tr>
															</table>
														</td>
													</tr>
													<tr>
														<td colspan="2" style="color:#222222; padding-top:10px; padding-left:30px; padding-right:30px; line-height:1.5em;">
															When you're hard at work or play on your computer, grooving to the tunes your ears crave most, the last thing you need
															is unnecessary hassle.  Unfortunately, most computer CD players make it difficult to
															stop, play, or pause without switching or opening windows.
															<br><br>
															Thankfully, there IS a better way!  With <span style="font-weight:bold; color:#336699">WarBird</span>, you can
															pause, skip and repeat to your heart's content with a simple right-click of your mouse.
															<br><br>
															<span style="font-weight:bold; color:#336699">WarBird</span>: <span style="font-weight:bold; color:#D8A15A">the new easy listening.</span>
															<!-- <span style="font-weight:bold; color:#336699">WarBird</span> is a very easy to use audio CD player for Windows XP and 2000.&nbsp;&nbsp;When started, WarBird, places an icon in the
															<a href="#" onclick="openPopup('images/trayIcon.gif', 606, 350)">Windows Icon Tray</a>, that can be used to access <a href="#" onclick="openPopup('images/warBirdMenu.gif', 248, 240)">WarBird's CD control menu</a>. -->
														</td>
													</tr>
												</table>

											</td>
										</tr>

										<tr>
											<td align="left" width="100%">

												<!-- body bottom content  -->
												<table border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td valign="top" style="padding-left: 0px; padding-right: 15px; padding-bottom: 10px;" width="40%">

															<table border="0" cellspacing="0" cellpadding="0">
																<tr>
																	<td class="headingText" nowrap="true">Why WarBird</td>
																</tr>
																<tr>
																	<td style="background-image:url('images/grayLineBackground.gif'); background-repeat: repeat-x; padding-top:5px; padding-right: 5px;">
																		<ul style="line-height:1.5em;">
																			<li>Extremely easy to use</li>
																			<li>Non-intrusive user interface</li>
																			<li>Control your music without interupting what you're doing</li>
																		</ul>
																	</td>
																</tr>
															</table>

														</td>
														<td valign="top" style="padding-left: 0px; padding-right: 5px; padding-bottom: 10px;">

															<table border="0" cellspacing="0" cellpadding="0">
																<tr>
																	<td class="headingText" style="color:#D8A15A" nowrap="true">WarBird Requirements</td>
																</tr>
																<tr>
																	<td style="background-image:url('images/grayLineBackground.gif'); background-repeat: repeat-x; padding-top:5px; padding-right: 5px;">
																		<ul style="line-height:1.5em;">
																			<li><img src="images/windowsLogo.png" style="padding-right:5px; vertical-align: bottom;">Microsoft Windows 2000 or XP with latest Service Pack</li>
																			<li><img src="images/mediaPlayerLogo.png" style="padding-left:2px; padding-right:7px; vertical-align: bottom;">Microsoft Media Player 7.0 or higher</li>
																		</ul>
																	</td>
																</tr>
															</table>

														</td>

													</tr>
												</table>

											</td>
										</tr>
									</table>


<?php include("bottom.php"); ?>