HEX
Server: Apache
System: Linux webm002.cluster115.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: centralexf (54246)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/centralexf/www/modules/mod_janewsticker/mod_janewsticker.php
<?php 
/*
# ------------------------------------------------------------------------
# JA News Ticker module for Joomla 1.5
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license - PHP files are GNU/GPL V2. CSS / JS are Copyrighted Commercial,
# bound by Proprietary License of JoomlArt. For details on licensing, 
# Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html.
# Author: JoomlArt.com
# Websites:  http://www.joomlart.com -  http://www.joomlancers.com
# Redistribution, Modification or Re-licensing of this file in part of full, 
# is bound by the License applied. 
# ------------------------------------------------------------------------
*/

/**
 * JA News Sticker module allows display of article's title from sections or categories. \
 * You can configure the setttings in the right pane. Mutiple options for animations are also added, choose any one.
 * If you are using this module on Teline III template, * then the default module position is "headlines".
 **/
  // no direct access
defined('_JEXEC') or die('Restricted access');

require_once (dirname(__FILE__).DS.'jast_articles.php');
// Include the syndicate functions only once
require_once (dirname(__FILE__).DS.'helper.php');

if (!defined ('_MODE_JANEWSSTICKER_ASSETS_')) {
	define ('_MODE_JANEWSSTICKER_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/');
	
	JHTML::script('script.js','modules/'.$module->module.'/assets/');
}

$showLink  	  = $params->get( 'link_title' );
$userRSS      = $params->get( 'using_mode', 'categories' ) == 'rss' ? true : false;
$target       = $params->get( 'target' );
$separator    = $params->get( 'separator' );
$moduleHeight = $params->get( 'height', 28 );
$moduleID     = 'jalh-modid' . $module->id;
$titleMaxChars 		= (int) $params->get( 'title_max_chars', 60 );
$descMaxChars 		=  (int) $params->get( 'decription_max_chars', 60 );
$moduleBorder		= $params->get( 'border' );
$showDesc 			= $params->get( 'display_description' );
$animationType	 	= $params->get( 'animation_type', 'horizontal' ); 
$seperator 			= $params->get( 'separator' );  
$aClass = ($animationType == 'horizontal_stripe') ? 'class="ja-headlines-item"':'';
// load js and css file
// listing social apps
$list   = modJANewStickerHelper::getList( $params );
$total = count($list);
//render layout.
require(JModuleHelper::getLayoutPath( 'mod_janewsticker') );
require( dirname(__FILE__).DS.'tmpl'.DS.'jssetup.php' ); ?>