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 '
| Application Version | ',"\n"; echo 'Submitter | ',"\n"; echo 'Date Submitted | ',"\n"; echo 'Wine version | ',"\n"; echo 'Installs? | ',"\n"; echo 'Runs? | ',"\n"; echo 'Rating | ',"\n"; echo '
| ',"\n"; echo $oApp->sName.' '.$oVersion->sName.' | ',"\n"; echo '',"\n"; echo $oSubmitter->sEmail ? "sEmail."\">":""; echo $oSubmitter->sRealname; echo $oSubmitter->sEmail ? "":""; echo ' | ',"\n"; echo ''.date("M d Y", mysqltimestamp_to_unixtimestamp($oTest->sSubmitTime)).' | ',"\n"; echo ''.$oTest->sTestedRelease.'  | ',"\n"; echo ''.$oTest->sInstalls.'  | ',"\n"; echo ''.$oTest->sRuns.'  | ',"\n"; echo ''.$oTest->sTestedRating.'  | ',"\n"; echo '