Your IP : 216.73.216.240
<?php
/*---------------------------------------------------------------
# Package - Joomla Template based on Helix Framework
# ---------------------------------------------------------------
# Author - JoomShaper http://www.joomshaper.com
# Copyright (C) 2010 - 2012 JoomShaper.com. All Rights Reserved.
# license - PHP files are licensed under GNU/GPL V2
# license - CSS - JS - IMAGE files are Copyrighted material
# Websites: http://www.joomshaper.com
-----------------------------------------------------------------*/
//no direct accees
defined ('_JEXEC') or die ('resticted aceess');
function pagination_list_render($list) {
// Initialize variables
$html = '<ul>';
if ($list['start']['active']==1) $html .= $list['start']['data'];
if ($list['previous']['active']==1) $html .= $list['previous']['data'];
foreach ($list['pages'] as $page) {
$html .= $page['data'];
}
if ($list['next']['active']==1) $html .= $list['next']['data'];
if ($list['end']['active']==1) $html .= $list['end']['data'];
$html .= "</ul>";
return $html;
}
function pagination_item_active(&$item) {
$cls = '';
if ($item->text == JText::_('Next')) { $item->text = '»'; $cls = "next";}
if ($item->text == JText::_('Prev')) { $item->text = '«'; $cls = "previous";}
if ($item->text == JText::_('First')) { $cls = "first";}
if ($item->text == JText::_('Last')) { $cls = "last";}
return "<li><a class=\"".$cls."\" href=\"".$item->link."\" title=\"".$item->text."\">".$item->text."</a></li>";
}
function pagination_item_inactive(&$item) {
return "<li class=\"pagination-active\"><a>".$item->text."</a></li>";
}
?>