Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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']); ?>&nbsp;</td> -->
31
				<td><?php echo h($click['Click']['user_id']); ?>&nbsp;</td>
32
				<td><?php echo h($click['Click']['store_product_id']); ?>&nbsp;</td>
33
				<td><?php echo h($click['Click']['tag']); ?>&nbsp;</td>
34
				<td><?php echo h($click['Click']['url']); ?>&nbsp;</td>
35
				<td><?php echo h($click['Click']['price']); ?>&nbsp;</td>
36
				<td><?php echo h($click['Click']['extras']); ?>&nbsp;</td>
37
				<!-- <td><?php //echo h($click['Click']['type']); ?>&nbsp;</td> -->
38
				<td><?php echo h($click['Click']['created']); ?>&nbsp;</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>