Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<style>
table, th, td {
    border: 1px solid black;
}
</style>
<div class="useractives index">
        <h2><?php echo __('Useractives'); ?></h2>
        <table cellpadding="0" cellspacing="0" class="table table-striped">
        <tr>
                        <th><?php echo $this->Paginator->sort('user_id'); ?></th>
                        <th><?php echo $this->Paginator->sort('last_active'); ?></th>
                        
        </tr>
        <?php foreach ($useractives as $useractive): ?>
        <tr>
                <td><?php echo $this->Html->link(__($useractive['Useractive']['user_id']),array('action'=>'show',$useractive['Useractive']['user_id'])); ?>&nbsp;</td>
                <td><?php echo h($useractive['Useractive']['last_active']); ?>&nbsp;</td>
                
        </tr>
<?php endforeach; ?>
        </table>
        <p>
        <?php
        echo $this->Paginator->counter(array(
        'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
        ));
        ?>      </p>
        <div class="paging">
        <?php
                echo $this->Paginator->prev('< ' . __('previous '), array(), null, array('class' => 'prev disabled'));
                echo $this->Paginator->numbers(array('separator' => ' '));
                echo $this->Paginator->next(__(' next') . ' >', array(), null, array('class' => 'next disabled'));
        ?>
        </div>
</div>