Subversion Repositories SmartDukaan

Rev

Rev 16583 | Rev 16614 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
16549 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-3">
4
			<?php echo $this->Element('adminactions');?>
5
		</div>
6
		<div class="col-lg-9">
7
			<h2><?php echo __('App Offers'); ?></h2>
16593 anikendra 8
			<?php echo $this->element('appsearch');?>
16549 anikendra 9
			<table class="table table-striped">
10
			<tr>
11
					<th><?php echo $this->Paginator->sort('id'); ?></th>
12
					<th><?php echo $this->Paginator->sort('affiliate_id'); ?></th>
13
					<!-- <th><?php echo $this->Paginator->sort('affiliate_app_id'); ?></th> -->
14
					<!-- <th><?php echo $this->Paginator->sort('startDate'); ?></th> -->
15
					<!-- <th><?php echo $this->Paginator->sort('endDate'); ?></th> -->
16
					<th><?php echo $this->Paginator->sort('affiliate_offer_id'); ?></th>
17
					<th><?php echo $this->Paginator->sort('offer_price'); ?></th>
18
					<th><?php echo $this->Paginator->sort('override_payout'); ?></th>
19
					<th><?php echo $this->Paginator->sort('overriden_payout'); ?></th>
20
					<th><?php echo $this->Paginator->sort('user_payout'); ?></th>
21
					<th><?php echo $this->Paginator->sort('app_name'); ?></th>
22
					<th><?php echo $this->Paginator->sort('promoImage'); ?></th>
23
					<th><?php echo $this->Paginator->sort('description'); ?></th>
24
					<th><?php echo $this->Paginator->sort('shortDescription'); ?></th>
16583 anikendra 25
					<th><?php echo $this->Paginator->sort('finalShortDescription'); ?></th>
16549 anikendra 26
					<th><?php echo $this->Paginator->sort('longDescription'); ?></th>
16583 anikendra 27
					<th><?php echo $this->Paginator->sort('finalShortDescription'); ?></th>
16549 anikendra 28
					<th><?php echo $this->Paginator->sort('link'); ?></th>
29
					<th><?php echo $this->Paginator->sort('downloads'); ?></th>
30
					<th><?php echo $this->Paginator->sort('ratings'); ?></th>
31
					<th><?php echo $this->Paginator->sort('retailer_tagline'); ?></th>
32
					<th><?php echo $this->Paginator->sort('customer_tagline'); ?></th>
33
					<th><?php echo $this->Paginator->sort('offer_active'); ?></th>
34
					<th><?php echo $this->Paginator->sort('offerCategory'); ?></th>
35
					<th><?php echo $this->Paginator->sort('priority'); ?></th>
36
					<th><?php echo $this->Paginator->sort('show'); ?></th>
37
					<th class="actions"><?php echo __('Actions'); ?></th>
38
			</tr>
39
			<?php foreach ($appOffers as $appOffer): ?>
40
			<tr>
41
				<td><?php echo h($appOffer['AppOffer']['id']); ?>&nbsp;</td>
42
				<td><?php echo h($appOffer['AppOffer']['affiliate_id']); ?>&nbsp;</td>
43
				<!-- <td><?php echo h($appOffer['AppOffer']['affiliate_app_id']); ?>&nbsp;</td> -->
44
				<!-- <td><?php echo h($appOffer['AppOffer']['startDate']); ?>&nbsp;</td> -->
45
				<!-- <td><?php echo h($appOffer['AppOffer']['endDate']); ?>&nbsp;</td> -->
46
				<td><?php echo h($appOffer['AppOffer']['affiliate_offer_id']); ?>&nbsp;</td>
47
				<td><?php echo h($appOffer['AppOffer']['offer_price']); ?>&nbsp;</td>
48
				<td><?php echo h($appOffer['AppOffer']['override_payout']); ?></td>
49
				<td><?php echo h($appOffer['AppOffer']['overriden_payout']); ?></td>
50
				<td><?php echo h($appOffer['AppOffer']['user_payout']); ?></td>
51
				<td><?php echo h($appOffer['AppOffer']['app_name']); ?>&nbsp;</td>
52
				<td><img src="<?php echo ($appOffer['AppOffer']['promoImage']); ?>" width="80"/></td>
53
				<td><?php echo h($appOffer['AppOffer']['description']); ?>&nbsp;</td>
54
				<td><?php echo h($appOffer['AppOffer']['shortDescription']); ?>&nbsp;</td>
16583 anikendra 55
				<td><?php echo h($appOffer['AppOffer']['finalShortDescription']); ?>&nbsp;</td>
16549 anikendra 56
				<td><?php echo h($appOffer['AppOffer']['longDescription']); ?>&nbsp;</td>
16583 anikendra 57
				<td><?php echo h($appOffer['AppOffer']['fianlLongDescription']); ?>&nbsp;</td>
16549 anikendra 58
				<td><?php echo h($appOffer['AppOffer']['link']); ?>&nbsp;</td>
59
				<td><?php echo h($appOffer['AppOffer']['downloads']); ?>&nbsp;</td>
60
				<td><?php echo h($appOffer['AppOffer']['ratings']); ?>&nbsp;</td>
61
				<td><?php echo h($appOffer['AppOffer']['retailer_tagline']); ?>&nbsp;</td>
62
				<td><?php echo h($appOffer['AppOffer']['customer_tagline']); ?>&nbsp;</td>
63
				<td><?php echo h($appOffer['AppOffer']['offer_active']); ?>&nbsp;</td>
64
				<td><?php echo h($appOffer['AppOffer']['offerCategory']); ?>&nbsp;</td>
65
				<td><?php echo h($appOffer['AppOffer']['priority']); ?>&nbsp;</td>
66
				<td><?php echo h($appOffer['AppOffer']['show']); ?>&nbsp;</td>
67
				<td class="actions">
68
					<?php //echo $this->Html->link(__('View'), array('action' => 'view', $appOffer['AppOffer']['id'])); ?>
69
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $appOffer['AppOffer']['id'])); ?>
70
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $appOffer['AppOffer']['id']), null, __('Are you sure you want to delete # %s?', $appOffer['AppOffer']['id'])); ?>
71
				</td>
72
			</tr>
73
		<?php endforeach; ?>
74
			</table>
75
			<p>
76
			<?php
77
			echo $this->Paginator->counter(array(
78
			'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
79
			));
80
			?>	</p>
81
			<div class="paging">
82
			<?php
83
				echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
84
				echo $this->Paginator->numbers(array('separator' => ''));
85
				echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
86
			?>
87
			</div>
88
		</div>
89
	</div>
90
</div>