Subversion Repositories SmartDukaan

Rev

Rev 16724 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16724 Rev 16755
Line -... Line 1...
-
 
1
<style>
-
 
2
td.cell > div { width: 100%; height: 100%; overflow:scroll; }
-
 
3
td.cell { height: 100px; }
-
 
4
</style>
1
<div class="container">
5
<div class="container">
2
	<div class="row">
6
	<div class="row">
3
		<div class="col-lg-3">
7
		<div class="col-lg-3">
4
			<?php echo $this->Element('adminactions');?>
8
			<?php echo $this->Element('adminactions');?>
5
		</div>
9
		</div>
6
		<div class="col-lg-9">
10
		<div class="col-lg-9">
7
			<h2><?php echo __('App Offers'); ?></h2>
11
			<h2><?php echo __('App Offers'); ?></h2>
8
			<?php echo $this->element('appsearch');?>
12
			<?php echo $this->element('appsearch');?>
-
 
13
			<?php echo $this->element('appfilter');?>
9
			<table class="table table-striped">
14
			<table class="table table-striped">
10
			<tr>
15
			<tr>
11
					<th><?php echo $this->Paginator->sort('id'); ?></th>
16
					<th><?php echo $this->Paginator->sort('id'); ?></th>
12
					<th><?php echo $this->Paginator->sort('affiliate_id'); ?></th>
17
					<th><?php echo $this->Paginator->sort('affiliate_id'); ?></th>
13
					<th><?php echo $this->Paginator->sort('appmaster_id'); ?></th>
18
					<th><?php echo $this->Paginator->sort('appmaster_id'); ?></th>
Line 30... Line 35...
30
					<!-- <th><?php echo $this->Paginator->sort('customer_tagline'); ?></th> -->
35
					<!-- <th><?php echo $this->Paginator->sort('customer_tagline'); ?></th> -->
31
					<th><?php echo $this->Paginator->sort('offer_active'); ?></th>
36
					<th><?php echo $this->Paginator->sort('offer_active'); ?></th>
32
					<th><?php echo $this->Paginator->sort('offerCategory'); ?></th>
37
					<th><?php echo $this->Paginator->sort('offerCategory'); ?></th>
33
					<th><?php echo $this->Paginator->sort('priority'); ?></th>
38
					<th><?php echo $this->Paginator->sort('priority'); ?></th>
34
					<th><?php echo $this->Paginator->sort('show'); ?></th>
39
					<th><?php echo $this->Paginator->sort('show'); ?></th>
-
 
40
					<th><?php echo $this->Paginator->sort('location'); ?></th>
35
					<th><?php echo $this->Paginator->sort('offerCondition','Offer Text'); ?></th>
41
					<th><?php echo $this->Paginator->sort('offerCondition','Offer Text'); ?></th>
36
					<th class="actions"><?php echo __('Actions'); ?></th>
42
					<th class="actions"><?php echo __('Actions'); ?></th>
37
			</tr>
43
			</tr>
38
			<?php foreach ($appOffers as $appOffer): ?>
44
			<?php foreach ($appOffers as $appOffer): ?>
39
			<tr>
45
			<tr>
Line 45... Line 51...
45
				<td><?php echo h($appOffer['AppOffer']['override_payout']); ?></td>
51
				<td><?php echo h($appOffer['AppOffer']['override_payout']); ?></td>
46
				<td><?php echo h($appOffer['AppOffer']['overriden_payout']); ?></td>
52
				<td><?php echo h($appOffer['AppOffer']['overriden_payout']); ?></td>
47
				<td><?php echo h($appOffer['AppOffer']['user_payout']); ?></td>
53
				<td><?php echo h($appOffer['AppOffer']['user_payout']); ?></td>
48
				<td><?php echo h($appOffer['AppOffer']['app_name']); ?>&nbsp;</td>
54
				<td><?php echo h($appOffer['AppOffer']['app_name']); ?>&nbsp;</td>
49
				<td><img src="<?php echo ($appOffer['AppOffer']['promoImage']); ?>" width="80"/></td>
55
				<td><img src="<?php echo ($appOffer['AppOffer']['promoImage']); ?>" width="80"/></td>
