Lines 1-26
Link Here
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
1 |
<?php |
2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
2 |
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); |
3 |
<?php |
3 |
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); |
4 |
//ini_set("display_errors", "true"); |
4 |
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); |
5 |
//error_reporting (E_ALL); |
5 |
$App = new App(); |
6 |
$eclipseStream="4"; |
6 |
$Nav = new Nav(); |
7 |
$otherIndexFile="eclipse3x.html"; |
7 |
$Menu = new Menu(); |
8 |
$otherStream="3"; |
8 |
include($App->getProjectCommon()); |
9 |
include('dlconfig4.php'); |
|
|
10 |
$subdirDrops="drops4"; |
11 |
|
9 |
|
12 |
?> |
10 |
# All on the same line to unclutter the user's desktop' |
13 |
<head> |
11 |
/******************************************************************************* |
14 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
12 |
* Copyright (c) 2009-2010 Eclipse Foundation and others. |
15 |
<link rel="stylesheet" href="../default_style.css" /> |
13 |
* All rights reserved. This program and the accompanying materials |
16 |
<title>Eclipse Project Downloads</title></head> |
14 |
* are made available under the terms of the Eclipse Public License v1.0 |
17 |
<body> |
15 |
* which accompanies this distribution, and is available at |
|
|
16 |
* http://www.eclipse.org/legal/epl-v10.html |
17 |
* |
18 |
* Contributors: |
19 |
* |
20 |
*******************************************************************************/ |
21 |
|
22 |
# |
23 |
# Begin: page-specific settings. Change these. |
24 |
$pageTitle = "Eclipse Project Downloads"; |
25 |
$pageKeywords = ""; |
26 |
$pageAuthor = ""; |
27 |
|
28 |
ini_set("display_errors", "true"); |
29 |
error_reporting (E_ALL); |
30 |
$eclipseStream="4"; |
31 |
$otherIndexFile="eclipse3x.html"; |
32 |
$otherStream="3"; |
33 |
include('dlconfig4.php'); |
34 |
$subdirDrops="drops4"; |
35 |
|
36 |
|
37 |
$op = '<' . '?php' ; |
38 |
$cl = ' ?' . '>'; |
39 |
|
40 |
# Paste your HTML content between the EOHTML markers! |
41 |
ob_start(); |
42 |
|
43 |
|
44 |
//options: php, html. If not define default |
45 |
$layout = (!isset($_GET['layout']) || ($_GET['layout'] != "php" && $_GET['layout'] != "html")) ? 'default' : $_GET['layout']; |
46 |
|
47 |
|
48 |
switch($layout){ |
49 |
case 'html': |
50 |
?> |
51 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
52 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
53 |
<head> |
54 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
55 |
<link rel="stylesheet" href="../default_style.css" /> |
56 |
<title><?php print $pageTitle;?></title></head> |
57 |
<body> |
58 |
<?php |
59 |
break; |
60 |
case 'php': |
61 |
print $op;?> |
62 |
|
63 |
$pageTitle = "<?php print $pageTitle;?>"; |
64 |
$pageKeywords = ""; |
65 |
$pageAuthor = ""; |
66 |
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); |
67 |
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); |
68 |
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); |
69 |
$App = new App(); |
70 |
$Nav = new Nav(); |
71 |
$Menu = new Menu(); |
72 |
include($App->getProjectCommon()); |
73 |
$App->AddExtraHtmlHeader('<link rel="stylesheet" href="../default_style.css" />'); |
74 |
ob_start(); |
75 |
|
76 |
<?php |
77 |
print $cl; |
78 |
break; |
79 |
default: |
80 |
$App->AddExtraHtmlHeader('<link rel="stylesheet" href="../default_style.css" />'); |
81 |
break; |
82 |
}?> |
83 |
<style type="text/css"> |
84 |
.container_php, .container_default{ |
85 |
padding:0 20px; |
86 |
} |
87 |
</style> |
88 |
<div class="container_<?php print $layout;?>"> |
18 |
<table border="0" cellspacing="5" cellpadding="2" width="100%" > |
89 |
<table border="0" cellspacing="5" cellpadding="2" width="100%" > |
19 |
|
90 |
|
20 |
<tr> |
91 |
<tr> |
21 |
|
92 |
|
22 |
<td align="left" width="72%"> |
93 |
<td align="left" width="72%"> |
23 |
<font class="indextop"> Eclipse Project <?php echo $eclipseStream;?>.x Stream Downloads</font> <br /> |
94 |
<font class="indextop"> Eclipse Project <?php print $eclipseStream;?>.x Stream Downloads</font> <br /> |
24 |
<font class="indexsub"> |
95 |
<font class="indexsub"> |
25 |
Latest downloads from the Eclipse project |
96 |
Latest downloads from the Eclipse project |
26 |
</font><br /> |
97 |
</font><br /> |
Lines 55-61
Link Here
|
55 |
Software User Agreement</a> unless otherwise specified. </p> |
126 |
Software User Agreement</a> unless otherwise specified. </p> |
56 |
|
127 |
|
57 |
|
128 |
|
58 |
<p><a href="http://download.eclipse.org/eclipse/downloads/<?php echo $otherIndexFile;?>">Eclipse <?php echo $otherStream;?>.x downloads</a> are available.</p> |
129 |
<p><a href="http://download.eclipse.org/eclipse/downloads/<?php print $otherIndexFile;?>">Eclipse <?php print $otherStream;?>.x downloads</a> are available.</p> |
59 |
<p>See the <a href="http://www.eclipse.org/downloads/"> main Eclispe download site for other packages and projects</a>.</p> |
130 |
<p>See the <a href="http://www.eclipse.org/downloads/"> main Eclispe download site for other packages and projects</a>.</p> |
60 |
<p>Help out with Eclipse translations - check out the <a href="http://babel.eclipse.org/babel/">Babel project</a>.</p> |
131 |
<p>Help out with Eclipse translations - check out the <a href="http://babel.eclipse.org/babel/">Babel project</a>.</p> |
61 |
<p>If you prefer, try downloading with the <a href="http://build.eclipse.org/technology/phoenix/torrents/SDK/">SDK Torrents</a> </p> |
132 |
<p>If you prefer, try downloading with the <a href="http://build.eclipse.org/technology/phoenix/torrents/SDK/">SDK Torrents</a> </p> |
Lines 79-85
Link Here
|
79 |
// sanity check input |
150 |
// sanity check input |
80 |
if (isset($dirName) && strlen($dirName) > 0) { |
151 |
if (isset($dirName) && strlen($dirName) > 0) { |
81 |
$firstChar = substr($dirName, 0, 1); |
152 |
$firstChar = substr($dirName, 0, 1); |
82 |
//echo "first char: ".$firstChar; |
153 |
//print "first char: ".$firstChar; |
83 |
foreach($dropPrefix as $type) { |
154 |
foreach($dropPrefix as $type) { |
84 |
if ($firstChar == "$type") { |
155 |
if ($firstChar == "$type") { |
85 |
$result = true; |
156 |
$result = true; |
Lines 89-95
Link Here
|
89 |
} |
160 |
} |
90 |
} |
161 |
} |
91 |
else { |
162 |
else { |
92 |
echo "dropPrefix not defined as expected\n"; |
163 |
print "dropPrefix not defined as expected\n"; |
93 |
} |
164 |
} |
94 |
return $result; |
165 |
return $result; |
95 |
} |
166 |
} |
Lines 97-103
Link Here
|
97 |
// hard code for now the tests ran on one box |
168 |
// hard code for now the tests ran on one box |
98 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=378706 |
169 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=378706 |
99 |
return 1; |
170 |
return 1; |
100 |
|
|
|
101 |
global $subdirDrops; |
171 |
global $subdirDrops; |
102 |
$testBoxes=array("linux", "macosx", "win32"); |
172 |
$testBoxes=array("linux", "macosx", "win32"); |
103 |
$length=count($testBoxes); |
173 |
$length=count($testBoxes); |
Lines 120-126
Link Here
|
120 |
global $subdirDrops; |
190 |
global $subdirDrops; |
121 |
// no file name, write empty column |
191 |
// no file name, write empty column |
122 |
if ($fileName == "") { |
192 |
if ($fileName == "") { |
123 |
echo "<td></td>\n"; |
193 |
print "<td></td>\n"; |
124 |
return; |
194 |
return; |
125 |
} |
195 |
} |
126 |
// get build name, date and time |
196 |
// get build name, date and time |
Lines 145-157
Link Here
|
145 |
// presumably this particular md5 was choosen since last one made, I'd guess? |
215 |
// presumably this particular md5 was choosen since last one made, I'd guess? |
146 |
//$build_done=file_exists("$dropDir/checksum/swt-$buildName-win32-wce_ppc-arm-j2me.zip.md5"); |
216 |
//$build_done=file_exists("$dropDir/checksum/swt-$buildName-win32-wce_ppc-arm-j2me.zip.md5"); |
147 |
$build_done=file_exists("$dropDir/eclipse-SDK-$buildName-linux-gtk.tar.gz"); |
217 |
$build_done=file_exists("$dropDir/eclipse-SDK-$buildName-linux-gtk.tar.gz"); |
148 |
echo "<td valign=\"baseline\">\n"; |
218 |
print "<td valign=\"baseline\">\n"; |
149 |
// hard code for now the build is done |
219 |
// hard code for now the build is done |
150 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=378706 |
220 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=378706 |
151 |
// if ($build_done) { |
221 |
// if ($build_done) { |
152 |
if (true) { |
222 |
if (true) { |
153 |
$boxes=runTestBoxes($fileName); |
223 |
$boxes=runTestBoxes($fileName); |
154 |
echo "<a href=\"$dropDir/\"><img border=\"0\" src=\"../images/build_done.gif\" title=\"Build is available\" alt=\"Build is available\" /></a>\n"; |
224 |
print "<a href=\"$dropDir/\"><img border=\"0\" src=\"../images/build_done.gif\" title=\"Build is available\" alt=\"Build is available\" /></a>\n"; |
155 |
//$testResults="$dropDir/testresults/xml"; |
225 |
//$testResults="$dropDir/testresults/xml"; |
156 |
//if (file_exists("$testResults")) { |
226 |
//if (file_exists("$testResults")) { |
157 |
switch ($boxes) { |
227 |
switch ($boxes) { |
Lines 160-180
Link Here
|
160 |
//if ($diff > 480) { |
230 |
//if ($diff > 480) { |
161 |
// for now, hard code to "0" since we are not reunning tests |
231 |
// for now, hard code to "0" since we are not reunning tests |
162 |
if ($diff > 0) { |
232 |
if ($diff > 0) { |
163 |
echo "<img src=\"../images/caution.gif\" title=\"Regression tests did not run!\" alt=\"Regression tests did not run!\" />\n"; |
233 |
print "<img src=\"../images/caution.gif\" title=\"Regression tests did not run!\" alt=\"Regression tests did not run!\" />\n"; |
164 |
} else { |
234 |
} else { |
165 |
echo "<img src=\"../images/runtests.gif\" title=\"Regression tests are running...\" alt=\"Regression tests are running...\" />\n"; |
235 |
print "<img src=\"../images/runtests.gif\" title=\"Regression tests are running...\" alt=\"Regression tests are running...\" />\n"; |
166 |
} |
236 |
} |
167 |
break; |
237 |
break; |
168 |
|
238 |
|
169 |
case 5: |
239 |
case 5: |
170 |
echo "<a href=\"$dropDir/results/testResults.html\"><img border=\"0\" src=\"../images/junit.gif\" title=\"Tests results are available\" alt=\"Tests results are available\" /></a>\n"; |
240 |
print "<a href=\"$dropDir/results/testResults.html\"><img border=\"0\" src=\"../images/junit.gif\" title=\"Tests results are available\" alt=\"Tests results are available\" /></a>\n"; |
171 |
break; |
241 |
break; |
172 |
default: |
242 |
default: |
173 |
// if more than 12 hours then consider that the regression tests did not finish |
243 |
// if more than 12 hours then consider that the regression tests did not finish |
174 |
if ($diff > 720) { |
244 |
if ($diff > 720) { |
175 |
echo "<a href=\"$dropDir/results/testResults.html\"><img border=\"0\" src=\"../images/junit.gif\" title=\"Tests results are available but did not finish on all machines\" alt=\"Tests results are available but did not finish on all machines\" /></a>\n"; |
245 |
print "<a href=\"$dropDir/results/testResults.html\"><img border=\"0\" src=\"../images/junit.gif\" title=\"Tests results are available but did not finish on all machines\" alt=\"Tests results are available but did not finish on all machines\" /></a>\n"; |
176 |
} else { |
246 |
} else { |
177 |
echo "<img border=\"0\" src=\"../images/runtests.gif\" title=\"Tests are still running on some machines...\" alt=\"Tests are still running on some machines...\" />\n"; |
247 |
print "<img border=\"0\" src=\"../images/runtests.gif\" title=\"Tests are still running on some machines...\" alt=\"Tests are still running on some machines...\" />\n"; |
178 |
} |
248 |
} |
179 |
} |
249 |
} |
180 |
//break; |
250 |
//break; |
Lines 184-192
Link Here
|
184 |
// $perfsFile="$perfsDir/performance.php"; |
254 |
// $perfsFile="$perfsDir/performance.php"; |
185 |
// if (file_exists("$perfsFile")) { |
255 |
// if (file_exists("$perfsFile")) { |
186 |
// if (file_exists("$perfsDir/global.php")) { |
256 |
// if (file_exists("$perfsDir/global.php")) { |
187 |
//echo "<a href=\"$perfsFile\"><img border=\"0\" src=\"../images/perfs.gif\" title=\"Performance tests are available\" alt=\"Performance tests are available\"/></a>\n"; |
257 |
//print "<a href=\"$perfsFile\"><img border=\"0\" src=\"../images/perfs.gif\" title=\"Performance tests are available\" alt=\"Performance tests are available\"/></a>\n"; |
188 |
// } else { |
258 |
// } else { |
189 |
// echo "<img src=\"../images/caution.gif\" title=\"Performance tests ran and results should have been generated but unfortunately they are not available!\" alt=\"No Performance tests\"/>\n"; |
259 |
// print "<img src=\"../images/caution.gif\" title=\"Performance tests ran and results should have been generated but unfortunately they are not available!\" alt=\"No Performance tests\"/>\n"; |
190 |
/// } |
260 |
/// } |
191 |
// } else { |
261 |
// } else { |
192 |
// if (file_exists("$perfsDir/consolelogs")) { |
262 |
// if (file_exists("$perfsDir/consolelogs")) { |
Lines 197-205
Link Here
|
197 |
// } else { |
267 |
// } else { |
198 |
// $reason="either they were not stored in DB or not generated"; |
268 |
// $reason="either they were not stored in DB or not generated"; |
199 |
// } |
269 |
// } |
200 |
// echo "<img src=\"../images/caution.gif\" title=\"Performance tests ran but no results are available: $reason!\" alt=\"No Performance Tests\" />\n"; |
270 |
// print "<img src=\"../images/caution.gif\" title=\"Performance tests ran but no results are available: $reason!\" alt=\"No Performance Tests\" />\n"; |
201 |
//} else { |
271 |
//} else { |
202 |
// echo "<img src=\"../images/runperfs.gif\" title=\"Performance tests are running...\" alt=\"Performance tests are running\" />\n"; |
272 |
// print "<img src=\"../images/runperfs.gif\" title=\"Performance tests are running...\" alt=\"Performance tests are running\" />\n"; |
203 |
// } |
273 |
// } |
204 |
// } |
274 |
// } |
205 |
// } |
275 |
// } |
Lines 208-219
Link Here
|
208 |
else { |
278 |
else { |
209 |
// if more than 5 hours then consider that the build did not finish |
279 |
// if more than 5 hours then consider that the build did not finish |
210 |
if ($diff > 300) { |
280 |
if ($diff > 300) { |
211 |
echo "<img src=\"../images/build_failed.gif\" title=\"Build failed!\" alt=\"Build failed!\" />\n"; |
281 |
print "<img src=\"../images/build_failed.gif\" title=\"Build failed!\" alt=\"Build failed!\" />\n"; |
212 |
} else { |
282 |
} else { |
213 |
echo "<img src=\"../images/build_progress.gif\" title=\"Build is in progress...\" alt=\"Build is in progress.\"/>\n"; |
283 |
print "<img src=\"../images/build_progress.gif\" title=\"Build is in progress...\" alt=\"Build failed!\"/>\n"; |
214 |
} |
284 |
} |
215 |
} |
285 |
} |
216 |
echo "</td>\n"; |
286 |
print "</td>\n"; |
217 |
return $buildName; |
287 |
return $buildName; |
218 |
} |
288 |
} |
219 |
?> |
289 |
?> |
Lines 226-232
Link Here
|
226 |
|
296 |
|
227 |
if ($anEntry != "." && $anEntry!=".." && $anEntry!="TIME" && startsWithDropPrefix($anEntry,$dropPrefix)) { |
297 |
if ($anEntry != "." && $anEntry!=".." && $anEntry!="TIME" && startsWithDropPrefix($anEntry,$dropPrefix)) { |
228 |
$parts = explode("-", $anEntry); |
298 |
$parts = explode("-", $anEntry); |
229 |
// echo "<p>an entry: $anEntry\n"; |
299 |
// print "<p>an entry: $anEntry\n"; |
230 |
if (count($parts) == 3) { |
300 |
if (count($parts) == 3) { |
231 |
|
301 |
|
232 |
$buckets[$parts[0]][] = $anEntry; |
302 |
$buckets[$parts[0]][] = $anEntry; |
Lines 289-296
Link Here
|
289 |
$prefix=$typeToPrefix[$value]; |
359 |
$prefix=$typeToPrefix[$value]; |
290 |
// if empty bucket, do not print this row |
360 |
// if empty bucket, do not print this row |
291 |
if (array_key_exists($prefix,$buckets)) { |
361 |
if (array_key_exists($prefix,$buckets)) { |
292 |
echo "<tr>\n"; |
362 |
print "<tr>\n"; |
293 |
echo "<td width=\"30%\">$value</td>\n"; |
363 |
print "<td width=\"30%\">$value</td>\n"; |
294 |
|
364 |
|
295 |
|
365 |
|
296 |
if (array_key_exists($prefix,$latestFile)) { |
366 |
if (array_key_exists($prefix,$latestFile)) { |
Lines 299-305
Link Here
|
299 |
$parts = explode("-", $fileName); |
369 |
$parts = explode("-", $fileName); |
300 |
|
370 |
|
301 |
// Uncomment the line below if we need click through licenses. |
371 |
// Uncomment the line below if we need click through licenses. |
302 |
// echo "<td><a href=license.php?license=$subdirDrops/$fileName>$parts[1]</a></td>\n"; |
372 |
// print "<td><a href=license.php?license=$subdirDrops/$fileName>$parts[1]</a></td>\n"; |
303 |
|
373 |
|
304 |
// Comment the line below if we need click through licenses. |
374 |
// Comment the line below if we need click through licenses. |
305 |
|
375 |
|
Lines 308-320
Link Here
|
308 |
$buildName=$parts[1]; |
378 |
$buildName=$parts[1]; |
309 |
} |
379 |
} |
310 |
if ($fileName == "") { |
380 |
if ($fileName == "") { |
311 |
echo "<td></td>\n"; |
381 |
print "<td></td>\n"; |
312 |
} else { |
382 |
} else { |
313 |
echo "<td><a href=\"$subdirDrops/$fileName/\">$buildName</a></td>\n"; |
383 |
print "<td><a href=\"$subdirDrops/$fileName/\">$buildName</a></td>\n"; |
314 |
} |
384 |
} |
315 |
$buildName = printBuildColumns($fileName, $parts); |
385 |
$buildName = printBuildColumns($fileName, $parts); |
316 |
echo "<td>$timeStamps[$fileName]</td>\n"; |
386 |
print "<td>$timeStamps[$fileName]</td>\n"; |
317 |
echo "</tr>\n"; |
387 |
print "</tr>\n"; |
318 |
} |
388 |
} |
319 |
} |
389 |
} |
320 |
?> |
390 |
?> |
Lines 327-357
Link Here
|
327 |
// skip whole section, if bucket is empty |
397 |
// skip whole section, if bucket is empty |
328 |
if (array_key_exists($prefix,$buckets)) { |
398 |
if (array_key_exists($prefix,$buckets)) { |
329 |
|
399 |
|
330 |
echo " <table width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" align=\"center\" >\n"; |
400 |
print " <table width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" align=\"center\" >\n"; |
331 |
// header, colored row |
401 |
// header, colored row |
332 |
echo "<tr bgcolor=\"#999999\">\n"; |
402 |
print "<tr bgcolor=\"#999999\">\n"; |
333 |
// name attribute can have no spaces, so we tranlate them to underscores |
403 |
// name attribute can have no spaces, so we tranlate them to underscores |
334 |
// (could effect targeted links) |
404 |
// (could effect targeted links) |
335 |
$valueName=strtr($value,' ','_'); |
405 |
$valueName=strtr($value,' ','_'); |
336 |
echo "<td align=\"left\" width=\"30%\"><a name=\"$valueName\">\n"; |
406 |
print "<td align=\"left\" width=\"30%\"><a name=\"$valueName\">\n"; |
337 |
echo "<font color=\"#FFFFFF\" face=\"Arial,Helvetica\">$value\n"; |
407 |
print "<font color=\"#FFFFFF\" face=\"Arial,Helvetica\">$value\n"; |
338 |
echo "</font></a></td>\n"; |
408 |
print "</font></a></td>\n"; |
339 |
echo "</tr>\n"; |
409 |
print "</tr>\n"; |
340 |
|
410 |
|
341 |
echo "<tr>\n"; |
411 |
print "<tr>\n"; |
342 |
echo "<td align=\"left\" >\n"; |
412 |
print "<td align=\"left\" >\n"; |
343 |
echo "\n"; |
413 |
print "\n"; |
344 |
echo "\n"; |
414 |
print "\n"; |
345 |
echo "\n"; |
415 |
print "\n"; |
346 |
echo "\n"; |
416 |
print "\n"; |
347 |
echo "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"4\" >\n"; |
417 |
print "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"4\" >\n"; |
348 |
echo "<tr>\n"; |
418 |
print "<tr>\n"; |
349 |
|
419 |
|
350 |
echo "<th width=\"15%\">Build Name</th>\n"; |
420 |
print "<th width=\"15%\">Build Name</th>\n"; |
351 |
echo "<th width=\"15%\">Build Status</th>\n"; |
421 |
print "<th width=\"15%\">Build Status</th>\n"; |
352 |
echo "<th>Build Date</th>\n"; |
422 |
print "<th>Build Date</th>\n"; |
353 |
|
423 |
|
354 |
echo "</tr>\n"; |
424 |
print "</tr>\n"; |
355 |
|
425 |
|
356 |
$aBucket = $buckets[$prefix]; |
426 |
$aBucket = $buckets[$prefix]; |
357 |
if (isset($aBucket)) { |
427 |
if (isset($aBucket)) { |
Lines 359-392
Link Here
|
359 |
foreach($aBucket as $innerValue) { |
429 |
foreach($aBucket as $innerValue) { |
360 |
$parts = explode("-", $innerValue); |
430 |
$parts = explode("-", $innerValue); |
361 |
|
431 |
|
362 |
echo "<tr>\n"; |
432 |
print "<tr>\n"; |
363 |
|
433 |
|
364 |
// Uncomment the line below if we need click through licenses. |
434 |
// Uncomment the line below if we need click through licenses. |
365 |
// echo "<td><a href=\"license.php?license=$subdirDrops/$innerValue\">$parts[1]</a></td>\n"; |
435 |
// print "<td><a href=\"license.php?license=$subdirDrops/$innerValue\">$parts[1]</a></td>\n"; |
366 |
|
436 |
|
367 |
// Comment the line below if we need click through licenses. |
437 |
// Comment the line below if we need click through licenses. |
368 |
$buildName=$innerValue; |
438 |
$buildName=$innerValue; |
369 |
if (count ($parts)==3) { |
439 |
if (count ($parts)==3) { |
370 |
echo "<td><a href=\"$subdirDrops/$innerValue/\">$parts[1]</a></td>\n"; |
440 |
print "<td><a href=\"$subdirDrops/$innerValue/\">$parts[1]</a></td>\n"; |
371 |
} else if (count ($parts)==2) { |
441 |
} else if (count ($parts)==2) { |
372 |
echo "<td><a href=\"$subdirDrops/$innerValue/\">$innerValue</a></td>\n"; |
442 |
print "<td><a href=\"$subdirDrops/$innerValue/\">$innerValue</a></td>\n"; |
373 |
} else { |
443 |
} else { |
374 |
echo "<td>Unexpected numberof parts?</td>\n"; |
444 |
print "<td>Unexpected numberof parts?</td>\n"; |
375 |
} |
445 |
} |
376 |
|
446 |
|
377 |
$buildName = printBuildColumns($innerValue, $parts); |
447 |
$buildName = printBuildColumns($innerValue, $parts); |
378 |
echo "<td>$timeStamps[$innerValue]</td>\n"; |
448 |
print "<td>$timeStamps[$innerValue]</td>\n"; |
379 |
echo "</tr>\n"; |
449 |
print "</tr>\n"; |
380 |
} |
450 |
} |
381 |
} |
451 |
} |
382 |
echo "</table>\n"; |
452 |
print "</table>\n"; |
383 |
echo "</td></tr>\n"; |
453 |
print "</td></tr>\n"; |
384 |
echo "</table>\n"; |
454 |
print "</table>\n"; |
385 |
|
455 |
|
386 |
} |
456 |
} |
387 |
} |
457 |
} |
388 |
|
458 |
print '</div>'; |
389 |
?> |
459 |
$html = ob_get_clean(); |
390 |
</body> |
460 |
|
391 |
</html> |
461 |
switch($layout){ |
|
|
462 |
case 'html': |
463 |
print $html; |
464 |
print '</body>'; |
465 |
print '</html>'; |
466 |
break; |
467 |
|
468 |
case 'php': |
469 |
print $html; |
470 |
print $op; ?> |
471 |
|
472 |
$html = ob_get_clean(); |
473 |
$App->Promotion = FALSE; |
474 |
$App->generatePage('Nova', $Menu, NULL , $pageAuthor, $pageKeywords, $pageTitle, $html); |
475 |
|
476 |
<?php |
477 |
//print $cl; |
478 |
break; |
479 |
|
480 |
default: |
481 |
$App->Promotion = FALSE; |
482 |
$App->generatePage('Nova', $Menu, NULL , $pageAuthor, $pageKeywords, $pageTitle, $html); |
483 |
break; |
484 |
} |