Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/page/tmpl/pagination.php
<?php defined('KOOWA') or die('Restricted access') ?>

<?php if ( @$total && count(@$pages) > 1 ) : ?>
<div class="an-se-pagination an-se-rounded rounded">
	<?php if ( @$previous_page ) : ?>
	<span class="an-se-pagination-prev">
		<a href="<?= @$previous_page ?>">
			<?= @text('PREV') ?>
		</a>
	</span>
	<?php endif;?>
	
	<?php foreach(@$pages as $page) : ?>
		<?php if ( $page['current'] ) : ?>
		<span class="an-se-pagination-page-current">
			<?= $page['number'] ?>
		</span>	
		<?php else : ?>
		<span class="an-se-pagination-page">
			<a href="<?=$page['url']?>">
				<?= $page['number'] ?>
			</a>
		</span>	
		<?php endif; ?>
	<?php endforeach; ?>
	
	<?php if ( @$next_page ) : ?>
	<span class="an-se-pagination-next">
		<a href="<?= @$next_page ?>">
			<?= @text('NEXT') ?>
		</a>
	</span>
	<?php endif;?>
</div>	
<?php endif;?>
Return current item: Anahita Social Engine