Subversion Repositories SmartDukaan

Rev

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

Rev 16533 Rev 17177
Line 64... Line 64...
64
            <?php endif;?>
64
            <?php endif;?>
65
          <?php endif;?>
65
          <?php endif;?>
66
          <div class="dealoffer <?php if(!isset($deal['offer']) || empty($deal['offer'])):?>hidden<?php endif;?> row">
66
          <div class="dealoffer <?php if(!isset($deal['offer']) || empty($deal['offer'])):?>hidden<?php endif;?> row">
67
              <div class="<?php if(strlen(strip_tags($deal['offer'],'<p>')) == strlen($deal['offer'])):?>offerhasnohtml<?php endif;?> col-xs-12 offertext" data-fulltext="<?php echo strip_tags($deal['offer']);?>">              
67
              <div class="<?php if(strlen(strip_tags($deal['offer'],'<p>')) == strlen($deal['offer'])):?>offerhasnohtml<?php endif;?> col-xs-12 offertext" data-fulltext="<?php echo strip_tags($deal['offer']);?>">              
68
                <?php //echo $this->Text->truncate($deal['offer'],140);?>
68
                <?php //echo $this->Text->truncate($deal['offer'],140);?>
-
 
69
                <?php 
-
 
70
                  if(strlen($deal['offer'])>0){
69
                <?php echo $deal['offer'];?>
71
                    echo $deal['offer'];
-
 
72
                  } 
-
 
73
                  else if($deal['source_id'] == 4){ 
-
 
74
                    echo "Exclusive price @ProfitMandi";
-
 
75
                  } 
-
 
76
                ?>
70
              </div>
77
              </div>
-
 
78
 
71
          </div>  
79
          </div>  
72
        </div>
80
        </div>
73
        <?php if($key==0):?>
81
        <?php if($key==0):?>
74
        <div class="col-xs-2 pull-right product_actions">
82
        <div class="col-xs-2 pull-right product_actions">
75
          <ul class="list-unstyled">
83
          <ul class="list-unstyled">