Exemplo n.º 1
0
                echo urlShop('goods', 'index', array('goods_id' => $v['goods_id']));
                ?>
">
                                          	<img src="<?php 
                echo strpos($v['goods_pic'], 'http') === 0 ? $v['goods_pic'] : UPLOAD_SITE_URL . "/" . $v['goods_pic'];
                ?>
" alt="<?php 
                echo $v['goods_name'];
                ?>
" />
                                          	</a></dd>
                                          <dd class="goods-price"><?php 
                echo $lang['index_index_store_goods_price'] . $lang['nc_colon'];
                ?>
<em><?php 
                echo ncPriceFormatForList($v['goods_price']);
                ?>
</em></dd>
                                        </dl>
                                      </li>
                                    <?php 
            }
            ?>
                                    </ul>
                                  </div>
                          <?php 
        }
        ?>
                  <?php 
    }
    ?>
Exemplo n.º 2
0
                ?>
">
                                          	<img src="<?php 
                echo strpos($v['goods_pic'], 'http') === 0 ? $v['goods_pic'] : UPLOAD_SITE_URL . "/" . $v['goods_pic'];
                ?>
" alt="<?php 
                echo $v['goods_name'];
                ?>
" />
                                          	</a></dd>
                                          <dd class="goods-price"><em><?php 
                echo ncPriceFormatForList($v['goods_price']);
                ?>
</em>
                                            <span class="original"><?php 
                echo ncPriceFormatForList($v['market_price']);
                ?>
</span></dd>
                                        </dl>
                                      </li>
                                    <?php 
            }
            ?>
                                    </ul>
                                  </div>
                          <?php 
        } elseif (!empty($val['pic_list']) && is_array($val['pic_list'])) {
            ?>
                                <div class="tabs-panel middle-banner-style01 fade-img <?php 
            echo $i == 1 ? '' : 'tabs-hide';
            ?>
Exemplo n.º 3
0
    echo $goods_info['image_url_240'];
    ?>
" /></a> </dt>
      <dd class="goods-name"><span><strong><?php 
    echo $goods_info['xianshi_title'];
    ?>
</strong></span> <a target="_blank" href="<?php 
    echo $goods_info['goods_url'];
    ?>
"><?php 
    echo $goods_info['goods_name'];
    ?>
</a></dd>
    </dl>
    <div class="goods-price"><span class="sale">促销价<em><?php 
    echo ncPriceFormatForList($goods_info['xianshi_price']);
    ?>
</em>元</span><span class="depreciate"><i class="icon-long-arrow-down"></i>直降:¥<?php 
    echo $goods_info['down_price'];
    ?>
</span></div>
    <div class="goods-buy"><a href="javascript:void(0);" nctype="add_cart" data-param="{goods_id:<?php 
    echo $goods_info['goods_id'];
    ?>
}" class="btn">立即抢购</a> <span class="raty" data-score="<?php 
    echo $goods_info['evaluation_good_star'];
    ?>
" style="width: 100px;"></span> <span class="mt5"><a href="<?php 
    echo urlShop('show_store', 'index', array('store_id' => $goods_info['store_id']));
    ?>
