File manager - Edit - /home/opticamezl/www/newok/tmpl.zip
Back
PK |$�\�V� index.htmlnu &1i� <!DOCTYPE html><title></title> PK |$�\ܽ�q2 2 default.phpnu �[��� <?php /** * @package Joomla.Administrator * @subpackage mod_feed * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Filter\OutputFilter; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; // Check if feed URL has been set if (empty($rssurl)) { echo '<div>' . Text::_('MOD_FEED_ERR_NO_URL') . '</div>'; return; } if (!empty($feed) && is_string($feed)) { echo $feed; } else { $lang = $app->getLanguage(); $myrtl = $params->get('rssrtl', 0); $direction = ' '; if ($lang->isRtl() && $myrtl == 0) { $direction = ' redirect-rtl'; } elseif ($lang->isRtl() && $myrtl == 1) { // Feed description $direction = ' redirect-ltr'; } elseif ($lang->isRtl() && $myrtl == 2) { $direction = ' redirect-rtl'; } elseif ($myrtl == 0) { $direction = ' redirect-ltr'; } elseif ($myrtl == 1) { $direction = ' redirect-ltr'; } elseif ($myrtl == 2) { $direction = ' redirect-rtl'; } if ($feed != false) : ?> <div style="direction: <?php echo $rssrtl ? 'rtl' : 'ltr'; ?>; text-align: <?php echo $rssrtl ? 'right' : 'left'; ?> !important" class="feed"> <?php // Feed title if (!is_null($feed->title) && $params->get('rsstitle', 1)) : ?> <h2 class="<?php echo $direction; ?>"> <a href="<?php echo str_replace('&', '&', $rssurl); ?>" target="_blank"> <?php echo $feed->title; ?></a> </h2> <?php endif; // Feed date if ($params->get('rssdate', 1) && ($feed->publishedDate !== null)) : ?> <h3> <?php echo HTMLHelper::_('date', $feed->publishedDate, Text::_('DATE_FORMAT_LC3')); ?> </h3> <?php endif; ?> <?php // Feed description ?> <?php if ($params->get('rssdesc', 1)) : ?> <?php echo $feed->description; ?> <?php endif; ?> <?php // Feed image ?> <?php if ($params->get('rssimage', 1) && $feed->image) : ?> <img class="w-100" src="<?php echo $feed->image->uri; ?>" alt="<?php echo $feed->image->title; ?>"/> <?php endif; ?> <?php // Show items ?> <?php if (!empty($feed)) : ?> <ul class="newsfeed list-group"> <?php for ($i = 0; $i < $params->get('rssitems', 3); $i++) : if (!$feed->offsetExists($i)) : break; endif; $uri = $feed[$i]->uri || !$feed[$i]->isPermaLink ? trim($feed[$i]->uri) : trim($feed[$i]->guid); $uri = !$uri || stripos($uri, 'http') !== 0 ? $rssurl : $uri; $text = $feed[$i]->content !== '' ? trim($feed[$i]->content) : ''; ?> <li class="list-group-item mb-2"> <?php if (!empty($uri)) : ?> <h5 class="feed-link"> <a href="<?php echo $uri; ?>" target="_blank"> <?php echo trim($feed[$i]->title); ?></a></h5> <?php else : ?> <h5 class="feed-link"><?php echo trim($feed[$i]->title); ?></h5> <?php endif; ?> <?php if ($params->get('rssitemdate', 0) && $feed[$i]->publishedDate !== null) : ?> <div class="feed-item-date"> <?php echo HTMLHelper::_('date', $feed[$i]->publishedDate, Text::_('DATE_FORMAT_LC3')); ?> </div> <?php endif; ?> <?php if ($params->get('rssitemdesc', 1) && $text !== '') : ?> <div class="feed-item-description"> <?php // Strip the images. $text = OutputFilter::stripImages($text); $text = HTMLHelper::_('string.truncate', $text, $params->get('word_count', 0), true, false); echo str_replace(''', "'", $text); ?> </div> <?php endif; ?> </li> <?php endfor; ?> </ul> <?php endif; ?> </div> <?php endif; } PK ���\N|G� � default_items.phpnu &1i� <?php /** * @package OSMap * @copyright 2007-2014 XMap - Joomla! Vargas. All rights reserved. * @copyright 2016 Open Source Training, LLC. All rights reserved.. * @author Guillermo Vargas <guille@vargas.co.cr> * @author Alledia <support@alledia.com> * @license GNU General Public License version 2 or later; see LICENSE.txt * * This file is part of OSMap. * * OSMap is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * any later version. * * OSMap is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with OSMap. If not, see <http://www.gnu.org/licenses/>. */ // no direct access defined('_JEXEC') or die('Restricted access'); // Create shortcut to parameters. $params = $this->state->get('params'); // Use the class defined in default_class.php to print the sitemap $this->displayer->printSitemap(); PK τ�\%-��@ @ horizontal.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage mod_articles_news * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Helper\ModuleHelper; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $app->getDocument()->getWebAssetManager(); $wa->registerAndUseStyle('mod_articles_news_horizontal', 'mod_articles_news/template.css'); if (empty($list)) { return; } ?> <ul class="mod-articlesnews-horizontal newsflash-horiz mod-list"> <?php foreach ($list as $item) : ?> <li itemscope itemtype="https://schema.org/Article"> <?php require ModuleHelper::getLayoutPath('mod_articles_news', '_item'); ?> </li> <?php endforeach; ?> </ul> PK τ�\i��z( ( _item.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage mod_articles_news * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Layout\LayoutHelper; ?> <?php if ($params->get('item_title')) : ?> <?php $item_heading = $params->get('item_heading', 'h4'); ?> <<?php echo $item_heading; ?> class="newsflash-title"> <?php if ($item->link !== '' && $params->get('link_titles')) : ?> <a href="<?php echo $item->link; ?>"> <?php echo $item->title; ?> </a> <?php else : ?> <?php echo $item->title; ?> <?php endif; ?> </<?php echo $item_heading; ?>> <?php endif; ?> <?php if ($params->get('img_intro_full') !== 'none' && !empty($item->imageSrc)) : ?> <figure class="newsflash-image"> <?php echo LayoutHelper::render( 'joomla.html.image', [ 'src' => $item->imageSrc, 'alt' => $item->imageAlt, ] ); ?> <?php if (!empty($item->imageCaption)) : ?> <figcaption> <?php echo $item->imageCaption; ?> </figcaption> <?php endif; ?> </figure> <?php endif; ?> <?php if (!$params->get('intro_only')) : ?> <?php echo $item->afterDisplayTitle; ?> <?php endif; ?> <?php echo $item->beforeDisplayContent; ?> <?php if ($params->get('show_introtext', 1)) : ?> <?php echo $item->introtext; ?> <?php endif; ?> <?php echo $item->afterDisplayContent; ?> <?php if (isset($item->link) && $item->readmore != 0 && $params->get('readmore')) : ?> <?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $item, 'params' => $item->params, 'link' => $item->link]); ?> <?php endif; ?> PK τ�\+��B= = vertical.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage mod_articles_news * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Helper\ModuleHelper; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $app->getDocument()->getWebAssetManager(); $wa->registerAndUseStyle('mod_articles_news_vertical', 'mod_articles_news/template-vert.css'); if (!$list) { return; } ?> <ul class="mod-articlesnews-vertical newsflash-vert mod-list"> <?php for ($i = 0, $n = count($list); $i < $n; $i++) : ?> <?php $item = $list[$i]; ?> <li class="newsflash-item" itemscope itemtype="https://schema.org/Article"> <?php require ModuleHelper::getLayoutPath('mod_articles_news', '_item'); ?> <?php if ($n > 1 && (($i < $n - 1) || $params->get('showLastSeparator'))) : ?> <span class="article-separator"> </span> <?php endif; ?> </li> <?php endfor; ?> </ul> PK ���\��K� � static.phpnu &1i� <?php /*------------------------------------------------------------------------ # mod_globalnews - Global News Module # ------------------------------------------------------------------------ # author Joomla!Vargas # copyright Copyright (C) 2010 joomla.vargas.co.cr. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://joomla.vargas.co.cr # Technical Support: Forum - http://joomla.vargas.co.cr/forum -------------------------------------------------------------------------*/ // no direct access defined('_JEXEC') or die; foreach ($list as $item) : ?> <div class="gn_static gn_static_<?php echo $globalnews_id; ?>"> <?php echo $item->content; ?> </div> <?php endforeach; ?> <?php if ( $more == 1 && $group->link ) : ?> <div> <?php echo JHTML::_('link', $group->link, JText::_('More Articles...'), array('class'=>'readon') ); ?> </div> <?php endif;PK ���\�j R� � list.phpnu &1i� <?php /*------------------------------------------------------------------------ # mod_globalnews - Global News Module # ------------------------------------------------------------------------ # author Joomla!Vargas # copyright Copyright (C) 2010 joomla.vargas.co.cr. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://joomla.vargas.co.cr # Technical Support: Forum - http://joomla.vargas.co.cr/forum -------------------------------------------------------------------------*/ // no direct access defined('_JEXEC') or die; ?> <div class="gn_list gn_list_<?php echo $globalnews_id; ?>"> <ul> <?php foreach ($list as $item) : ?> <li> <?php echo $item->title; ?> </li> <?php endforeach; ?> </ul> <?php if ( $more == 1 && $group->link ) : ?> <div> <?php echo JHTML::_('link', $group->link, JText::_('More Articles...'), array('class'=>'readon') ); ?> </div> <?php endif; ?> </div> PK ���\Z��B B browser.phpnu &1i� <?php /*------------------------------------------------------------------------ # mod_globalnews - Global News Module # ------------------------------------------------------------------------ # author Joomla!Vargas # copyright Copyright (C) 2010 joomla.vargas.co.cr. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://joomla.vargas.co.cr # Technical Support: Forum - http://joomla.vargas.co.cr/forum -------------------------------------------------------------------------*/ // no direct access defined('_JEXEC') or die; $doc = JFactory::getDocument(); $doc->addScript('modules/mod_globalnews/scripts/browser.js'); ?> <div class="gn_browser" id="gn_container_<?php echo $globalnews_id.'_'.$j; ?>"> <div class="gn_marquee" id="gn_marquee_<?php echo $globalnews_id.'_'.$j; ?>" style="position: absolute;"> <?php foreach ($list as $item) : ?> <div class="gn_news"> <?php echo $item->content; ?> <div class="gn_clear"></div> </div> <?php endforeach; ?> </div> </div> <?php if ( $more == 1 && $group->link ) : ?> <div> <?php echo JHTML::_('link', $group->link, JText::_('More Articles...'), array('class'=>'readon') ); ?> </div> <?php endif; ?> <script type="text/javascript" language="javascript"> <!-- var GN_Browser_<?php echo $globalnews_id.'_'.$j; ?> = new GN_Browser("gn_marquee_<?php echo $globalnews_id.'_'.$j; ?>","gn_container_<?php echo $globalnews_id.'_'.$j; ?>","GN_Browser_<?php echo $globalnews_id.'_'.$j; ?>",<?php echo $params->get('delay', 3000) ?>); --> </script> PK ���\a�չ scroller.phpnu &1i� <?php /*------------------------------------------------------------------------ # mod_globalnews - Global News Module # ------------------------------------------------------------------------ # author Joomla!Vargas # copyright Copyright (C) 2010 joomla.vargas.co.cr. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://joomla.vargas.co.cr # Technical Support: Forum - http://joomla.vargas.co.cr/forum -------------------------------------------------------------------------*/ // no direct access defined('_JEXEC') or die; $doc = JFactory::getDocument(); $doc->addScript('modules/mod_globalnews/scripts/scroller.js'); ?> <script type="text/javascript" language="javascript"> <!-- var GN_Pausecontent_<?php echo $globalnews_id.'_'.$j; ?>=new Array(); <?php $k=0; foreach ($list as $item) : ${'content'.$k} = $item->content; ${'content'.$k} = preg_replace( "/[\n\t\r]+/",' ',${'content'.$k} ); ${'content'.$k} = str_replace( "'", "\\'",${'content'.$k} ); ?> GN_Pausecontent_<?php echo $globalnews_id.'_'.$j; ?>[<?php echo $k; ?>]='<?php echo ${'content'.$k}; ?>'; <?php $k++; endforeach; ?> new GN_Pausescroller(GN_Pausecontent_<?php echo $globalnews_id.'_'.$j; ?>, "gn_scroller_<?php echo $globalnews_id.'_'.$j; ?>", "", <?php echo $params->get('delay', 3000) ?>); --> </script> <?php if ( $more == 1 && $group->link ) : ?> <div> <?php echo JHTML::_('link', $group->link, JText::_('More Articles...'), array('class'=>'readon') ); ?> </div> <?php endif;PK ���\�G� � slider.phpnu &1i� <?php /*------------------------------------------------------------------------ # mod_globalnews - Global News Module # ------------------------------------------------------------------------ # author Joomla!Vargas # copyright Copyright (C) 2010 joomla.vargas.co.cr. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://joomla.vargas.co.cr # Technical Support: Forum - http://joomla.vargas.co.cr/forum -------------------------------------------------------------------------*/ // no direct access defined('_JEXEC') or die; $linkMore = ''; $linkNext = ''; if ( $more == 1 && $group->link ) { $linkMore = '<a href=\"'.$group->link.'\">'.JText::_('More Articles...').'</a>'; } if ( $params->get( 'next', 1 ) == 1 ) { $linkNext = JText::_('Next'); } ?> <div id="gn_slider_<?php echo $globalnews_id.'_'.$j; ?>" class="gn_slider gn_slider_<?php echo $globalnews_id; ?>"> <div class="gn_opacitylayer"> <?php foreach ($list as $item) : ?> <div class="gn_news"> <?php echo $item->content; ?> </div> <?php endforeach; ?> </div> </div> <div class="gn_pagination gn_pagination_<?php echo $globalnews_id; ?>" id="paginate-gn_slider_<?php echo $globalnews_id.'_'.$j; ?>"></div> <?php $doc = JFactory::getDocument(); if (!defined('_MOD_VARGAS_ONLOAD')) { define ('_MOD_VARGAS_ONLOAD',1); $doc->addScriptDeclaration("function addLoadEvent(func){if(typeof window.addEvent=='function'){window.addEvent('load',function(){func()});}else if(typeof window.onload!='function'){window.onload=func;}else{var oldonload=window.onload;window.onload=function(){if(oldonload){oldonload();}func();}}}"); } $doc->addScript('modules/mod_globalnews/scripts/slider.js'); $doc->addScriptDeclaration("addLoadEvent(function(){GN_ContentSlider('gn_slider_".$globalnews_id."_".$j."',".$params->get('delay',3000).",'".$linkNext."','".$linkMore."');});"); ?>PK ���\�t�e �e lang/16a.pngnu &1i� �PNG IHDR � � �M� tEXtSoftware Adobe ImageReadyq�e<