$pdFile .= '<div class="pd-float">'; $pdFile .= $l->getName($v->title, $v->filename); $pdFile .= '</div>'; $pdFile .= PhocaDownloadRenderFront::displayNewIcon($v->date, $this->t['displaynew']); $pdFile .= PhocaDownloadRenderFront::displayHotIcon($v->hits, $this->t['displayhot']); // String Tags - title suffix $tagsS = $l->displayTagsString($v->tags_string); if ($tagsS != '') { $pdFile .= '<div class="pd-float">'.$tagsS.'</div>'; } // Tags - title suffix - FILE VIEW = DOWNLOAD FILE if ($this->t['display_tags_links'] == 5 || $this->t['display_tags_links'] == 6) { $tags = $l->displayTags($v->id, 1); if ($tags != '') { $pdFile .= '<div class="pd-float">'.$tags.'</div>'; } } //Specific icons if (isset($v->image_filename_spec1) && $v->image_filename_spec1 != '') { $pdFile .= '<div class="pd-float">'.$l->getImageDownload($v->image_filename_spec1).'</div>'; } if (isset($v->image_filename_spec2) && $v->image_filename_spec2 != '') { $pdFile .= '<div class="pd-float">'.$l->getImageDownload($v->image_filename_spec2).'</div>'; } $pdFile .= '</div></div></div>' . "\n"; }
if ($this->t['display_mirror_links'] == 4 || $this->t['display_mirror_links'] == 6) { $classMirror = 'pd-button-mirror2'; $mirrorOutput2 = str_replace('class=""', 'class="btn"', $mirrorOutput2); } else { $classMirror = 'pd-mirror'; } $pdMirrorLink2 = '<div class="' . $classMirror . '">' . $mirrorOutput2 . '</div>'; } // pdreportlink $pdReportLink = PhocaDownloadRenderFront::displayReportLink(1, $v->title); // pdrating $pdRating = PhocaDownloadRate::renderRateFile($v->id, $this->t['display_rating_file']); // pdtags $pdTags = ''; if ($this->t['display_tags_links'] == 1 || $this->t['display_tags_links'] == 3) { if ($l->displayTags($v->id) != '') { $pdTags .= $l->displayTags($v->id); } } //pdvideo $pdVideo = $l->displayVideo($v->video_filename, 0); // --------------------------------------------------- //Convert // --------------------------------------------------- if ($v->textonly == 1) { echo '<div class="pd-textonly">' . $pdTextOnly . '</div>'; } else { if ($this->t['display_specific_layout'] == 0) { echo '<div class="pd-filebox">'; echo $pdFileDescTop; echo $pdFile;