PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /home/jairosvt/public_html/afmediosc/modules/mod_jabulletin/ |
| 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/afmediosc/modules/mod_jabulletin/mod_jabulletin.php |
<?php
/*
# ------------------------------------------------------------------------
# JA Bulletin module for Joomla 1.5
# ------------------------------------------------------------------------
# Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites: http://www.joomlart.com - http://www.joomlancers.com
# This file may not be redistributed in whole or significant part.
# ------------------------------------------------------------------------
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
if (!defined ('_MODE_JABULLETIN_ASSETS_')) {
define ('_MODE_JABULLETIN_ASSETS_', 1);
JHTML::stylesheet('style.css','modules/'.$module->module.'/assets/');
if (is_file(JPATH_SITE.DS.'templates'.DS.$mainframe->getTemplate().DS.'css'.DS.$module->module.".css"))
JHTML::stylesheet($module->module.".css",'templates/'.$mainframe->getTemplate().'/css/');
}
// Include the syndicate functions only once
require_once (dirname(__FILE__).DS.'helper.php');
require_once (dirname(__FILE__).DS.'jaimage.php');
$helper = new modJABulletin();
$useCustomText = $params->get("use_custom_text",0);
$customText = $params->get("custom_text","");
$showcreater = $params->get('show_author',0);
$showreadmore = $params->get('show_readmore',0);
// if enable caching data
$list = $helper->getList($params);
$app = & JFactory::getApplication();
$template_name = $app->getTemplate();
require(JModuleHelper::getLayoutPath('mod_jabulletin'));
?>
<script type="text/javascript">
var Ja_direction = '';
var cookie_path = '/';
var cur_template_name = '<?php echo $template_name; ?>';
window.addEvent('load', function(){
if(typeof(tmpl_name) =='undefined')
{
cookie_path = "<?php echo $template_name."_direction"; ?>";
}
else
{
cookie_path = tmpl_name+"_direction";
}
Ja_direction = Cookie.get(cookie_path);
if(!Ja_direction)
{
cookie_path = cookie_path.replace("_direction","_profile");
Ja_direction = Cookie.get(cookie_path);
}
var style_l_value = 'auto';
if(Ja_direction == 'rtl')
{
<?php
if (!defined ('_MODE_JABULLETIN_ASSETS_RTL')) {
define ('_MODE_JABULLETIN_ASSETS_RTL',1);
?>
setStyleLinkWithRTLDirection();
<?php
}
?>
// var ul_wrapper = $('Mod<?php echo $module->id;?>').getElement("ul.ja-bulletin");
// ul_wrapper.getElements("li img").each();
}
});
</script>
<script type="text/javascript" language="javascript">
function setStyleLinkWithRTLDirection()
{
var links = document.getElementsByTagName ('link');
<?php
$filename = "mod_jabuletin_rtl.css";
$tplpath = DS . 'templates' . DS . $mainframe->getTemplate () . DS . 'css' . DS;
$tplurl = '/templates/' . $mainframe->getTemplate () . '/css/';
$modurl = 'modules/'.$module->module.'/assets/';
$cssurl = $tplurl;
if (! file_exists ( JPATH_SITE . $tplpath . $filename )) {
$cssurl = $modurl;
}
$cssurl = JURI::base () . $cssurl;
?>
var script = document.createElement('link');
script.setAttribute('type', 'text/css');
script.setAttribute('rel', 'stylesheet');
script.setAttribute('href', '<?php
echo $cssurl . $filename;
?>');
document.getElementsByTagName("head")[0].appendChild(script);
}
</script>