Subversion Repositories SmartDukaan

Rev

Rev 19311 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<style type="text/css">
h5{font-weight: bold;text-decoration: underline;}
h4{font-weight: bold;}

        td:first-child { ; border:1px solid  #e6e6e6;}
        td{
        padding:2px;
    border:1px solid #e6e6e6;
}
tr{width:100%;}
    table{
        font-size: 12px;
    }
</style>

<div class="container">
        <div class="row-fluid"> 
                <div class="col-xs-12 bgwhite" style="margin:5px 0;">
                
                        <h4 class="text-center"></h4>
                        
                        
                        <div id="foreng">
                                
                            <div style="margin:5px 0;">Buy accessories in April and get upto <?php echo $maxpercentage."% cashback.";?> </div>
                                
                                <div style="margin:5px 0;">
<!--                                    <div class="bgreen"> -->
                                        <table cellpadding="1" cellspacing="1" width="100%">
                                                <tr><td><b>Purchase</b></td><td><b>Cashback</b></td></tr>
                                                <?php if(isset($response['target1'])&& isset($response['target1_cash_back_percetage'])):?>
                                                        <tr>
                                                                <td>Above &#8377; <?php echo $response['target1'];?></td>
                                                                <td><?php echo $response['target1_cash_back_percetage']?>%</td>
                                                        </tr>
                                                <?php endif;?>
                                                <?php if(isset($response['target2'])&& isset($response['target2_cash_back_percetage'])):?>
                                                        <tr>
                                                                <td>Above &#8377; <?php echo $response['target2'];?></td>
                                                                <td><?php echo $response['target2_cash_back_percetage']?>%</td>
                                                        </tr>
                                                <?php endif;?>
                                        </table>
<!--                                    </div> -->
                                </div>
                                
                                <div class="bgreen" style="margin:5px 0;font-size:12px;">
                                        <b>*</b> Max cashback will be &#8377; <?php echo $response['maxCashBack'];?>.<br>
                                        <b>*</b> Above scheme applicable only to you(<b><?php echo $user_email;?></b>).<br>
                                        <b>*</b> Cashback not applicable on 
                                        <?php
                                                $gocount =0;
                                                foreach($response['sub_categories_not_applicable'] as $rkey){
                                                echo $subcat[$rkey];
                                                $gocount = $gocount +1;
                                                if(count($response['sub_categories_not_applicable'])>1 && count($response['sub_categories_not_applicable'])!= $gocount){
                                                        echo ", ";
                                                }
                                        }?>.
                                        
                                </div>
                            
                        </div>
                        
                        
                </div>
        </div>
</div>