Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13532 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-2">
4
			<?php echo $this->Element('offeractions');?>
5
		</div>
6
		<div class="col-lg-10">
7
		<h2><?php echo __('Offers'); ?></h2>
8
		<table cellpadding="0" cellspacing="0" class="table table-striped">
9
		<tr>
10
			<th><?php echo $this->Paginator->sort('id'); ?></th>
11
			<th><?php echo $this->Paginator->sort('starttime'); ?></th>
12
			<th><?php echo $this->Paginator->sort('endtime'); ?></th>
13
			<th><?php echo $this->Paginator->sort('url'); ?></th>
14
			<th><?php echo $this->Paginator->sort('title'); ?></th>
15
			<th><?php echo $this->Paginator->sort('description'); ?></th>
16
			<th><?php echo $this->Paginator->sort('category'); ?></th>
17
			<th><?php echo $this->Paginator->sort('img730x150'); ?></th>
18
			<th><?php echo $this->Paginator->sort('img482x234'); ?></th>
19
			<th><?php echo $this->Paginator->sort('img720x280'); ?></th>
20
			<th><?php echo $this->Paginator->sort('img540x210'); ?></th>
21
			<th><?php echo $this->Paginator->sort('img360x140'); ?></th>
22
			<th><?php echo $this->Paginator->sort('img270x105'); ?></th>
23
			<th><?php echo $this->Paginator->sort('created'); ?></th>
24
			<th><?php echo $this->Paginator->sort('modified'); ?></th>
25
			<th class="actions"><?php echo __('Actions'); ?></th>
26
		</tr>
27
		<?php foreach ($offers as $offer): ?>
28
		<tr>
29
			<td><?php echo h($offer['Offer']['id']); ?>&nbsp;</td>
30
			<td><?php echo h($offer['Offer']['starttime']); ?>&nbsp;</td>
31
			<td><?php echo h($offer['Offer']['endtime']); ?>&nbsp;</td>
32
			<td><?php echo h($offer['Offer']['url']); ?>&nbsp;</td>
33
			<td><?php echo h($offer['Offer']['title']); ?>&nbsp;</td>
34
			<td><?php echo h($offer['Offer']['description']); ?>&nbsp;</td>
35
			<td><?php echo h($offer['Offer']['category']); ?>&nbsp;</td>
36
			<td><?php echo h($offer['Offer']['img730x150']); ?>&nbsp;</td>
37
			<td><?php echo h($offer['Offer']['img482x234']); ?>&nbsp;</td>
38
			<td><?php echo h($offer['Offer']['img720x280']); ?>&nbsp;</td>
39
			<td><?php echo h($offer['Offer']['img540x210']); ?>&nbsp;</td>
40
			<td><?php echo h($offer['Offer']['img360x140']); ?>&nbsp;</td>
41
			<td><?php echo h($offer['Offer']['img270x105']); ?>&nbsp;</td>
42
			<td><?php echo h($offer['Offer']['created']); ?>&nbsp;</td>
43
			<td><?php echo h($offer['Offer']['modified']); ?>&nbsp;</td>
44
			<td class="actions">
45
				<?php echo $this->Html->link(__('View'), array('action' => 'view', $offer['Offer']['id'])); ?>
46
				<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $offer['Offer']['id'])); ?>
47
				<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $offer['Offer']['id']), null, __('Are you sure you want to delete # %s?', $offer['Offer']['id'])); ?>
48
			</td>
49
		</tr>
50
	<?php endforeach; ?>
51
		</table>
52
		<p>
53
		<?php
54
		echo $this->Paginator->counter(array(
55
		'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
56
		));
57
		?>	</p>
58
		<div class="paging">
59
		<?php
60
			echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
61
			echo $this->Paginator->numbers(array('separator' => ''));
62
			echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
63
		?>
64
		</div>
65
	</div>
66
</div>