Subversion Repositories SmartDukaan

Rev

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

Rev 17207 Rev 17311
Line 13... Line 13...
13
        <span class="stars"><?php echo $deal['ratings'];?></span>
13
        <span class="stars"><?php echo $deal['ratings'];?></span>
14
        <div class="text_arrange">
14
        <div class="text_arrange">
15
          <?php echo $deal['offerCategory'];?>
15
          <?php echo $deal['offerCategory'];?>
16
        </div>
16
        </div>
17
      </div>
17
      </div>
-
 
18
 
-
 
19
 
-
 
20
 
-
 
21
 
-
 
22
 
-
 
23
 
-
 
24
 
-
 
25
 
-
 
26
 
-
 
27
 
18
      <div class="col-xs-8 getapp appdetails productdetails" data-id="<?php echo $deal['app_id'];?>">
28
      <div class="col-xs-8 getapp appdetails productdetails" data-id="<?php echo $deal['app_id'];?>">
-
 
29
        <div style="min-height:100px">
19
 
30
 
20
        <div class="row">
31
        <div class="row ">
21
          <div class = "col-xs-6" style="margin:0px;padding:0px">
32
          <div class = "col-xs-6" style="margin:0px;padding:0px">
22
            <h5 class="text_arrange producttitle getapp" data-id="<?php echo $deal['app_id'];?>" data-url="<?php echo $deal['link'];?>" data-price="<?php echo intval($deal['offer_price']);?>">
33
            <h5 class="text_arrange1 producttitle getapp " data-id="<?php echo $deal['app_id'];?>" data-url="<?php echo $deal['link'];?>" data-price="<?php echo intval($deal['offer_price']);?>">
23
              <b><?php echo $deal['app_name'];?></b>
34
              <b><?php echo $deal['app_name'];?></b>
24
            </h5>
35
            </h5  >
25
 
36
 
26
          </div>
37
          </div>
27
          <div class="col-xs-6 " style="padding:0px;">
38
          <div class="col-xs-6 " style="padding:0px;">
28
            <div class="offerprice" style="float:right">   
39
            <!-- <div class="offerprice" style="float:right">   
29
              <font color = '#58d936'>Cashback:</font> <img src='/img/green_rupee.png' height='10px' width='9px'> <font color = 'red'><?php echo intval($deal['user_payout']);?></font>
40
              <font color = '#58d936'>Cashback:</font> <img src='/img/green_rupee.png' height='10px' width='9px'> <font color = 'red'><?php echo intval($deal['user_payout']);?></font>
30
              <!-- <span class="rupee" style="margin-top:1px;"></span> -->
41
              <!-- <span class="rupee" style="margin-top:1px;"></span> 
31
            </div>
42
            </div> -->
32
          </div>
43
          </div>
33
        </div>
44
        </div>
34
        
45
        
35
        <div class="text-small grey<?php if(!isset($deal['shortDescription'])):?>hidden<?php endif;?>" data-id="<?php echo $deal['app_id'];?>" data-url="<?php echo $deal['link'];?>" data-price="<?php echo intval($deal['offer_price']);?>">
46
        <div class="text-medium grey<?php if(!isset($deal['shortDescription'])):?>hidden<?php endif;?>" data-id="<?php echo $deal['app_id'];?>" data-url="<?php echo $deal['link'];?>" data-price="<?php echo intval($deal['offer_price']);?>">
36
          <font color='grey'><?php echo $deal['shortDescription'];?></font>
47
          <font color='grey'><?php echo $deal['shortDescription'];?></font>
37
        </div>
48
        </div>
-
 
49
     
38
        <div class="<?php if(!isset($deal['customerOneLiner'])):?>hidden<?php endif;?>">
50
        <div style="padding-bottom:3px;" class="<?php if(!isset($deal['customerOneLiner'])):?>hidden<?php endif;?>">
39
          <b><?php echo $deal['customerOneLiner'];?></b>
51
          <b><?php echo $deal['customerOneLiner'];?></b>
40
        </div>
52
        </div>
-
 
53
        
41
        <div class=" red <?php if(!isset($deal['retailerOneLiner'])):?>hidden<?php endif;?>">
54
        <div style="padding-bottom:3px;" class="text-medium red <?php if(!isset($deal['retailerOneLiner'])):?>hidden<?php endif;?>">
42
          <?php echo $deal['retailerOneLiner'];?>
55
          <?php echo $deal['retailerOneLiner'];?>
43
        </div>
56
        </div>
-
 
57
        
44
        <div class="text-small" style="word-wrap: break-word;padding-bottom:3px;">
58
        <div class="text-small" style="word-wrap: break-word;padding-bottom:3px;">
45
            <?php 
59
            <?php 
46
              if (strlen($deal['location'])>0){
60
              if (strlen($deal['location'])>0){
47
                echo "<font color='red'>Valid in: </font><font color='black'>".trim($deal['location'])."</font>";
61
                echo "<font color='red'>Valid in: </font><font color='black'>".trim($deal['location'])."</font>";
48
              }
62
              }
49
            ?>
63
            ?>
50
        </div>
64
        </div>
51
        <div class="dealoffer text-small <?php if(!isset($deal['longDescription']) || empty($deal['longDescription'])):?>hidden<?php endif;?> row" style='color:grey;'>            
-
 
52
          <?php echo strip_tags($deal['longDescription'],'<br>');?> 
-
 
53
        </div>
-
 
54
        <div class="offercondition text-small">
65
        <div class="offercondition text-small">
55
          <?php echo $deal['offerCondition'];?> 
66
          <?php echo $deal['offerCondition'];?> 
56
        </div>
67
        </div>
-
 
68
 
-
 
69
        </div>
-
 
70
       
-
 
71
        <div class="dealoffer text-small <?php if(!isset($deal['longDescription']) || empty($deal['longDescription'])):?>hidden<?php endif;?> row" style='color:grey;'>            
-
 
72
          <?php //echo strip_tags($deal['longDescription'],'<br>');?> 
-
 
73
            <div class="offerprice">   
-
 
74
              <font color = '#58d936'>Cashback:</font> <img src='/img/green_rupee.png' height='14px' width='9px'> <font color = 'red'><?php echo intval($deal['user_payout']);?></font>
-
 
75
              <!-- <span class="rupee" style="margin-top:1px;"></span> -->
-
 
76
            </div>
-
 
77
        </div>
-
 
78
       
57
                 
79
                 
58
      </div>                      
80
      </div>                      
59
  </div>  
81
  </div>  
60
  <?php endforeach;?>
82
  <?php endforeach;?>
61
  <?php if(count($appOffers['AppOffers'])<4):?>
83
  <?php if(count($appOffers['AppOffers'])<4):?>