Subversion Repositories SmartDukaan

Rev

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

Rev 17760 Rev 17762
Line 18... Line 18...
18
    $('#videoModal').click(function(){
18
    $('#videoModal').click(function(){
19
      $('#content-add').empty();
19
      $('#content-add').empty();
20
      // $('.text-center').append('<img src="/img/ajax-loader.gif"/>');
20
      // $('.text-center').append('<img src="/img/ajax-loader.gif"/>');
21
    });
21
    });
22
 
22
 
-
 
23
    $('.see_more_link a').click(function(){
-
 
24
       $('#loadingModal').modal('show');
-
 
25
    });
23
  });
26
  });
24
</script>
27
</script>
25
 
28
 
26
<div class="modal fade" id="videoModal">
29
<div class="modal fade" id="videoModal">
27
  <div class="modal-dialog">
30
  <div class="modal-dialog">
Line 127... Line 130...
127
 
130
 
128
 
131
 
129
 
132
 
130
     <?php else:?>
133
     <?php else:?>
131
      <?php //debug($deal);?>
134
      <?php //debug($deal);?>
-
 
135
      
132
        <div class="subcard">
136
        <div class="subcard">
133
        <div class="col-xs-4 productthumb viewproduct" data-id="<?php echo $deal['_id'];?>" data-url="<?php echo $deal['marketPlaceUrl'];?>" data-source="<?php echo $deal['source_id'];?>" data-price="<?php echo intval($deal['available_price']);?>">
137
        <div class="col-xs-4 productthumb viewproduct" data-id="<?php echo $deal['_id'];?>" data-url="<?php echo $deal['marketPlaceUrl'];?>" data-source="<?php echo $deal['source_id'];?>" data-price="<?php echo intval($deal['available_price']);?>">
134
          <?php if($key == 0):?>
138
          <?php if($key == 0):?>
135
          <img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo urlencode ($deal['thumbnail']);?>&h=100" />
139
          <img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo urlencode ($deal['thumbnail']);?>&h=100" />
136
          <?php endif;?>
140
          <?php endif;?>
Line 160... Line 164...
160
          <?php if((isset($deal['showMrp']) && ($deal['showMrp']==1) && isset($deal['mrp']) && ($deal['mrp']>0))) :?>
164
          <?php if((isset($deal['showMrp']) && ($deal['showMrp']==1) && isset($deal['mrp']) && ($deal['mrp']>0))) :?>
161
          <div class="text-small">
165
          <div class="text-small">
162
            
166
            
163
            <?php if(isset($deal['showMrp']) && ($deal['showMrp']==1) && isset($deal['mrp']) && ($deal['mrp']>0)):?>
167
            <?php if(isset($deal['showMrp']) && ($deal['showMrp']==1) && isset($deal['mrp']) && ($deal['mrp']>0)):?>
164
              <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
168
              <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
165
                MRP <span class="cashbackrupee"></span> <?php echo round(($deal['mrp']/$deal['quantity']), 2);?>/- per unit.(Total <span class="cashbackrupee"></span> <?php echo $deal['mrp']?>)
169
                MRP <span class="cashbackrupee"></span> <?php echo round(($deal['mrp']/$deal['quantity']), 2);?>/- per unit.
-
 
170
                <!-- (Total <span class="cashbackrupee"></span> <?php //echo $deal['mrp']?>) -->
166
              <?php else:?> 
171
              <?php else:?> 
167
                MRP <span class="cashbackrupee"></span><span style="font-size:14px; color:#ff0000"><strong><?php echo $deal['mrp'];?></strong></span>
172
                MRP <span class="cashbackrupee"></span><span style="font-size:14px; color:#ff0000"><strong><?php echo $deal['mrp'];?></strong></span>
168
              <?php endif;?>
173
              <?php endif;?>
169
            <?php endif;?>
174
            <?php endif;?>
170
 
175
 
Line 254... Line 259...
254
            </button>
259
            </button>
255
          </div>
260
          </div>
256
          <?php endif;?>
261
          <?php endif;?>
257
          
262
          
258
          <?php if(isset($deal['filterLink']) && !empty($deal['filterLink']) && isset($deal['filterText']) && !empty($deal['filterText'])):?>
263
          <?php if(isset($deal['filterLink']) && !empty($deal['filterLink']) && isset($deal['filterText']) && !empty($deal['filterText'])):?>
259
          <div  class='see_more_link'>
264
          <div class='see_more_link'>
-
 
265
              <?php if(count($dealarray) >1):?>
-
 
266
                <?php if($key == 1):?>
-
 
267
                  <a href = <?php echo $deal['filterLink'];?> style='color:#737373;'><u><?php echo $deal['filterText'];?></u></a>
-
 
268
                <?php endif;?>
-
 
269
              <?php else:?>
260
            <a href = <?php echo $deal['filterLink'];?> style='color:#737373;'><u><?php echo $deal['filterText'];?></u></a>
270
                <a href = <?php echo $deal['filterLink'];?> style='color:#737373;'><u><?php echo $deal['filterText'];?></u></a>
-
 
271
              <?php endif;?>
261
             </div> 
272
          </div> 
-
 
273
 
262
          <?php endif;?>
274
          <?php endif;?>
263
          <?php //echo $deals["category_id"]?>
275
          <?php //echo $deals["category_id"]?>
264
          
276
          
265
          <!-- New Field end -->
277
          <!-- New Field end -->
266
        </div>
278
        </div>