| 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>
|
| 16614 |
anikendra |
13 |
<th><?php echo $this->Paginator->sort('appmaster_id'); ?></th>
|
| 16549 |
anikendra |
14 |
<th><?php echo $this->Paginator->sort('affiliate_offer_id'); ?></th>
|
|
|
15 |
<th><?php echo $this->Paginator->sort('offer_price'); ?></th>
|
|
|
16 |
<th><?php echo $this->Paginator->sort('override_payout'); ?></th>
|
|
|
17 |
<th><?php echo $this->Paginator->sort('overriden_payout'); ?></th>
|
|
|
18 |
<th><?php echo $this->Paginator->sort('user_payout'); ?></th>
|
|
|
19 |
<th><?php echo $this->Paginator->sort('app_name'); ?></th>
|
|
|
20 |
<th><?php echo $this->Paginator->sort('promoImage'); ?></th>
|
|
|
21 |
<th><?php echo $this->Paginator->sort('description'); ?></th>
|
| 16614 |
anikendra |
22 |
<!-- <th><?php echo $this->Paginator->sort('shortDescription'); ?></th> -->
|
| 16583 |
anikendra |
23 |
<th><?php echo $this->Paginator->sort('finalShortDescription'); ?></th>
|
| 16614 |
anikendra |
24 |
<!-- <th><?php echo $this->Paginator->sort('longDescription'); ?></th> -->
|
|
|
25 |
<th><?php echo $this->Paginator->sort('finalLongDescription'); ?></th>
|
| 16549 |
anikendra |
26 |
<th><?php echo $this->Paginator->sort('link'); ?></th>
|
|
|
27 |
<th><?php echo $this->Paginator->sort('downloads'); ?></th>
|
|
|
28 |
<th><?php echo $this->Paginator->sort('ratings'); ?></th>
|
|
|
29 |
<th><?php echo $this->Paginator->sort('retailer_tagline'); ?></th>
|
|
|
30 |
<th><?php echo $this->Paginator->sort('customer_tagline'); ?></th>
|
|
|
31 |
<th><?php echo $this->Paginator->sort('offer_active'); ?></th>
|
|
|
32 |
<th><?php echo $this->Paginator->sort('offerCategory'); ?></th>
|
|
|
33 |
<th><?php echo $this->Paginator->sort('priority'); ?></th>
|
|
|
34 |
<th><?php echo $this->Paginator->sort('show'); ?></th>
|
|
|
35 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
|
|
36 |
</tr>
|
|
|
37 |
<?php foreach ($appOffers as $appOffer): ?>
|
|
|
38 |
<tr>
|
|
|
39 |
<td><?php echo h($appOffer['AppOffer']['id']); ?> </td>
|
|
|
40 |
<td><?php echo h($appOffer['AppOffer']['affiliate_id']); ?> </td>
|
| 16614 |
anikendra |
41 |
<td><?php echo $this->Html->link(__('Master'), array('controller' => 'appmasters', 'action' => 'edit',$appOffer['AppOffer']['appmaster_id'])); ?>
|
| 16549 |
anikendra |
42 |
<td><?php echo h($appOffer['AppOffer']['affiliate_offer_id']); ?> </td>
|
|
|
43 |
<td><?php echo h($appOffer['AppOffer']['offer_price']); ?> </td>
|
|
|
44 |
<td><?php echo h($appOffer['AppOffer']['override_payout']); ?></td>
|
|
|
45 |
<td><?php echo h($appOffer['AppOffer']['overriden_payout']); ?></td>
|
|
|
46 |
<td><?php echo h($appOffer['AppOffer']['user_payout']); ?></td>
|
|
|
47 |
<td><?php echo h($appOffer['AppOffer']['app_name']); ?> </td>
|
|
|
48 |
<td><img src="<?php echo ($appOffer['AppOffer']['promoImage']); ?>" width="80"/></td>
|
|
|
49 |
<td><?php echo h($appOffer['AppOffer']['description']); ?> </td>
|
| 16614 |
anikendra |
50 |
<!-- <td><?php echo h($appOffer['AppOffer']['shortDescription']); ?> </td> -->
|
| 16583 |
anikendra |
51 |
<td><?php echo h($appOffer['AppOffer']['finalShortDescription']); ?> </td>
|
| 16614 |
anikendra |
52 |
<!-- <td><?php echo h($appOffer['AppOffer']['longDescription']); ?> </td> -->
|
|
|
53 |
<td><?php echo h($appOffer['AppOffer']['finalLongDescription']); ?> </td>
|
| 16549 |
anikendra |
54 |
<td><?php echo h($appOffer['AppOffer']['link']); ?> </td>
|
|
|
55 |
<td><?php echo h($appOffer['AppOffer']['downloads']); ?> </td>
|
|
|
56 |
<td><?php echo h($appOffer['AppOffer']['ratings']); ?> </td>
|
|
|
57 |
<td><?php echo h($appOffer['AppOffer']['retailer_tagline']); ?> </td>
|
|
|
58 |
<td><?php echo h($appOffer['AppOffer']['customer_tagline']); ?> </td>
|
|
|
59 |
<td><?php echo h($appOffer['AppOffer']['offer_active']); ?> </td>
|
|
|
60 |
<td><?php echo h($appOffer['AppOffer']['offerCategory']); ?> </td>
|
|
|
61 |
<td><?php echo h($appOffer['AppOffer']['priority']); ?> </td>
|
|
|
62 |
<td><?php echo h($appOffer['AppOffer']['show']); ?> </td>
|
|
|
63 |
<td class="actions">
|
|
|
64 |
<?php //echo $this->Html->link(__('View'), array('action' => 'view', $appOffer['AppOffer']['id'])); ?>
|
|
|
65 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $appOffer['AppOffer']['id'])); ?>
|
|
|
66 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $appOffer['AppOffer']['id']), null, __('Are you sure you want to delete # %s?', $appOffer['AppOffer']['id'])); ?>
|
|
|
67 |
</td>
|
|
|
68 |
</tr>
|
|
|
69 |
<?php endforeach; ?>
|
|
|
70 |
</table>
|
|
|
71 |
<p>
|
|
|
72 |
<?php
|
|
|
73 |
echo $this->Paginator->counter(array(
|
|
|
74 |
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
|
|
75 |
));
|
|
|
76 |
?> </p>
|
|
|
77 |
<div class="paging">
|
|
|
78 |
<?php
|
|
|
79 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
|
|
80 |
echo $this->Paginator->numbers(array('separator' => ''));
|
|
|
81 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
|
|
82 |
?>
|
|
|
83 |
</div>
|
|
|
84 |
</div>
|
|
|
85 |
</div>
|
|
|
86 |
</div>
|