Guest User

Untitled

a guest
Jun 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.37 KB | None | 0 0
  1. <?php
  2. defined('_JEXEC') or die('Restricted access');
  3. ?>
  4. <?php if ($params->get('show_page_title')) : ?>
  5.     <h5 class="newshead componentheading<?php echo $params->get('pageclass_sfx'); ?>">
  6.     <?php echo $params->get('page_title'); ?></h5>
  7. <?php endif; ?>
  8.  
  9. <?php if ( $article->readmore_link != '') : ?>
  10. <a href="<?php echo $article->readmore_link; ?>"
  11.     class="newsartlink"> <?php echo ucfirst($article->title); ?>
  12. </a> <?php else :
  13. echo $article->title ;
  14. endif;
  15.  
  16. ?>
  17.  
  18. <!-- <?php //print_r($params) ?>-->
  19.  
  20. <?php
  21. if (!$params->get('show_intro')) :
  22. echo $article->event->contentAfterTitle;
  23. endif;
  24. ?>
  25.  
  26.     <?php echo $article->event->contentBeforeDisplay; ?>
  27.     <?php if ($params->get('show_url') && $article->urls) : ?>
  28. <span class="small"><a href="<?php echo $article->urls; ?>"
  29.     target="_blank"> <?php echo $article->urls; ?> </a></span>
  30.     <?php endif; ?>
  31.     <?php if (isset ($article->toc)) :
  32.     echo $article->toc;
  33.     endif; ?>
  34.    
  35.    
  36.     <span><?php echo JFilterOutput::ampReplace($article->text); ?></span>
  37.    
  38.    
  39.    
  40.     <?php if ($params->get('show_readmore') && $params->get('show_intro') && $article->readmore_text) { ?>
  41. <p><a href="<?php echo $article->readmore_link; ?>"
  42.     class="readon<?php echo $params->get( 'pageclass_sfx' ); ?>"> <?php echo $article->readmore_text; ?>
  43. </a></p>
  44.     <?php } else {
  45.        
  46.         //spacer?>
  47.     <?php } ?>
  48.     <?php  echo $article->event->contentAfterDisplay; ?>
Add Comment
Please, Sign In to add comment