Exemple #1
0
    } else {
        $stamp->items = $this->data->items;
        require $tpl_list;
    }
    // List Bottom
    echo '<div>';
    if (file_exists($tpl_events)) {
        // AddThis buttons
        if ($this->atlist && isset($item->share)) {
            echo '<div class="share">' . $item->share . '</div><div style="clear:both"></div>';
        }
    }
    // List Bottom - Navigation & pagination
    if ($this->navposition == '1' || $this->navposition == '2') {
        //			echo iCModeliChelper::pagination($count_all, $getpage, $this->arrowtext, $number_per_page, $this->pagination);
        echo iCModeliChelper::pagination($count_all, $this->arrowtext, $number_per_page, $this->pagination);
    }
    echo '</div>';
    echo '<div style="clear:both">&nbsp;</div>';
}
$this->dispatcher->trigger('onListAfterDisplay', array('com_icagenda.list', &$this->data->items, &$this->params));
?>
	</form>
</div>

<?php 
// Theme pack component css
$document->addStyleSheet(JURI::base(true) . $css_component);
// RTL css if site language is RTL
$lang = JFactory::getLanguage();
if ($lang->isRTL() && file_exists(JPATH_SITE . $css_com_rtl)) {
         echo '<div class="cat_header_title ' . $cat_getinfos['3'] . '" style="background: ' . $cat_getinfos['1'] . ';">' . $cat_getinfos['0'] . '</div>';
     }
     if (in_array('2', $cat_opts)) {
         echo '<div class="cat_header_desc">' . $cat_getinfos['2'] . '</div>';
     }
     if (in_array('2', $cat_opts)) {
         echo '<div style="clear:both"></div>';
     }
 }
 //		if (!in_array('2', $cat_opts)) {	echo '<div>&nbsp;</div>'; }
 if ($navposition == '0' or $navposition == '2') {
     if ($datesDisplay == '1' and file_exists($tpl_events)) {
         if ($display_catDesc) {
             echo '<div style="clear:both"></div><br />';
             if ($all_dates / $number_per_page > 1) {
                 echo $iCModeliChelper->pagination($all_dates, $getpage, $arrowtext, $number_per_page, $pagination);
             }
         } else {
             if ($all_dates / $number_per_page > 1) {
                 echo $iCModeliChelper->pagination($all_dates, $getpage, $arrowtext, $number_per_page, $pagination);
             }
         }
     } else {
         $ic_nav = $iCModeliChelper->pagination($allevents_total, $getpage, $arrowtext, $number_per_page, $pagination);
         if ($display_catDesc) {
             echo '<div style="clear:both"></div><br />';
             if ($allevents_total / $number_per_page > 1) {
                 echo $ic_nav;
             }
         } else {
             if ($allevents_total / $number_per_page > 1) {