PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /home/jairosvt/public_html/afmedios/modules/mod_janews_featured/ |
| Server: Linux server2.noticiasdecolima.com 4.18.0-553.30.1.el8_10.x86_64 #1 SMP Tue Nov 26 02:30:26 EST 2024 x86_64 IP: 107.161.180.42 |
| Dir : /home/jairosvt/public_html/afmedios/modules/mod_janews_featured/mod_janews_featured.php |
<?php
/**
* ------------------------------------------------------------------------
* JA News Featured module for Joomla 1.7
* ------------------------------------------------------------------------
* Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
* @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
* Author: J.O.O.M Solutions Co., Ltd
* Websites: http://www.joomlart.com - http://www.joomlancers.com
* ------------------------------------------------------------------------
*/
// no direct access
defined ( '_JEXEC' ) or die ( 'Restricted access' );
require_once (dirname ( __FILE__ ) . DS . 'helpers'. DS . 'helper.php');
require_once JPATH_SITE.'/components/com_content/helpers/route.php';
JModel::addIncludePath(JPATH_SITE.'/components/com_content/models');
$files = JFolder::files(dirname ( __FILE__ ) . DS . 'helpers'. DS.'adapter');
if($files){
foreach ($files as $file){
require_once (dirname ( __FILE__ ) . DS . 'helpers'. DS. 'adapter' . DS . $file);
}
}
$mainframe = JFactory::getApplication();
$helper = new modJaNewsFrontpageHelper ( $module, $params );
$theme = $helper->get('themes', 'default');
if (JRequest::getBool ('janews_fp_ajax')) {
if(JRequest::getInt('moduleid')!=$module->id) return;
$count = JRequest::getInt('count', 1);
if(!$count) $count = 1;
$limitstart = (int)$helper->get('more_article', 5)*$count + ((int)$helper->get('numberofheadlinenews', 10)-(int)$helper->get('more_article', 5));
$helper->set('limitstart', $limitstart);
$helper->set('limit', (int)$helper->get('more_article', 6));
$helper->_load ($params);
$flagMore = -1;
}
$helper->_load ($params);
$rows = $helper->articles;
if (!defined ('_MODE_JAMODNEWSFP_ASSETS_')) {
define ('_MODE_JAMODNEWSFP_ASSETS_', 1);
JHTML::stylesheet('modules/'.$module->module.'/assets/css/style.css');
if (is_file(JPATH_SITE.DS.'templates'.DS.$mainframe->getTemplate().DS.'css'.DS.$module->module.".css"))
JHTML::stylesheet('templates/'.$mainframe->getTemplate().'/css/'.$module->module.".css");
$javersion = new JVersion();
if($javersion->RELEASE=='1.7'){
JHtml::_('behavior.framework', true);
}
else{
JHTML::_('behavior.mootools');
}
JHTML::_('behavior.tooltip');
JHTML::script('modules/'.$module->module.'/assets/js/script.js');
}
if (!defined ('_MODE_JAMODNEWSFP_ASSETS_'.$theme)) {
define ('_MODE_JAMODNEWSFP_ASSETS_'.$theme, 1);
if (is_file(JPATH_SITE.DS.'modules'.DS.$module->module.DS.'tmpl'.DS.$theme.DS."style.css"))
JHTML::stylesheet('modules/'.$module->module.'/tmpl/'.$theme.'/style.css');
if (is_file(JPATH_SITE.DS.'templates'.DS.$mainframe->getTemplate().DS.'html'.DS.$module->module.DS.$theme.DS."style.css"))
JHTML::stylesheet('templates/'.$mainframe->getTemplate().'/html/'.$module->module.'/'.$theme.'/style.css');
$javersion = new JVersion();
if($javersion->RELEASE=='1.7'){
JHtml::_('behavior.framework', true);
}
else{
JHTML::_('behavior.mootools');
}
JHTML::_('behavior.tooltip');
JHTML::script('modules/'.$module->module.'/assets/js/script.js');
}
if (JRequest::getBool ('janews_fp_ajax')) {
$path = JModuleHelper::getLayoutPath ( $module->module, $theme.'/blog_links' );
ob_clean();
require ($path);
exit;
}
else{
$path = JModuleHelper::getLayoutPath ( $module->module, $theme.'/blog' );
if (file_exists ( $path )) {
require ($path);
}
}
?>