blob: 15f5a033bd8baa897a712854f23ffa9a46d93667 [file] [log] [blame]
<table border=0 cellpadding=0 width="100%">
<tr>
<td width="35%"><?php echo $indexTop; ?></td>
<td width="35%" align="right"><a
href="http://www.eclipse.org/webtools/main.php"><img border="0"
src="../wtplogonarrow.jpg" height="95" width="207" /></a></td>
</tr>
</table>
<!-- heading end -->
<hr />
<table border=0 cellpadding=2 width="70%" align="center">
<tr>
<td><?php echo $pageExplanation; ?></td>
</tr>
</table>
<?php
$contents = substr(file_get_contents('dlconfig.txt'),0,-1);
$contents = str_replace("\n", "", $contents);
#split the content file by & and fill the arrays
$elements = explode("&",$contents);
$t = 0;
$p = 0;
for ($c = 0; $c < count($elements); $c++) {
$tString = "dropType";
$pString = "dropPrefix";
if (strstr($elements[$c],$tString)) {
$temp = preg_split("/=/",$elements[$c]);
$dropType[$t] = trim($temp[1]);
$t++;
}
if (strstr($elements[$c],$pString)) {
$temp = preg_split("/=/",$elements[$c]);
$dropPrefix[$p] = trim($temp[1]);
$p++;
}
}
// debug
// echo "Debug: droptype count: ", count($dropType), "<br />";
for ($i = 0; $i < count($dropType); $i++) {
$dt = $dropType[$i];
$dt = trim($dt);
$typeToPrefix[$dt] = $dropPrefix[$i];
// echo "Debug prefix: ", $dropPrefix[$i], "<br />";
// echo "Debug dropType: ", $dropType[$i], "<br />";
}
$buildBranches = array();
$buildBranches[0]="R3.0";
$buildBranches[1]="R2.0";
$buildBranches[2]="R1.5";
$buildBranches[3]="R1.0";
$buildBranches[4]="R0.7";
include '../report.php';
include '../report2.php';
?>