Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14734 anikendra 1
<div class="clicks index">
2
	<h2><?php echo __('Clicks'); ?></h2>
3
	<table cellpadding="0" cellspacing="0">
4
	<tr>
5
			<th><?php echo $this->Paginator->sort('id'); ?></th>
6
			<th><?php echo $this->Paginator->sort('user_id'); ?></th>
7
			<th><?php echo $this->Paginator->sort('store_product_id'); ?></th>
8
			<th><?php echo $this->Paginator->sort('tag'); ?></th>
9
			<th><?php echo $this->Paginator->sort('url'); ?></th>
10
			<th><?php echo $this->Paginator->sort('price'); ?></th>
11
			<th><?php echo $this->Paginator->sort('extras'); ?></th>
12
			<th><?php echo $this->Paginator->sort('type'); ?></th>
13
			<th><?php echo $this->Paginator->sort('created'); ?></th>
14
			<th class="actions"><?php echo __('Actions'); ?></th>
15
	</tr>
16
	<?php foreach ($clicks as $click): ?>
17
	<tr>
18
		<td><?php echo h($click['Click']['id']); ?>&nbsp;</td>
19
		<td><?php echo h($click['Click']['user_id']); ?>&nbsp;</td>
20
		<td><?php echo h($click['Click']['store_product_id']); ?>&nbsp;</td>
21
		<td><?php echo h($click['Click']['tag']); ?>&nbsp;</td>
22
		<td><?php echo h($click['Click']['url']); ?>&nbsp;</td>
23
		<td><?php echo h($click['Click']['price']); ?>&nbsp;</td>
24
		<td><?php echo h($click['Click']['extras']); ?>&nbsp;</td>
25
		<td><?php echo h($click['Click']['type']); ?>&nbsp;</td>
26
		<td><?php echo h($click['Click']['created']); ?>&nbsp;</td>
27
		<td class="actions">
28
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $click['Click']['id'])); ?>
29
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $click['Click']['id'])); ?>
30
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $click['Click']['id']), null, __('Are you sure you want to delete # %s?', $click['Click']['id'])); ?>
31
		</td>
32
	</tr>
33
<?php endforeach; ?>
34
	</table>
35
	<p>
36
	<?php
37
	echo $this->Paginator->counter(array(
38
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
39
	));
40
	?>	</p>
41
	<div class="paging">
42
	<?php
43
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
44
		echo $this->Paginator->numbers(array('separator' => ''));
45
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
46
	?>
47
	</div>
48
</div>
49
<div class="actions">
50
	<h3><?php echo __('Actions'); ?></h3>
51
	<ul>
52
		<li><?php echo $this->Html->link(__('New Click'), array('action' => 'add')); ?></li>
53
	</ul>
54
</div>