%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.248 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 : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/modules/mod_jw_srfr/ |
Upload File : |
<?php /** * @version 3.9.0 * @package Simple RSS Feed Reader (module) * @author JoomlaWorks - https://www.joomlaworks.net * @copyright Copyright (c) 2006 - 2021 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL license: https://www.gnu.org/copyleft/gpl.html */ // no direct access defined('_JEXEC') or die('Restricted access'); // JoomlaWorks reference parameters $mod_name = "mod_jw_srfr"; $mod_copyrights_start = "\n\n<!-- JoomlaWorks \"Simple RSS Feed Reader\" Module (v3.9.0) starts here -->\n"; $mod_copyrights_end = "\n<!-- JoomlaWorks \"Simple RSS Feed Reader\" Module (v3.9.0) ends here -->\n\n"; // Conventions if (!defined('DS')) { define('DS', DIRECTORY_SEPARATOR); } // API $app = JFactory::getApplication(); $document = JFactory::getDocument(); $user = JFactory::getUser(); $aid = $user->get('aid'); // Assign paths $sitePath = JPATH_SITE; $siteUrl = JURI::root(true); // Module parameters $moduleclass_sfx = $params->get('moduleclass_sfx', ''); $mod_template = $params->get('template', 'default'); $srfrFeeds = $params->get('srfrFeeds'); $srfrFeedsArray = explode("\n", $srfrFeeds); $perFeedItems = $params->get('perFeedItems', 5); $totalFeedItems = $params->get('totalFeedItems', 10); $feedTimeout = $params->get('feedTimeout', 5); $feedTitle = $params->get('feedTitle', 1); $feedItemTitle = $params->get('feedItemTitle', 1); $feedItemDate = $params->get('feedItemDate', 1); $feedItemDateFormat = $params->get('feedItemDateFormat', '%b %e, %Y | %H:%M %P'); $feedItemDescription = $params->get('feedItemDescription', 1); $feedItemDescriptionWordlimit = $params->get('feedItemDescriptionWordlimit', 40); $feedItemImageHandling = $params->get('feedItemImageHandling', 2); $feedItemImageResizeWidth = $params->get('feedItemImageResizeWidth', 200); $feedItemReadMore = $params->get('feedItemReadMore', 1); $feedsBlockPreText = $params->get('feedsBlockPreText'); $feedsBlockPostText = $params->get('feedsBlockPostText'); $feedsBlockPostLink = $params->get('feedsBlockPostLink'); $feedsBlockPostLinkURL = $params->get('feedsBlockPostLinkURL'); $feedsBlockPostLinkTitle = $params->get('feedsBlockPostLinkTitle'); $srfrCacheTime = $params->get('srfrCacheTime', 30) * 60; $cacheLocation = 'cache'.DS.$mod_name; // Includes require_once(dirname(__FILE__).DS.'helper.php'); // Fetch content $srfr = new SimpleRssFeedReaderHelper; $output = $srfr->getFeeds($srfrFeedsArray, $totalFeedItems, $perFeedItems, $feedTimeout, $feedItemDateFormat, $feedItemDescriptionWordlimit, $cacheLocation, $srfrCacheTime, $feedItemImageHandling, $feedItemImageResizeWidth); // Output content with template echo $mod_copyrights_start; require(JModuleHelper::getLayoutPath($mod_name, $mod_template.DS.'default')); echo $mod_copyrights_end; // END