show_page_title ) : ?>
cmpparams->get('page_title'); ?>
section[0])) { return JError::raiseError( 404, JText::_( 'Document not found') ); } global $mainframe; $mainframe->appendPathWay($this->section[0]->title, JRoute::_('index.php?option=com_sql2excel&view=section&id=' . $this->section[0]->id . ':' . $this->section[0]->alias . '&Itemid=' . JRequest::getVar('Itemid', 1, 'get', 'int'))); ?>
'.JHTML::_('image', 'components/com_sql2excel/assets/images/up.png', JText::_('Up'),'border=0'). '
'; echo '

'.$this->section[0]->title. '

'; // Description echo '
'; if ( $this->show_sect_descr && (isset($this->section[0]->description) && $this->section[0]->description != '')) { echo '
'; if ( isset($this->tmpl['image']) ) { echo $this->tmpl['image']; } echo $this->section[0]->description .'

 

'; } echo '
'; if (!empty($this->categorylist)) { foreach ($this->categorylist as $valueCat) { echo '

'; echo ''. $valueCat->title.''; echo ' ('.$valueCat->numdoc.')

' . "\n"; } echo '
'; } else { echo '

 

 

'; echo ''; } ?> mostvieweddocs) && $this->tmpl['displaymostdownload'] == 1) { echo '
 
'; echo '
'; echo '

'. JText::_('Most downloaded Spreadsheets').'

'; foreach ($this->mostvieweddocs as $value) { // FILESIZE if ($value->filename !='') { $absFile = str_replace('/', DS, JPath::clean($this->absfilepath . $value->filename)); if (JFile::exists($absFile)) { $fileSize = PhocaDownloadHelper::getFileSizeReadable(filesize($absFile)); } else { $fileSize = ''; } } // IMAGE FILENAME $imageFileName = ''; if ($value->image_filename !='') { $thumbnail = false; $thumbnail = preg_match("/phocathumbnail/i", $value->image_filename); if ($thumbnail) { $imageFileName = ''; } else { $imageFileName = 'style="background: url(\''.$this->cssimagepath.$value->image_filename.'\') 0 center no-repeat;"'; } } echo '

'; echo ''. $value->title.' (' .$value->sectiontitle. '/'.$value->categorytitle.')'; echo PhocaDownloadHelper::displayNewIcon($value->date, $this->tmpl['displaynew']); echo PhocaDownloadHelper::displayHotIcon($value->hits, $this->tmpl['displayhot']); echo '

' . "\n"; } echo '
'; } ?>