global $project, $scores; global $HTTP_GET_VARS, $questions, $complete; $pw = check_pw($HTTP_GET_VARS["pw"]); $pwstr = ""; if ($pw) { $pwstr = "&pw=$HTTP_GET_VARS[pw]"; } $project[tarinterval] = getTarInterval($project[id]); function yesno($val) { return $val == "t" ? "Yes" : "No"; } function printRadioResult($opts, $result, $other) { if ( $result == 0 ) { printOptLine( "(Left unanswered)", -1 ); } elseif ( $result == 1 ) { printOptLine( "Other: ".$other, -1, $i-1 ); } else { // postgres answer index starts at 2 (1 is other), thus -2 printOptLine( $opts[$result-2], -1, $result-2 ); } } function printCheckResult($answer, $opts, $other) { $answered = 0; for ( $i = 1; $i < count($opts)+1; $i++ ) { if ( $answer && ( pow(2,$i) & $answer ) ) { printOptLine( $opts[$i-1], -1, $i-1 ); $answered = 1; } } if ( $answer && ( pow(2,0) & $answer ) ) { printOptLine( "Other: ".$other, -1, $i-1 ); $answered = 1; } if ( ! $answered ) { printOptLine( "(Left unanswered)", -1 ); } } $next = getNextProject($project[id], $pw); $prev = getPrevProject($project[id], $pw); ?>
| VIP: = yesno($project[vip]); ?> | Interesting Comments: = yesno($project[goodcomments]); ?> | |
| Incomplete Survey: = yesno($project[incomplete]); ?> | Umbrella project: = yesno($project[multiproject]) ?> | |
| Distribution project: = yesno($project[distribution]) ?> | ||
| Domain: = $project[domain] ?> } if ( $project[tarsize] > 0 ) { ?> | ||
| Last release date: = $project[tartime] ?> (= $project[tarinterval]?> days ago) | Tarball size: | = round($project[tarsize]/1000) ?> K if ($data) { ?> |
|
| ||
| SLOC Data: | foreach ($data as $item) { ?>= $item[lang] ?>: | = $item[loc] ?> LOC |
| Total: | = $sum ?> LOC | } } ?>|
|
Comment: =$comment?> | |