<?=$javascript->link('ajax_pagination_email'); ?>


<?php echo $paginator->options(array('url'=>$this->passedArgs)); ?>

<?php
echo $paginator->counter(array(
'format' => __('Page %page% of %pages%, showing %current% Emails out of %count% total, starting on record %start%, ending on %end%', true)
));
?>

<div class="pagingEmail">
<?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
    | 	<?php echo $paginator->numbers();?> 
<?php echo $paginator->next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?>
</div>



<div class="related">
    <h3>
User Email<?php echo $html->image('internet-mail.png'); ?>
    </h3>
<?php echo $this->element('email_table_ajax', array('emails' => $userMail)); ?>
<?php //echo $this->element('email_table_ajax', $enquiry, array('cache'=>'+1 day')); ?>
</div>

<?php debug($userMail); ?>