diff --git a/application/modules/default/views/scripts/user/partials/loopDownloadHistory.phtml b/application/modules/default/views/scripts/user/partials/loopDownloadHistory.phtml index a7aeb4d96..1531703be 100644 --- a/application/modules/default/views/scripts/user/partials/loopDownloadHistory.phtml +++ b/application/modules/default/views/scripts/user/partials/loopDownloadHistory.phtml @@ -1,162 +1,162 @@ 'ugh', 2=>'really bad',3=>'bad',4=>'soso',5=>'average', 6=>'okay',7=>'good', 8=>'great', 9=>'excellent',10=>'the best'); krsort($options); $userRateData = $this->fetchRate($this->file->project_id, $this->member_id); $userrate ="data-userrate='-1'"; $comment="data-comment=''"; if($userRateData){ $userrate ="data-userrate='".$userRateData['score']."'"; $comment="data-comment='".$userRateData['comment_text']."'"; } $formproject="data-project='".$this->file->project_id."'"; $attrhistory = $userrate.' '.$comment.' '.$formproject; if($this->counter==0){ ?>
file->title?>

file->catTitle?>

file->max_downloaded_timestamp */?>
getScore($this->file->project_id); $this->widgetRating = new stdClass(); $this->widgetRating->project_id =$this->file->project_id; $this->widgetRating->laplace_score = $score; $this->widgetRating->count_likes =$this->file->count_likes; $this->widgetRating->count_dislikes =$this->file->count_dislikes; echo $this->render('partials/widgetRating.phtml'); ?>
file->project_member_id<> $this->authMember->member_id){ ?> '; echo $userRateData['comment_text'].' '.$this->printDate($userRateData['created_at']); echo '
'; } ?>
file->project_member_id<> $this->authMember->member_id){ echo $this->partial( '/product/follow.phtml', array( "authMember" => $this->authMember, "project_id" => $this->file->project_id ) ); } ?>
file->file_name?>
humanFilesize($this->file->file_size)?>
file->downloaded_timestamp?>
file->file_type?>
file->file_name?>
humanFilesize($this->file->file_size)?>
file->downloaded_timestamp?>
file->file_type?>
\ No newline at end of file