<?php

defined('_WPBOOKINGPRO_EXEC') or die;
$list = $displayData['list'];
?>
<ul>
    <li class="pagination-start"><?php esc_html_e($list['start']['data']); ?></li>
    <li class="pagination-prev"><?php esc_html_e($list['previous']['data']); ?></li>
	<?php foreach ($list['pages'] as $page) : ?>
		<?php echo '<li>' . $page['data'] . '</li>'; ?>
	<?php endforeach; ?>
    <li class="pagination-next"><?php esc_html_e($list['next']['data']); ?></li>
    <li class="pagination-end"><?php esc_html_e($list['end']['data']); ?></li>
</ul>