50
				<td><?php echo h($appOffer['AppOffer']['description']); ?>&nbsp;</td>
56
				<td class="cell"><div><?php echo h($appOffer['AppOffer']['description']); ?></div></td>
51
				<td><?php echo h($appOffer['AppOffer']['shortDescription']); ?>&nbsp;</td>
57
				<td><?php echo h($appOffer['AppOffer']['shortDescription']); ?>&nbsp;</td>
52
				<!-- <td><?php echo h($appOffer['AppOffer']['finalShortDescription']); ?>&nbsp;</td> -->
58
				<!-- <td><?php echo h($appOffer['AppOffer']['finalShortDescription']); ?>&nbsp;</td> -->
53
				<td><?php echo h($appOffer['AppOffer']['longDescription']); ?>&nbsp;</td>
59
				<td class="cell"><div><?php echo h($appOffer['AppOffer']['longDescription']); ?></div></td>
54
				<!-- <td><?php echo h($appOffer['AppOffer']['finalLongDescription']); ?>&nbsp;</td> -->
60
				<!-- <td><?php echo h($appOffer['AppOffer']['finalLongDescription']); ?>&nbsp;</td> -->
55
				<td><?php echo h($appOffer['AppOffer']['link']); ?>&nbsp;</td>
61
				<td><?php echo h($appOffer['AppOffer']['link']); ?>&nbsp;</td>
56
				<td><?php echo h($appOffer['AppOffer']['downloads']); ?>&nbsp;</td>
62
				<td><?php echo h($appOffer['AppOffer']['downloads']); ?>&nbsp;</td>
57
				<td><?php echo h($appOffer['AppOffer']['ratings']); ?>&nbsp;</td>
63
				<td><?php echo h($appOffer['AppOffer']['ratings']); ?>&nbsp;</td>
58
				<!-- <td><?php echo h($appOffer['AppOffer']['retailer_tagline']); ?>&nbsp;</td> -->
64
				<!-- <td><?php echo h($appOffer['AppOffer']['retailer_tagline']); ?>&nbsp;</td> -->
59
				<!-- <td><?php echo h($appOffer['AppOffer']['customer_tagline']); ?>&nbsp;</td> -->
65
				<!-- <td><?php echo h($appOffer['AppOffer']['customer_tagline']); ?>&nbsp;</td> -->
60
				<td><?php echo h($appOffer['AppOffer']['offer_active']); ?>&nbsp;</td>
66
				<td><?php echo h($appOffer['AppOffer']['offer_active']); ?>&nbsp;</td>
61
				<td><?php echo h($appOffer['AppOffer']['offerCategory']); ?>&nbsp;</td>
67
				<td><?php echo h($appOffer['AppOffer']['offerCategory']); ?>&nbsp;</td>
62
				<td><?php echo h($appOffer['AppOffer']['priority']); ?>&nbsp;</td>
68
				<td><?php echo h($appOffer['AppOffer']['priority']); ?>&nbsp;</td>
63
				<td><?php echo h($appOffer['AppOffer']['show']); ?>&nbsp;</td>
69
				<td><?php echo h($appOffer['AppOffer']['show']); ?>&nbsp;</td>
-
 
70
				<td><?php echo h($appOffer['AppOffer']['location']); ?>&nbsp;</td>
64
				<td><?php echo h($appOffer['AppOffer']['offerCondition']); ?>&nbsp;</td>
71
				<td><?php echo h($appOffer['AppOffer']['offerCondition']); ?>&nbsp;</td>
65
				<td class="actions">
72
				<td class="actions">
66
					<?php //echo $this->Html->link(__('View'), array('action' => 'view', $appOffer['AppOffer']['id'])); ?>
73
					<?php //echo $this->Html->link(__('View'), array('action' => 'view', $appOffer['AppOffer']['id'])); ?>
67
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $appOffer['AppOffer']['id'])); ?>
74
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $appOffer['AppOffer']['id'])); ?>
68
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $appOffer['AppOffer']['id']), null, __('Are you sure you want to delete # %s?', $appOffer['AppOffer']['id'])); ?>
75
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $appOffer['AppOffer']['id']), null, __('Are you sure you want to delete # %s?', $appOffer['AppOffer']['id'])); ?>