* @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Associations;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\FileLayout;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Uri\Uri;
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
use Joomla\Component\Content\Site\Helper\RouteHelper;
// Create shortcuts to some parameters.
$params  = $this->item->params;
$canEdit = $params->get('access-edit');
$user    = Factory::getUser();
$info    = $params->get('info_block_position', 0);
$htag    = $this->params->get('show_page_heading') ? 'h2' : 'h1';
// Check if associations are implemented. If they are, define the parameter.
$assocParam        = (Associations::isEnabled() && $params->get('show_associations'));
$currentDate       = Factory::getDate()->format('d-m-Y');
$isNotPublishedYet = $this->item->publish_up > $currentDate;
$isExpired         = !is_null($this->item->publish_down) && $this->item->publish_down < $currentDate;
$fullimg = json_decode($this->item->images);
$pubblicazione = $this->item->publish_up;
$pubblicazione = Factory::getDate()->format('d.m.Y');
$revisione = $this->item->modified;
$revisione = Factory::getDate()->format('d.m.Y');;
$urlcompleto = Uri::getInstance();
$config = JFactory::getConfig();
$nomesito = $config->get( 'sitename' );
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
?>
image_fulltext !=''): ?>
        
    
        
    
    
        
            
                
                    escape($this->item->title); ?>
                    item->text, true, false, false) ; ?>
                 
                get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
                    
                        Argomenti
                        
                            item->tagLayout = new FileLayout('joomla.content.tags'); ?>
                            item->tagLayout->render($this->item->tags->itemTags); ?>
                        
                     
                
             
         
     
    
        
            
                
                    
                 
                
                    
                    
                        item->pagination) && !$this->item->paginationposition && $this->item->paginationrelative) {
                            echo $this->item->pagination;
                        }
                        ?>
                        get('show_modify_date') || $params->get('show_publish_date') || $params->get('show_create_date')
                        || $params->get('show_hits') || $params->get('show_category') || $params->get('show_parent_category') || $params->get('show_author') || $assocParam; ?>
                        
                             $params, 'item' => $this->item]); ?>
                        
                        
                        item->event->afterDisplayTitle; ?>
                        
                        get('urls_position', 0) === 0) : ?>
                            loadTemplate('links'); ?>
                        
                        get('access-view')) : ?>
                            item->pagination) && !$this->item->paginationposition && !$this->item->paginationrelative) :
                                echo $this->item->pagination;
                            endif;
                            ?>
                            item->toc)) :
                                echo $this->item->toc;
                            endif; ?>
                            
                                
                                     $this->item, 'params' => $params, 'position' => 'below']); ?>
                                
                            
                            item->pagination) && $this->item->paginationposition && !$this->item->paginationrelative) :
                                echo $this->item->pagination;
                                ?>
                            
                            get('urls_position', 0) === 1) : ?>
                                loadTemplate('links'); ?>
                            
                            
                        get('show_noauth') == true && $user->get('guest')) : ?>
                            item); ?>
                            item->introtext); ?>
                            
                            get('show_readmore') && $this->item->fulltext != null) : ?>
                                getMenu(); ?>
                                getActive(); ?>
                                id; ?>
                                
                                setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language))); ?>
                                 $this->item, 'params' => $params, 'link' => $link]); ?>
                            
                        
                        item->pagination) && $this->item->paginationposition && $this->item->paginationrelative) :
                            echo $this->item->pagination;
                            ?>
                        
                        
                        item->event->afterDisplayContent; ?>
                        Pubblicato:  - Revisione: