Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/app/webroot/news/modules/mod_jw_srfr/tmpl/default/ |
Upload File : |
<?php /** * @version 2.3 * @package Simple RSS Feed Reader (module) * @author JoomlaWorks - http://www.joomlaworks.gr * @copyright Copyright (c) 2006 - 2011 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html */ // no direct access defined('_JEXEC') or die('Restricted access'); /* Here we call the stylesheet style.css from a folder called 'css' and located at the same directory with this template file. If Joomla!'s cache is turned on, we print out the CSS include within a script tag so we're valid and the styling is included properly (it's how Joomla! works unfortunately). */ $filePath = substr(JURI::base(), 0, -1).str_replace(JPATH_SITE,'',dirname(__FILE__)); ?> <?php if($mainframe->getCfg('caching')): ?> <script type="text/javascript"> //<![CDATA[ document.write('\ <style type="text/css" media="all">\ @import "<?php echo $filePath; ?>/css/style.css";\ </style>\ '); //]]> </script> <?php else: ?> <?php $document->addStyleSheet($filePath.'/css/style.css'); ?> <?php endif; ?> <div class="srfrContainer <?php echo $moduleclass_sfx; ?>"> <?php if($feedsBlockPreText): ?> <p class="srfrPreText"><?php echo $feedsBlockPreText; ?></p> <?php endif; ?> <ul class="srfrList"> <?php foreach($output as $key=>$feed): ?> <li class="srfrRow<?php echo $key%2; ?>"> <?php if($feedItemTitle): ?> <h3><a target="_blank" href="<?php echo $feed->itemLink; ?>"><?php echo $feed->itemTitle; ?></a></h3> <?php endif; ?> <?php if($feedTitle): ?> <span class="srfrFeedSource"<?php if($feedFavicon && $feed->feedFavicon) echo ' style="display:block;padding:2px 0 2px 20px;background:url('.$feed->feedFavicon.') no-repeat 0 50%;"'; ?>> <a target="_blank" href="<?php echo $feed->siteURL; ?>"><?php echo $feed->feedTitle; ?></a> </span> <?php endif; ?> <?php if($feedItemDate): ?> <span class="srfrFeedItemDate"><?php echo $feed->itemDate; ?></span> <?php endif; ?> <?php if($feedItemDescription || $feed->feedImageSrc): ?> <p> <?php if($feed->feedImageSrc): ?> <a target="_blank" href="<?php echo $feed->itemLink; ?>"> <img class="srfrImage" src="<?php echo $feed->feedImageSrc; ?>" alt="<?php echo $feed->itemTitle; ?>" /> </a> <?php endif; ?> <?php if($feedItemDescription): ?> <?php echo $feed->itemDescription; ?> <?php endif; ?> </p> <?php endif; ?> <?php if($feedItemReadMore): ?> <span class="srfrReadMore"> <a target="_blank" href="<?php echo $feed->itemLink; ?>"><?php echo JText::_('MOD_JW_SRFR_READ_MORE'); ?></a> </span> <?php endif; ?> <span class="clr"></span> </li> <?php endforeach; ?> </ul> <?php if($feedsBlockPostText): ?> <p class="srfrPostText"><?php echo $feedsBlockPostText; ?></p> <?php endif; ?> <?php if($feedsBlockPostLink): ?> <p class="srfrPostTextLink"><a href="<?php echo $feedsBlockPostLinkURL; ?>"><?php echo $feedsBlockPostLinkTitle; ?></a></p> <?php endif; ?> </div> <div class="clr"></div>