iDistributionId) { errorpage("No Distribution ID specified!"); exit; } else { //display page apidb_header("View Distribution"); echo html_frame_start("Distribution Information",500); echo "Distribution Name:"; if($oDistribution->sUrl) echo ""; echo $oDistribution->sName; if ($oDistribution->sUrl) { echo " (".$oDistribution->sUrl.")"; echo "
\n"; } else echo "
\n"; if($oDistribution->aTestingIds) { echo '

Testing Results for '.$oDistribution->sName.'
',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; foreach($oDistribution->aTestingIds as $iTestingId) { $oTest = new testData($iTestingId); $oVersion = new version($oTest->iVersionId); $oApp = new application($oVersion->iAppId); $oSubmitter = new User($oTest->iSubmitterId); $bgcolor = $oTest->sTestedRating; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; } echo '
Application VersionSubmitterDate SubmittedWine versionInstalls?Runs?Rating
',"\n"; echo $oApp->sName.' '.$oVersion->sName.'',"\n"; echo $oSubmitter->sEmail ? "sEmail."\">":""; echo $oSubmitter->sRealname; echo $oSubmitter->sEmail ? "":""; echo ''.date("M d Y", mysqltimestamp_to_unixtimestamp($oTest->sSubmitTime)).''.$oTest->sTestedRelease.' '.$oTest->sInstalls.' '.$oTest->sRuns.' '.$oTest->sTestedRating.' 
',"\n"; } echo html_frame_end(); echo html_back_link(1); apidb_footer(); } ?>