Developers get maximum exposure with a listing in our Developer directory as well as the ability to monitize
software listings via affiliate links as well as paid support programs!
";
$rating_script="";
if ($user->load_download_history()){
foreach ($user->download_history_array as $this_download){
$t_id = $this_download["package_id"];
$tmp_pkg = new Pkg($dbi, $t_id);
//if ratings exist, check them
$this_rating = 0;
$rating_display = "";
if ($tmp_pkg->load_rating_arrays()){
if (isset($tmp_pkg->RatingArray[$user->user_id])){
$this_rating = $tmp_pkg->RatingArray[$user->user_id]["rating"];
}
//$cumulative_ratings = display_rating("3.50");
//$cumulative_reviews = display_reviews();
$rating_display = "You rated it: ".display_rating($this_rating);
}
//if it has been rated, display it
//if it has been reviewed, display it
//if not, give the option to rate or review
if ($this_rating==0 && $tmp_pkg->PkgActive < 1){
$rating_display = "Rating Unavailable for this package.";
}
else if ($this_rating==0){
$rating_display = 'Rate it:
';
//this isn't working at all
$rating_script .= '';
}
$downloads_section .= "