Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16549 anikendra 1
<div class="appOffers index">
2
	<h2><?php echo __('App Offers'); ?></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('affiliate_id'); ?></th>
7
			<th><?php echo $this->Paginator->sort('affiliate_app_id'); ?></th>
8
			<th><?php echo $this->Paginator->sort('startDate'); ?></th>
9
			<th><?php echo $this->Paginator->sort('endDate'); ?></th>
10
			<th><?php echo $this->Paginator->sort('affiliate_offer_id'); ?></th>
11
			<th><?php echo $this->Paginator->sort('offer_price'); ?></th>
12
			<th><?php echo $this->Paginator->sort('app_name'); ?></th>
13
			<th><?php echo $this->Paginator->sort('image_url'); ?></th>
14
			<th><?php echo $this->Paginator->sort('description'); ?></th>
15
			<th><?php echo $this->Paginator->sort('link'); ?></th>
16
			<th><?php echo $this->Paginator->sort('offer_active'); ?></th>
17
			<th><?php echo $this->Paginator->sort('action'); ?></th>
18
			<th><?php echo $this->Paginator->sort('priority'); ?></th>
19
			<th><?php echo $this->Paginator->sort('show'); ?></th>
20
			<th class="actions"><?php echo __('Actions'); ?></th>
21
	</tr>
22
	<?php foreach ($appOffers as $appOffer): ?>
23
	<tr>
24
		<td><?php echo h($appOffer['AppOffer']['id']); ?>&nbsp;</td>
25
		<td><?php echo h($appOffer['AppOffer']['affiliate_id']); ?>&nbsp;</td>
26
		<td><?php echo h($appOffer['AppOffer']['affiliate_app_id']); ?>&nbsp;</td>
27
		<td><?php echo h($appOffer['AppOffer']['startDate']); ?>&nbsp;</td>
28
		<td><?php echo h($appOffer['AppOffer']['endDate']); ?>&nbsp;</td>
29
		<td><?php echo h($appOffer['AppOffer']['affiliate_offer_id']); ?>&nbsp;</td>
30
		<td><?php echo h($appOffer['AppOffer']['offer_price']); ?>&nbsp;</td>
31
		<td><?php echo h($appOffer['AppOffer']['app_name']); ?>&nbsp;</td>
32
		<td><?php echo h($appOffer['AppOffer']['image_url']); ?>&nbsp;</td>
33
		<td><?php echo h($appOffer['AppOffer']['description']); ?>&nbsp;</td>
34
		<td><?php echo h($appOffer['AppOffer']['link']); ?>&nbsp;</td>
35
		<td><?php echo h($appOffer['AppOffer']['offer_active']); ?>&nbsp;</td>
36
		<td><?php echo h($appOffer['AppOffer']['action']); ?>&nbsp;</td>
37
		<td><?php echo h($appOffer['AppOffer']['priority']); ?>&nbsp;</td>
38
		<td><?php echo h($appOffer['AppOffer']['show']); ?>&nbsp;</td>
39
		<td class="actions">
40
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $appOffer['AppOffer']['id'])); ?>
41
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $appOffer['AppOffer']['id'])); ?>
42
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $appOffer['AppOffer']['id']), null, __('Are you sure you want to delete # %s?', $appOffer['AppOffer']['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 class="actions">
62
	<h3><?php echo __('Actions'); ?></h3>
63
	<ul>
64
		<li><?php echo $this->Html->link(__('New App Offer'), array('action' => 'add')); ?></li>
65
	</ul>
66
</div>