| 19307 |
naman |
1 |
<style type="text/css">
|
|
|
2 |
h5{font-weight: bold;text-decoration: underline;}
|
|
|
3 |
h4{font-weight: bold;}
|
|
|
4 |
|
|
|
5 |
td:first-child { ; border:1px solid #e6e6e6;}
|
|
|
6 |
td{
|
|
|
7 |
padding:2px;
|
|
|
8 |
border:1px solid #e6e6e6;
|
|
|
9 |
}
|
|
|
10 |
tr{width:100%;}
|
|
|
11 |
table{
|
|
|
12 |
font-size: 12px;
|
|
|
13 |
}
|
|
|
14 |
</style>
|
|
|
15 |
|
|
|
16 |
<div class="container">
|
|
|
17 |
<div class="row-fluid">
|
|
|
18 |
<div class="col-xs-12 bgwhite" style="margin:5px 0;">
|
|
|
19 |
|
|
|
20 |
<h4 class="text-center"></h4>
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
<div id="foreng">
|
|
|
24 |
|
|
|
25 |
<div style="margin:5px 0;">Buy accessories in April and get upto <?php echo $maxpercentage."% cashback.";?> </div>
|
|
|
26 |
|
|
|
27 |
<div style="margin:5px 0;">
|
|
|
28 |
<!-- <div class="bgreen"> -->
|
|
|
29 |
<table cellpadding="1" cellspacing="1" width="100%">
|
|
|
30 |
<tr><td><b>Purchase</b></td><td><b>Cashback</b></td></tr>
|
|
|
31 |
<?php if(isset($response['target1'])&& isset($response['target1_cash_back_percetage'])):?>
|
|
|
32 |
<tr>
|
|
|
33 |
<td>Above ₹ <?php echo $response['target1'];?></td>
|
|
|
34 |
<td><?php echo $response['target1_cash_back_percetage']?>%</td>
|
|
|
35 |
</tr>
|
|
|
36 |
<?php endif;?>
|
|
|
37 |
<?php if(isset($response['target2'])&& isset($response['target2_cash_back_percetage'])):?>
|
|
|
38 |
<tr>
|
|
|
39 |
<td>Above ₹ <?php echo $response['target2'];?></td>
|
|
|
40 |
<td><?php echo $response['target2_cash_back_percetage']?>%</td>
|
|
|
41 |
</tr>
|
|
|
42 |
<?php endif;?>
|
|
|
43 |
</table>
|
|
|
44 |
<!-- </div> -->
|
|
|
45 |
</div>
|
|
|
46 |
|
|
|
47 |
<div class="bgreen" style="margin:5px 0;font-size:12px;">
|
|
|
48 |
<b>*</b> Max cashback will be ₹ <?php echo $response['maxCashBack'];?>.<br>
|
|
|
49 |
<b>*</b> Above scheme applicable only to you(<b><?php echo $user_email;?></b>).<br>
|
|
|
50 |
<b>*</b> Cashback not applicable on
|
|
|
51 |
<?php
|
|
|
52 |
$gocount =0;
|
|
|
53 |
foreach($response['sub_categories_not_applicable'] as $rkey){
|
|
|
54 |
echo $subcat[$rkey];
|
|
|
55 |
$gocount = $gocount +1;
|
|
|
56 |
if(count($response['sub_categories_not_applicable'])>1 && count($response['sub_categories_not_applicable'])!= $gocount){
|
|
|
57 |
echo ", ";
|
|
|
58 |
}
|
|
|
59 |
}?>.
|
|
|
60 |
|
|
|
61 |
</div>
|
|
|
62 |
|
|
|
63 |
</div>
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
</div>
|
|
|
67 |
</div>
|
|
|
68 |
</div>
|