예제 #1
0
        } else {
            ?>
    <table>
    <?php 
        }
        ?>
    <?php 
        //endif;
        ?>
	<?php 
    } else {
        ?>
 
	 <?php 
        $link = JRoute::_(ContentHelperRoute::getArticleRoute($news->slug, $news->catslug, $news->sectionid));
        $image = modJANewsHelper::replaceImage($news, $imgalign, 1, $smallmaxchar, $smallshowimage, $smallimg_w, $smallimg_h, $hiddenClasses);
        //Next news
        ?>
    <?php 
        if ($params->get('display_type') == 'list') {
            ?>
    <li><span onmouseover="showttip( '<?php 
            echo $bigmaxchar ? strip_tags($news->introtext1) : strip_tags($news->introtext);
            ?>
');" onmouseout="hidettip();">
    <strong><a href="<?php 
            echo $link;
            ?>
" title="<?php 
            echo strip_tags($news->title);
            ?>
예제 #2
0
		});
		window.addEvent('domready', function() {
			jaNewsHL.start();
		});
	</script>

<?php 
}
$pauseplay = $autoroll ? 'Pause' : 'Play';
?>

<div id="ja-newshlcache" style="display: none">
<?php 
foreach ($rows as $news) {
    $link = JRoute::_(ContentHelperRoute::getArticleRoute($news->slug, $news->catslug, $news->sectionid));
    $image = modJANewsHelper::replaceImage($news, $imgalign, 1, $bigmaxchar, 1, $bigimg_w, $bigimg_h, $hiddenClasses);
    ?>
	<div>
	<div class="ja-newscontent">
	
	<?php 
    echo $image;
    ?>
	<?php 
    if ($showhltitle) {
        ?>
	<h4 class="jazin-title"><a href="<?php 
        echo $link;
        ?>
" class="ja-newstitle" title="<?php 
        echo strip_tags($news->title);