t['p']->get( 'pageclass_sfx' ).'" >'; echo '
'; if ($this->t['found'] == 1) { if(isset($this->file[0]->id) && (int)$this->file[0]->id > 0 && isset($this->file[0]->token) && $this->file[0]->token != '') { $v = $this->file[0]; $downloadLink = PhocaDownloadRoute::getDownloadRoute((int)$v->id, (int)$v->catid, $v->token); $l = new PhocaDownloadLayout(); //echo '

'.$l->getName($v->title, $v->filename, 1). '

'; $pdTitle = ''; if ($v->title != '') { $pdTitle .= '
'.$v->title.'
'; } $pdImage = ''; if ($v->image_download != '') { $pdImage .= '
'.$l->getImageDownload($v->image_download).'
'; } if ($v->filename != '') { $imageFileName = $l->getImageFileName($v->image_filename, $v->filename); $pdFile = '
'; if ($this->t['filename_or_name'] == 'filenametitle') { $pdFile .= '
'. $v->title . '
'; } $pdFile .= '
'. $imageFileName['filenamethumb'] . '
'; $pdFile .= '
'; $pdFile .= $l->getName($v->title, $v->filename); $pdFile .= '
'; $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 .= '
'.$tagsS.'
'; } // 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 .= '
'.$tags.'
'; } } //Specific icons if (isset($v->image_filename_spec1) && $v->image_filename_spec1 != '') { $pdFile .= '
'.$l->getImageDownload($v->image_filename_spec1).'
'; } if (isset($v->image_filename_spec2) && $v->image_filename_spec2 != '') { $pdFile .= '
'.$l->getImageDownload($v->image_filename_spec2).'
'; } $pdFile .= '
' . "\n"; } echo '
' .$pdFile .'
' .'
'; } } else { echo '
'.JText::_('COM_PHOCADOWNLOAD_FILE_NOT_FOUND').'
'; } echo '
 
'; echo PhocaDownloadUtils::getInfo(); ?>