%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/plugins/content/relatednews/tmpl/ |
Upload File : |
<?php /** * @package Content - Related News * @version 1.7.0 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL * @copyright (c) 2012 YouTech Company. All Rights Reserved. * @author YouTech Company http://www.smartaddons.com * */ defined('_JEXEC') or die; ImageHelper::setDefault($_params); if (count($items)){ if ((int)$this->params->get('usecss', 1)){ $css_url = JURI::root() . 'plugins/content/relatednews/assets/css/relatednews.css'; $document = &JFactory::getDocument(); $document->addStyleSheet($css_url); } if ($this->params->get('title')){ echo '<h3 class="related-title">'; echo $this->params->get('title'); echo '</h3>'; } echo '<ul class="related-items row-fluid">'; foreach ($items as $id => $item) { if($item->id != $article_id){?> <li class="span6 clearfix<?php if($id%2==0) echo ' first';?>"> <?php if ((int)$this->params->get('item_image_display', 1)){ ?> <div class="img-fulltext pull-left"> <a href="<?php echo $item->link; ?>" <?php echo BaseHelperRelated::parseTarget($_params->get('item_link_target'));?> > <?php $img = BaseHelperRelated::getArticleImage($item, $_params); echo BaseHelperRelated::imageTag($img);?> </a> </div> <?php }?> <?php if ((int)$_params->get('item_date_display', 1) == 1): ?> <span class="related-item-date"><?php echo JHtml::date($item->created, 'Y-m-d'); ?></span> <?php endif; ?> <h3 class="related-item-title"> <a href="<?php echo $item->link; ?>" <?php echo BaseHelperRelated::parseTarget($_params->get('item_link_target'));?> > <?php echo $item->title;; ?> </a> </h3> <?php if ((int)$_params->get('item_date_display', 1) == 2): ?> <span class="related-item-date"><?php echo JHtml::date($item->created, 'Y-m-d'); ?></span> <?php endif; ?> </li> <?php }} echo '</ul>'; } ?>