| 14734 |
anikendra |
1 |
<div class="container">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-12 table-responsive">
|
|
|
4 |
<div class="searchbar">
|
|
|
5 |
<form class="navbar-form" role="search" method="GET" name="search">
|
|
|
6 |
<div class="input-group col-xs-12 text-right" id="remote">
|
|
|
7 |
<input autocomplete="off" type="text" class="form-control" placeholder="Search for subtag" name="q" id="srch-term" value="<?php if(isset($q)){echo $q;}?>">
|
|
|
8 |
<div class="input-group-btn w25px">
|
|
|
9 |
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
|
|
10 |
</div>
|
|
|
11 |
</div>
|
|
|
12 |
</form>
|
|
|
13 |
</div>
|
|
|
14 |
<h2><?php echo __('Clicks'); ?></h2>
|
|
|
15 |
<table class="table table-striped">
|
|
|
16 |
<tr>
|
|
|
17 |
<!-- <th><?php //echo $this->Paginator->sort('id'); ?></th> -->
|
|
|
18 |
<th><?php echo $this->Paginator->sort('user_id'); ?></th>
|
|
|
19 |
<th><?php echo $this->Paginator->sort('store_product_id'); ?></th>
|
|
|
20 |
<th><?php echo $this->Paginator->sort('tag'); ?></th>
|
|
|
21 |
<th><?php echo $this->Paginator->sort('url'); ?></th>
|
|
|
22 |
<th><?php echo $this->Paginator->sort('price'); ?></th>
|
|
|
23 |
<th><?php echo $this->Paginator->sort('extras'); ?></th>
|
|
|
24 |
<!-- <th><?php //echo $this->Paginator->sort('type'); ?></th> -->
|
|
|
25 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
|
|
26 |
<!-- <th class="actions"><?php echo __('Actions'); ?></th> -->
|
|
|
27 |
</tr>
|
|
|
28 |
<?php foreach ($clicks as $click): ?>
|
|
|
29 |
<tr>
|
|
|
30 |
<!-- <td><?php //echo h($click['Click']['id']); ?> </td> -->
|
|
|
31 |
<td><?php echo h($click['Click']['user_id']); ?> </td>
|
|
|
32 |
<td><?php echo h($click['Click']['store_product_id']); ?> </td>
|
|
|
33 |
<td><?php echo h($click['Click']['tag']); ?> </td>
|
|
|
34 |
<td><?php echo h($click['Click']['url']); ?> </td>
|
|
|
35 |
<td><?php echo h($click['Click']['price']); ?> </td>
|
|
|
36 |
<td><?php echo h($click['Click']['extras']); ?> </td>
|
|
|
37 |
<!-- <td><?php //echo h($click['Click']['type']); ?> </td> -->
|
|
|
38 |
<td><?php echo h($click['Click']['created']); ?> </td>
|
|
|
39 |
<!-- <td class="actions">
|
|
|
40 |
<?php //echo $this->Html->link(__('View'), array('action' => 'view', $click['Click']['id'])); ?>
|
|
|
41 |
<?php //echo $this->Html->link(__('Edit'), array('action' => 'edit', $click['Click']['id'])); ?>
|
|
|
42 |
<?php //echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $click['Click']['id']), null, __('Are you sure you want to delete # %s?', $click['Click']['id'])); ?>
|
|
|
43 |
</td> -->
|
|
|
44 |
</tr>
|
|
|
45 |
<?php endforeach; ?>
|
|
|
46 |
</table>
|
|
|
47 |
<p>
|
|
|
48 |
<?php
|
|
|
49 |
echo $this->Paginator->counter(array(
|
|
|
50 |
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
|
|
51 |
));
|
|
|
52 |
?> </p>
|
|
|
53 |
<div class="paging">
|
|
|
54 |
<?php
|
|
|
55 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
|
|
56 |
echo $this->Paginator->numbers(array('separator' => ''));
|
|
|
57 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
|
|
58 |
?>
|
|
|
59 |
</div>
|
|
|
60 |
</div>
|
|
|
61 |
</div>
|
|
|
62 |
</div>
|