| <?php |
| |
| $debugLatest=false; |
| |
| include 'computeMainData.php'; |
| |
| computeMainData($buildBranches, $debugLatest); |
| |
| echo "<table border=0 cellpadding=2 width=\"100%\"><tr>"; |
| echo "<td align=\"center\" bgcolor=\"#0080C0\"><font color=\"#FFFFFF\" face=\"Arial,Helvetica\">"; |
| echo $mainTableHeader; |
| echo "</font></td>"; |
| echo "</tr></table>"; |
| |
| |
| ?> |
| |
| |
| <table width="70%" align="center" cellpadding=2> |
| <tr> |
| <td width="25%"><b>Build Type</b></td> |
| <td width="25%"><b>Build Name</b></td> |
| <td width="15%"><b>Stream</b></td> |
| <td width="40%"><b>Build Date</b></td> |
| </tr> |
| |
| |
| |
| <?php |
| foreach($dropType as $value) { |
| $prefix=$typeToPrefix[$value]; |
| |
| foreach($buildBranches as $bValue) { |
| |
| if (array_key_exists ($bValue, $latestFile) && array_key_exists($prefix, $latestFile[$bValue])) { |
| $fileName = $latestFile[$bValue][$prefix]; |
| echo "<tr>"; |
| echo "<td width=\"25%\">$value</td>"; |
| |
| |
| $fileNameParts = explode("-", $fileName); |
| |
| if (sizeof($fileNameParts) > 1) { |
| echo "<td width=\"25%\"><a href=\"drops/$bValue/$fileName/\">$fileNameParts[1]</a></td>"; |
| echo "<td width=\"15%\">$bValue</td>"; |
| echo "<td width=\"40%\">$timeStamps[$fileName]</td>"; |
| echo "</tr>"; |
| } |
| } |
| } |
| } |
| ?> |
| |
| </table> |