Subversion Repositories SmartDukaan

Rev

Rev 14409 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="container">
        <div class="row">
                <div class="col-lg-12">
                        <h3>User's browsing history</h3>
                                <table cellpadding="0" cellspacing="0">
                                <tr>
                                                <th><?php echo $this->Paginator->sort('id'); ?></th>
                                                <th><?php echo $this->Paginator->sort('user_id'); ?></th>
                                                <th><?php echo $this->Paginator->sort('url'); ?></th>
                                                <th><?php echo $this->Paginator->sort('created'); ?></th>
                                </tr>
                                <?php foreach ($userUrls as $url): ?>
                                <tr>
                                        <td><?php echo h($url['Userurl']['id']); ?>&nbsp;</td>
                                        <td>
                                                <?php echo $this->Html->link($url['User']['username'], array('controller' => 'users', 'action' => 'view', $url['User']['id'])); ?>
                                        </td>
                                        <td><?php echo h($url['Userurl']['url']); ?>&nbsp;</td>
                                        <td><?php echo h($url['Userurl']['created']); ?>&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>
                </div>
        </div>
</div>