Private
Server IP : 195.201.23.43  /  Your IP : 3.15.0.42
Web Server : Apache
System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64
User : kdecoratie ( 1041)
PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/kdecoratie/public_html/templates/kdecor1/library/Artx/Content/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/kdecoratie/public_html/templates/kdecor1/library/Artx/Content/FeaturedArticle.php
<?php
defined('_JEXEC') or die;

Artx::load("Artx_Content_ListItem");

class ArtxContentFeaturedArticle extends ArtxContentListItem
{
    public $tags = '';
    
    public function __construct($component, $componentParams, $article, $articleParams)
    {
        parent::__construct($component, $componentParams, $article, $articleParams);
        $this->category = $this->_articleParams->get('show_category') ? $this->_article->category_title : '';
        $this->categoryLink = $this->_articleParams->get('link_category') && $this->_article->catslug
                                ? JRoute::_(ContentHelperRoute::getCategoryRoute($this->_article->catslug))
                                : '';
        $this->parentCategory = $this->_articleParams->get('show_parent_category') && $this->_article->parent_id != 1
                                  ? $this->_article->parent_title : '';
        $this->parentCategoryLink = $this->_articleParams->get('link_parent_category') && $this->_article->parent_slug
                                      ? JRoute::_(ContentHelperRoute::getCategoryRoute($this->_article->parent_slug))
                                      : '';
        if (version_compare(JVERSION, '3.1.0') >= 0) {
            $useDefList = ($this->_articleParams->get('show_modify_date') || 
                $this->_articleParams->get('show_publish_date') || 
                $this->_articleParams->get('show_create_date') || 
                $this->_articleParams->get('show_hits') || 
                $this->_articleParams->get('show_category') || 
                $this->_articleParams->get('show_parent_category') || 
                $this->_articleParams->get('show_author'));
            $info = $this->_article->params->get('info_block_position', 0);    
            if ($useDefList && ($info == 1 ||  $info == 2) && $this->_component->get('show_tags', 1) && !empty($this->_article->tags)) {
                $this->_article->tagLayout = new JLayoutFile('joomla.content.tags');
                $this->tags = $this->_article->tagLayout->render($this->_article->tags->itemTags);
            }
        }
    }
}
Private