diff options
Diffstat (limited to 'production/downloadsites/eclipse/downloads/perf/displayScenarios2.php')
-rw-r--r-- | production/downloadsites/eclipse/downloads/perf/displayScenarios2.php | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/production/downloadsites/eclipse/downloads/perf/displayScenarios2.php b/production/downloadsites/eclipse/downloads/perf/displayScenarios2.php index 564d0c32e..1a8d211ac 100644 --- a/production/downloadsites/eclipse/downloads/perf/displayScenarios2.php +++ b/production/downloadsites/eclipse/downloads/perf/displayScenarios2.php @@ -2,39 +2,39 @@ <body> <?php - $parts=explode("&","$QUERY_STRING"); - $config=trim($parts[0]); - $packageprefix=trim($parts[1]); - - $aDirectory=dir("performance/$config"); - $index = 0; - - while ($anEntry = $aDirectory->read()) { - - if ($anEntry != "." && $anEntry != "..") { - if (strstr($anEntry,$packageprefix) && strstr($anEntry,".html")){ - $scenarioname=substr($anEntry,0,-5); - $scenarios[$index]=$scenarioname; - $index++; - - } - } - } - - $scenarioCount=count($scenarios); - if ($scenarioCount==0){ - echo "Results being generated."; - } - else{ - sort($scenarios); - echo "<h2>$packageprefix* ($scenarioCount scenarios)</h2>"; - - for ($counter=0;$counter<count($scenarios);$counter++){ - $line = "<a href=\"performance/$config/$scenarios[$counter].html\">$scenarios[$counter]</a><br>"; - echo "$line"; - } -} -$aDirectory->close(); + $parts=explode("&","$QUERY_STRING"); + $config=trim($parts[0]); + $packageprefix=trim($parts[1]); + + $aDirectory=dir("performance/$config"); + $index = 0; + + while ($anEntry = $aDirectory->read()) { + + if ($anEntry != "." && $anEntry != "..") { + if (strstr($anEntry,$packageprefix) && strstr($anEntry,".html")){ + $scenarioname=substr($anEntry,0,-5); + $scenarios[$index]=$scenarioname; + $index++; + + } + } + } + + $scenarioCount=count($scenarios); + if ($scenarioCount==0){ + echo "Results being generated."; + } + else{ + sort($scenarios); + echo "<h2>$packageprefix* ($scenarioCount scenarios)</h2>"; + + for ($counter=0;$counter<count($scenarios);$counter++){ + $line = "<a href=\"performance/$config/$scenarios[$counter].html\">$scenarios[$counter]</a><br>"; + echo "$line"; + } + } + aDirectory.closedir(); ?> </body> |