"; echo "prefix: $prefix
"; } echo ""; echo ""; echo ""; if ($debugRecentHistory) { echo "buildBranches:
"; foreach($buildBranches as $tempbuildBranches) { echo "$tempbuildBranches
"; } echo "buckets:
"; if (isset($buckets)) { foreach($buckets as $tempbuckets) { foreach($tempbuckets as $tempbucket) { foreach ($tempbucket as $oneTempBucket) { echo "onetempBucket: $oneTempBucket
"; } } } } } foreach($buildBranches as $bValue) { if ($debugRecentHistory) { echo "loop through each buildBranch: $bValue
"; echo "isset(\$buckets): " . isset($buckets). "
"; } if (isset($buckets) && array_key_exists($bValue, $buckets) && array_key_exists($prefix, $buckets[$bValue])) //&& $buckets[$bValue] != NULL && array_key_exists($prefix, $buckets[$bValue])) { if ($debugRecentHistory) { echo "in loop
"; } echo ""; $aBranchBucket = $buckets[$bValue][$prefix]; if (isset($aBranchBucket)) { rsort($aBranchBucket); if ($debugRecentHistory) { echo "buckets in this branch:
"; foreach($aBranchBucket as $tempBucket) { echo "$tempBucket
"; } } /* $i = 0; $ts = array(); $ts2iv = array(); foreach($aBranchBucket as $iv) { $ivParts = explode("-", $iv); $ts[$i] = $ivParts[2]; $ts2iv[$ts[$i]] = $iv; $i++; } rsort($ts); $i = 0; $anewBucket = array(); foreach($ts as $tsvalue) { $anewBucket[$i] = $ts2iv[$tsvalue]; $i++; } */ foreach($aBranchBucket as $innerValue) { if ($debugRecentHistory) { echo "innerValue: $innerValue
"; } $innerValueParts = explode("-", $innerValue); echo ""; echo ""; echo ""; echo ""; echo ""; // our recent summary results handling requires php 5 (for simple xml file loading) // so, if not php 5, just don't display any summary results // This was found to be required, since some mirror our whole site (e.g. IBM) and not all their // mirrors use PHP 5 if (phpversion() >= 5) { include 'handleSummaryResults.php'; } echo ""; } } } } echo "
"; echo "$value"; echo "
Build Name Stream Build Date  

$innerValueParts[1]$bValue$timeStamps[$innerValue] 
"; } ?>