if (isset($urls) && (!empty($urls->urls_position) && $urls->urls_position == '1' || $params->get('urls_position') == '1')) { ?> <?php echo $this->loadTemplate('links'); ?> <?php } ?> <?php //optional teaser intro text for guests } elseif ($params->get('show_noauth') == true and $user->get('guest')) { ?> <?php //echo $this->item->introtext; echo DecorHelper::photogallery($this->item->introtext); ?> <?php //Optional link to let them register to see the whole article. ?> <?php if ($params->get('show_readmore') && $this->item->fulltext != null) { $link1 = JRoute::_('index.php?option=com_users&view=login'); $link = new JURI($link1); ?> <section class="readmore"> <a href="<?php echo $link; ?> "> <span>
<?php if ($params->get('access-view')) { ?> <?php if (!empty($this->item->pagination) and $this->item->pagination and !$this->item->paginationposition and !$this->item->paginationrelative) { echo $this->item->pagination; } ?> <section class="article-content clearfix"> <div class="article-introtext"><?php echo $this->item->introtext; ?> </div> <?php echo DecorHelper::photogallery($this->item); ?> </section> <?php if ($params->get('show_tags', 1) && !empty($this->item->tags)) { ?> <?php $this->item->tagLayout = new JLayoutFile('joomla.content.tags'); ?> <?php echo $this->item->tagLayout->render($this->item->tags->itemTags); } ?> <?php