index.phtml 1.76 KB
 <div class="liquidFix">
  <div class="daohang"> <a target="_blank" href="<?php print QINConfig_Site::$site_url;?>">有货首页</a> > <span>促销活动</span> </div>
  <div class="wrapper-container">
    
    <div class="promotion-title"><h2>促销活动</h2></div>
    
    <div class="con-right">
      <div class="con-right-box"> 
        
<div class="promotion-view">

<div class="pic">
<?php if(!empty($this->curPromotion['common_banner'])) { ?>
<a target="_blank" href="javascript:void(0)"><img src="<?php print $this->GetImages($this->curPromotion['common_banner'] , 'source' , 'promotionImg');?>"  /></a>
<?php } ?>
</div>
<div class="box">
<div class="time">[ 活动时间:<?php print date('Y.m.d', $this->curPromotion['start_time']) ?>-<?php print date('Y.m.d', $this->curPromotion['end_time']) ?> ]</div>
<p><?php print $this->curPromotion['description'] ?> </p>
</div>

</div>        
		<?php if(!empty($this->goods)){?>
        <div class="pr-listbox">
          <div class="title">
            <div class="page-r"><?php if(!empty($this->pager)){ print $this->pager->view();}?></div>
          </div>
          
          <?php print $this->boxGoods($this->goods);?>
         
          <div class="clear"></div>
          <div class="page"><?php if(!empty($this->page)){ print $this->page->view();}?></div>
          <div class="clear"></div>
        </div>
         <?php }?>
        <div class="clear"></div>
      </div>
    </div>

    <div class="con-left">
      <div class="promotion-nav">
        <ul>
		<?php print $this->BoxPromotionLeftlist($this->promotion_type, $this->promotion_id);  ?>
        </ul>      
      </div> 
      <?php print $this->QHtmlCode('20110628-093101');?>
      <div class="clear"></div>
    </div>
    <div class="clear"></div>
  </div>
  </div>