| Current Path : /home/bijouxly/www/templates/bijouxlyv201611/includes/ |
| Current File : /home/bijouxly/www/templates/bijouxlyv201611/includes/pagination_list_render_5.php |
<?php
function pagination_list_render_5($list)
{
if (is_string($list)) return $list;
// Initialise variables.
$lang = JFactory::getLanguage();
ob_start();
?>
<ul class=" bd-pagination pagination">
<?php if ($list['start']['active']) : ?>
<li class=" bd-paginationitem-1">
<?php echo preg_replace("/class=(\"|\').*?(\"|\')/", "", $list['start']['data']); ?>
</li>
<?php endif; ?>
<?php if ($list['previous']['active']) : ?>
<li class=" bd-paginationitem-1">
<?php echo preg_replace("/class=(\"|\').*?(\"|\')/", "", $list['previous']['data']); ?>
</li>
<?php endif; ?>
<?php foreach($list['pages'] as $page) : ?>
<?php if (!$page['active']) : ?>
<li class="active bd-paginationitem-1">
<?php else : ?>
<li class=" bd-paginationitem-1">
<?php endif; ?>
<?php echo preg_replace("/class=(\"|\').*?(\"|\')/", "", $page['data']); ?>
</li>
<?php endforeach; ?>
<?php if ($list['next']['active']) : ?>
<li class=" bd-paginationitem-1">
<?php echo preg_replace("/class=(\"|\').*?(\"|\')/", "", $list['next']['data']); ?>
</li>
<?php endif; ?>
<?php if ($list['end']['active']) : ?>
<li class=" bd-paginationitem-1">
<?php echo preg_replace("/class=(\"|\').*?(\"|\')/", "", $list['end']['data']); ?>
</li>
<?php endif; ?>
</ul>
<?php
return ob_get_clean();
}