<?php if($pagination): ?>
<div class="pull-right">
    <?php echo $pagination; ?>

</div>

<?php endif; ?>