<?php

function pagination_list_render_1($list)
{
    // Initialise variables.
    $lang = JFactory::getLanguage();
?>
    <ul class="data-control-id-2918 bd-pagination-2 pagination">
    <?php if ($list['start']['active']) : ?>
        <li class="data-control-id-2917 bd-paginationitem-2">
        <?php echo preg_replace("/class=(\"|\').*?(\"|\')/", "", $list['start']['data']); ?>
        </li>
    <?php endif; ?>
    <?php if ($list['previous']['active']) : ?>
        <li class="data-control-id-2917 bd-paginationitem-2">
        <?php echo preg_replace("/class=(\"|\').*?(\"|\')/", "", $list['previous']['data']); ?>
        </li>
    <?php endif; ?>

    <?php foreach($list['pages'] as $page) : ?>
        <?php if (!$page['active']) : ?>
            <li class="active data-control-id-2917 bd-paginationitem-2">
        <?php else : ?>
            <li class="data-control-id-2917 bd-paginationitem-2">
        <?php endif; ?>
        <?php echo preg_replace("/class=(\"|\').*?(\"|\')/", "", $page['data']); ?>
        </li>
    <?php endforeach; ?>

    <?php if ($list['next']['active']) : ?>
        <li class="data-control-id-2917 bd-paginationitem-2">
        <?php echo preg_replace("/class=(\"|\').*?(\"|\')/", "", $list['next']['data']); ?>
        </li>
    <?php endif; ?>
    <?php if ($list['end']['active']) : ?>
        <li class="data-control-id-2917 bd-paginationitem-2">
        <?php echo preg_replace("/class=(\"|\').*?(\"|\')/", "", $list['end']['data']); ?>
        </li>
    <?php endif; ?>
</ul>
<?php
}