コード例 #1
0
ファイル: gren.php プロジェクト: window98lsq/autoweb
    $noPrev = "none";
}
/////////////////////////////////////////////////////////////////////////////
if ($_GET[week] == "") {
    $noNext = "none";
} else {
    $noNext = "";
}
if ($from == 6 && $to == -1) {
    $noNext = "none";
}
if (is_array($releaseTables[releases])) {
    krsort($releaseTables[releases], SORT_NUMERIC);
}
//////////////////////////////// Regression /////////////////////////////////
$arrDataReg = getBranchDataReg("grenregResults");
$releaseTablesReg = array();
$relCountID = 50;
if (is_array($arrDataReg) && count($arrDataReg) > 0) {
    foreach ($arrDataReg as $name => $rel) {
        $releaseTablesReg[releases][$name][buildTables] = array();
        $buildCountID = 0;
        $regCount = 0;
        krsort($rel[builds], SORT_NUMERIC);
        foreach ($rel[builds] as $buildID => $build) {
            $releaseTablesReg[releases][$name][buildTables][$buildID] = createGrenRegBuildTable($build, $buildID, $arr[1]);
            $buildCountID++;
            $regCount++;
        }
        $releaseTablesReg[releases][$name][releaseTable] = createReleaseTable($rel, $name, $relCountID, count($rel[builds]), $regCount);
        $buildCountID = 0;
コード例 #2
0
ファイル: rap.php プロジェクト: window98lsq/autoweb
    $noPrev = "none";
}
/////////////////////////////////////////////////////////////////////////////
if ($_GET[week] == "") {
    $noNext = "none";
} else {
    $noNext = "";
}
if ($from == 6 && $to == -1) {
    $noNext = "none";
}
if (is_array($releaseTables[releases])) {
    krsort($releaseTables[releases], SORT_NUMERIC);
}
//////////////////////////////// Regression /////////////////////////////////
$arrDataReg = getBranchDataReg("rapregResults");
$releaseTablesReg = array();
$relCountID = 50;
if (is_array($arrDataReg) && count($arrDataReg) > 0) {
    foreach ($arrDataReg as $name => $rel) {
        $releaseTablesReg[releases][$name][buildTables] = array();
        $buildCountID = 0;
        $regCount = 0;
        krsort($rel[builds], SORT_NUMERIC);
        foreach ($rel[builds] as $buildID => $build) {
            $releaseTablesReg[releases][$name][buildTables][$buildID] = createRapRegBuildTable($build, $buildID, $arr[1]);
            $buildCountID++;
            $regCount++;
        }
        $releaseTablesReg[releases][$name][releaseTable] = createReleaseTable($rel, $name, $relCountID, count($rel[builds]), $regCount, 1);
        $buildCountID = 0;