"><?php 
Exemplo n.º 4
0
		<?php if (!empty($output['code_recommend_list']['code_info']) && is_array($output['code_recommend_list']['code_info'])) { $i = 0; ?>
		<?php foreach ($output['code_recommend_list']['code_info'] as $key => $val) { $i++; ?>
		<?php if(!empty($val['goods_list']) && is_array($val['goods_list'])) { ?>
		<div class="tabs-panel middle-goods-list <?php echo $i==1 ? '':'tabs-hide';?>">
			<ul>
			<?php foreach($val['goods_list'] as $k => $v){ ?>
				<li>
					<dl>
						<dt class="goods-name"><a target="_blank" href="<?php echo urlShop('goods','index',array('goods_id'=> $v['goods_id'])); ?>" title="<?php echo $v['goods_name']; ?>">
							<?php echo $v['goods_name']; ?></a></dt>
						<dd class="goods-thumb">
							<a target="_blank" href="<?php echo urlShop('goods','index',array('goods_id'=> $v['goods_id'])); ?>">
							<img src="<?php echo strpos($v['goods_pic'],'http')===0 ? $v['goods_pic']:UPLOAD_SITE_URL."/".$v['goods_pic'];?>" alt="<?php echo $v['goods_name']; ?>" />
							</a></dd>
						<dd class="goods-price"><em><?php echo ncPriceFormatForList($v['goods_price']); ?></em>
							<span class="original"><?php echo ncPriceFormatForList($v['market_price']); ?></span></dd>
					</dl>
				</li>
			<?php } ?>
			</ul>
		</div>
		<?php } elseif (!empty($val['pic_list']) && is_array($val['pic_list'])) { ?>
		<div class="tabs-panel middle-goods-list <?php echo $i==1 ? '':'tabs-hide';?>">
			<!-- S 新展示方式 -->
			<div class="conDivImg01" style="display: block;">
				<a href="<?php echo $val['pic_list']['11']['pic_url'];?>">
					<img src="<?php echo UPLOAD_SITE_URL.'/'.$val['pic_list']['11']['pic_img'];?>" style="height:254px;"><span><?php echo $val['pic_list']['11']['pic_name'];?></span>
				</a>
				<a href="<?php echo $val['pic_list']['12']['pic_url'];?>">
					<img src="<?php echo UPLOAD_SITE_URL.'/'.$val['pic_list']['12']['pic_img'];?>" style="height:254px;"><span><?php echo $val['pic_list']['12']['pic_name'];?></span>
				</a>
Exemplo n.º 5
0
        ?>
</em></a></div>

          <div class="goods-price">
          <em class="sale-price" title="<?php 
        echo $lang['goods_class_index_store_goods_price'] . $lang['nc_colon'] . $lang['currency'] . $value['goods_price'];
        ?>
"><?php 
        echo ncPriceFormatForList($value['goods_price']);
        ?>
</em>
          <em class="market-price" title="市场价:<?php 
        echo $lang['currency'] . $value['goods_marketprice'];
        ?>
"><?php 
        echo ncPriceFormatForList($value['goods_marketprice']);
        ?>
</em>
          <span class="raty" data-score="<?php 
        echo $value['evaluation_good_star'];
        ?>
"></span>
      </div>
          <div class="sell-stat">
            <ul>
              <li><a href="<?php 
        echo urlShop('goods', 'index', array('goods_id' => $value['goods_id']));
        ?>
#ncGoodsRate" target="_blank" class="status"><?php 
        echo $value['goods_salenum'];
        ?>
Exemplo n.º 6
0
<?php } ?>
</ul>
<?php if (!empty($output['code_sale_list']['code_info']) && is_array($output['code_sale_list']['code_info'])) { 
$i = 0;
?>
<?php foreach ($output['code_sale_list']['code_info'] as $key => $val) { 
$i++;
?>
	  <?php if(!empty($val['goods_list']) && is_array($val['goods_list'])) { ?>
			  <div class="tabs-panel sale-goods-list <?php echo $i==1 ? '':'tabs-hide';?>">
				<ul>
				<?php foreach($val['goods_list'] as $k => $v){ ?>
				  <li>
					<dl>
					  <dt class="goods-name"><a target="_blank" href="<?php echo urlShop('goods','index',array('goods_id'=>$v['goods_id'])); ?>" title="<?php echo $v['goods_name']; ?>">
						<?php echo $v['goods_name']; ?></a></dt>
					  <dd class="goods-thumb">
						<a target="_blank" href="<?php echo urlShop('goods','index',array('goods_id'=>$v['goods_id'])); ?>">
						<img src="<?php echo strpos($v['goods_pic'],'http')===0 ? $v['goods_pic']:UPLOAD_SITE_URL."/".$v['goods_pic'];?>" alt="<?php echo $v['goods_name']; ?>" />
						</a></dd>
					  <dd class="goods-price"><?php echo $lang['index_index_store_goods_price'].$lang['nc_colon'];?><em><?php echo ncPriceFormatForList($v['goods_price']); ?></em></dd>
					</dl>
				  </li>
				<?php } ?>
				</ul>
			  </div>
	  <?php } ?>
<?php } ?>
<?php } ?>

-->
Exemplo n.º 7
0
<div class="home-sale-layout wrapper">
  <div class="left-layout"> <?php echo $output['web_html']['index_sale'];?> </div>
  <?php if(!empty($output['xianshi_item']) && is_array($output['xianshi_item'])) { ?>
  <div class="right-sidebar">
    <div class="title">
      <h3><?php echo $lang['nc_xianshi'];?></h3>
    </div>
    <div id="saleDiscount" class="sale-discount">
      <ul>
        <?php foreach($output['xianshi_item'] as $val) { ?>
        <li>
          <dl>
            <dt class="goods-name"><?php echo $val['goods_name']; ?></dt>
            <dd class="goods-thumb"><a href="<?php echo urlShop('goods','index',array('goods_id'=> $val['goods_id']));?>"> <img src="<?php echo thumb($val, 240);?>"></a></dd>
            <dd class="goods-price"><?php echo ncPriceFormatForList($val['xianshi_price']); ?> <span class="original"><?php echo ncPriceFormatForList($val['goods_price']);?></span></dd>
            <dd class="goods-price-discount"><em><?php echo $val['xianshi_discount']; ?></em></dd>
            <dd class="time-remain" count_down="<?php echo $val['end_time']-TIMESTAMP;?>"><i></i><em time_id="d">0</em><?php echo $lang['text_tian'];?><em time_id="h">0</em><?php echo $lang['text_hour'];?> <em time_id="m">0</em><?php echo $lang['text_minute'];?><em time_id="s">0</em><?php echo $lang['text_second'];?> </dd>
            <dd class="goods-buy-btn"></dd>
          </dl>
        </li>
        <?php } ?>
      </ul>
    </div>
  </div>
  <?php } ?>
</div>

<!--StandardLayout Begin--> 
<?php echo $output['web_html']['index'];?> 
<!--StandardLayout End-->
Exemplo n.º 8
0
      <div class="title"><i>抢</i>近期抢购</div>
      <ul>
        <?php 
    foreach ($output['group_list'] as $val) {
        ?>
        <li>
          <dl style=" background-image:url(<?php 
        echo gthumb($val['groupbuy_image1'], 'small');
        ?>
)">
            <dt><?php 
        echo $val['groupbuy_name'];
        ?>
</dt>
            <dd class="price"><span class="groupbuy-price"><?php 
        echo ncPriceFormatForList($val['groupbuy_price']);
        ?>
</span><span class="buy-button"><a href="<?php 
        echo urlShop('show_groupbuy', 'groupbuy_detail', array('group_id' => $val['groupbuy_id']));
        ?>
">立即抢</a></span></dd>
            <dd class="time"><span class="sell">已售<em><?php 
        echo $val['buy_quantity'];
        ?>
</em></span> <span class="time-remain" count_down="<?php 
        echo $val['end_time'] - TIMESTAMP;
        ?>
"> <em time_id="d">0</em><?php 
        echo $lang['text_tian'];
        ?>
<em time_id="h">0</em><?php 
Exemplo n.º 9
0
        ?>
" target="_blank" title="<?php 
        echo $value['goods_name'];
        ?>
"><?php 
        echo $value['goods_name_highlight'];
        ?>
<h3 class="media-heading"><?php 
        echo $value['goods_name'];
        ?>
</h3></a></div>
          <div class="goods-price"> <em class="sale-price" title="<?php 
        echo $lang['goods_class_index_store_goods_price'] . $lang['nc_colon'] . $lang['currency'] . $value['goods_promotion_price'];
        ?>
"><?php 
        echo ncPriceFormatForList($value['goods_promotion_price']);
        ?>
</em>  </div>
          <div class="add-cart">
            <?php 
        if ($value['goods_storage'] == 0) {
            ?>
            <?php 
            if ($value['is_appoint'] == 1) {
                ?>
            <a href="javascript:void(0);" onclick="<?php 
                if ($_SESSION['is_login'] !== '1') {
                    ?>
login_dialog();<?php 
                } else {
                    ?>