PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /home/jairosvt/public_html/afmediosc/modules/mod_janews_fp/tmpl/telineiii/ |
| 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_janews_fp/tmpl/telineiii/blog.php |
<?php
/*
# ------------------------------------------------------------------------
# JA News Frontpage module for Joomla 1.5
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/
defined('_JEXEC') or die('Restricted access');
/* This template for headline (frontpage): first news with big image and next news with smaller images*/
$showhlreadmore = intval (trim( $helper->get( 'showhlreadmore', 0 ) ));
$bigitems = intval (trim( $helper->get( 'bigitems', 1) ));
$bigmaxchar = $helper->get ( 'bigmaxchars', 200 );
$bigshowimage = $helper->get ( 'bigshowimage', 1 );
$smallmaxchar = $helper->get ( 'smallmaxchars', 100 );
$smallshowimage = $helper->get ( 'smallshowimage', 1 );
$i = 0;
?>
<div id="jazin-hlwrap-<?php echo $module->id?>" class="<?php echo $theme?>">
<div id="ja-zinfp-<?php echo $module->id?>" class="clearfix">
<div class="ja-zinfp-featured column clearfix">
<?php foreach ($rows as $news) :
$pos = ($i==0 || $i==$bigitems)?'first':(($i==count($rows)-1 || $i==$bigitems-1)?'last':'');
if($i<$bigitems) : //First new?>
<div class="ja-zincontent inner clearfix <?php echo $pos;?>">
<?php if($bigshowimage) echo $news->bigimage?>
<h4 class="ja-zintitle">
<a href="<?php echo $news->link;?>" title="<?php echo strip_tags($news->title); ?>">
<?php echo $news->title;?>
</a>
</h4>
<?php echo $bigmaxchar > strlen($news->bigintrotext)?$news->introtext:$news->bigintrotext?>
<?php if ($showhlreadmore) {?>
<a href="<?php echo $news->link?>" class="readon" title="<?php echo JText::_('READ MORE...');?>"><span><?php echo JText::_('READ MORE...');?></span></a>
<?php } ?>
</div>
<?php if($i==$bigitems-1):?>
</div>
<div class="ja-zinfp-normal column clearfix">
<?php endif;?>
<?php else: ?>
<div class="ja-zincontent inner clearfix <?php echo $pos;?>">
<?php if($smallshowimage) echo $news->smallimage?>
<h4 class="jazin-title">
<a href="<?php echo $news->link;?>" title="<?php echo strip_tags($news->title); ?>">
<?php echo $news->title;?>
</a>
</h4>
<?php echo $smallmaxchar > strlen($news->smallintrotext)?$news->introtext:$news->smallintrotext?>
</div>
<?php
endif;
++$i;
endforeach;?>
</div>
</div>
</div>
<script type="text/javascript">
/* <![CDATA[ */
var news = $$('.ja-zinfp-normal .ja-zincontent');
if (news && news.length > 1) {
news.addClass('inactive');
news[0].addClass('active').removeClass('inactive');
news.addEvent('mouseover', function(){
$$('.ja-zinfp-normal .active').addClass('inactive').removeClass('active');
this.addClass('active').removeClass('inactive');
});
}
/* ]]> */
</script>