<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<tpl> $NCharset </tpl>" />
<link href="<tpl> $template_dir </tpl>/store/css/layout.css" rel="stylesheet" type="text/css" />
<tpl>include file ='../store.config.html'</tpl>
<link href="<tpl> $site_url </tpl>/templates/storestyle/<tpl>$frame_shop_info.shop_style</tpl>/style.css" rel="stylesheet" type="text/css" />
</head><body><!-- 调用头文件 -->
<tpl>include file ='../store_header.html'</tpl>
<script>
//收藏
function product_collection(shop_id){
	$.get("<tpl> $site_url </tpl>/member/own_collection.php",{action:"new",genre:"store",collection:shop_id,random_number:Math.random()},function(data){
		if(data == '-1'){alert("<tpl> $langSListLoginOperator </tpl>");}
		if(data == '0'){alert("<tpl> $langSListSelfNotCollectionSelf </tpl>");}
		if(data == '1'){alert("<tpl> $langSListCollectionSucceed </tpl>");}
		if(data == '2'){alert("<tpl> $langSListCollection </tpl>");}
	});
}
// 类别
function a_category_sign(id){
	$('#span_category_'+id).toggle();
	$('#a_category_'+id).removeClass();
	if($('#span_category_'+id).css('display') == 'none'){
		$('#a_category_'+id).addClass('splay');
	}else{
		$('#a_category_'+id).addClass('close');
	}
}
</script>
<div id="container1024">
<div id="ShopFP">
<div id="ShopFP_top">

<h1><tpl>$frame_shop_info.shop_name</tpl></h1>
<span>
</span>
    <ul id="NavBar" class="NavBar"><!-- 店铺导航栏 -->
	<tpl> if $smarty.get.tag eq '' </tpl>      
     	<li class="select"><div class="bg_lasuo1">
    <tpl> else </tpl>
    	<li class="jieshao">
    <tpl> /if </tpl>
      	 <a href="index.php?userid=<tpl>$frame_user_id</tpl>"><tpl> $langStoreHomePage </tpl></a>
  	<tpl> if $smarty.get.tag eq '' </tpl>
  		</div><div class="bg_lasuo"> </div></li>
  	<tpl> else </tpl>
		</li>
  	<tpl> /if </tpl>  
      
      <!-- 商店名称 -->
      <li class="jieshao"><a href="intro.php?userid=<tpl>$frame_user_id</tpl>" target="_blank"><tpl> $langStoreShopIntro </tpl></a></li>
      <tpl> if $frame_shop_info.audit_state eq '2' </tpl>
      <li class="jieshao"><a href="shop_map.php?userid=<tpl>$frame_user_id</tpl>" target="_blank"><tpl> $langStoreShopMap </tpl></a></li>
      <tpl> /if </tpl>
      <tpl> section name=t loop=$tag_array </tpl>
      	<tpl> if $smarty.get.tag eq $tag_array[t].tag_id </tpl>
      	<li class="select"><div class="bg_lasuo1">
      	<tpl> else </tpl>
      		<li class="jieshao">
      	<tpl> /if </tpl>
      		<tpl> if $tag_array[t].tag_url eq '' </tpl>
      			<a href="index.php?userid=<tpl>$frame_user_id</tpl>&tag=<tpl> $tag_array[t].tag_id </tpl>">
      		<tpl> else </tpl>
      			<a href="<tpl> $tag_array[t].tag_url </tpl>" target="_blank">
      		<tpl> /if </tpl>
      			<tpl> $tag_array[t].tag_name </tpl>
      		</a>
      	<tpl> if $smarty.get.tag eq $tag_array[t].tag_id </tpl>
      		</div><div class="bg_lasuo"> </div></li>
      	<tpl> else </tpl>
			</li>
      	<tpl> /if </tpl>      		
      <tpl> /section </tpl>      
    </ul>
	</div>
	<!-- banner pic -->

	<tpl> if $frame_shop_info.shop_banner_pic neq '' </tpl>
		<img src="<tpl> $site_url </tpl>/<tpl> $frame_shop_info.shop_banner_pic </tpl>" name="banner_pic" width="950" height="124"  id="banner_pic" />
	<tpl> /if </tpl>

	<!-- banner pic end -->
    <div id="ShopInfo"><!-- 店铺掌柜及公告信息 -->
      <div id="PicAndFav"><!-- 店铺信息 -->
        <div id="ShopPic"><!-- 店铺logo -->
			<img src="<tpl> $site_url </tpl>/<tpl> $frame_shop_info.shop_pic|default:'templates/green/home/images/images_new/storepic_default.gif' </tpl>" >
		</div>
	<div class="store_img"><!-- 收藏及查看店铺 -->
	<span><a id="addtofav" href="javascript:;" onclick="product_collection('<tpl>$frame_user_id</tpl>');">
	<tpl> $langStoreCollectionShop </tpl></a><tpl> if $frame_shop_info.audit_state eq '2' </tpl>
	</span>
	<span><a href="shop_map.php?userid=<tpl>$frame_user_id</tpl>" target="_blank">
	<tpl> $langStoreShopPlace </tpl></a>
		<tpl> /if </tpl>
		</span>
	</div>
      </div>
      <div id="ShopInfoList"><!-- 店铺与掌柜信息 -->
        <ul>
          <li><span class="ListHint"><tpl> $langStoreShopkeeper </tpl>:</span><tpl> $frame_shop_info.login_name </tpl> 
		  <tpl> if $frame_shop_info.audit_state == '2' </tpl> 
			<img src="<tpl> $template_dir </tpl>/store/images/renzheng_g.gif"  border="0" title="<tpl> $langStoreAlreadyEntityShop </tpl>"/>
          <tpl> /if </tpl>
		  <tpl> if $frame_shop_info.personal_certify == '2' </tpl> 
			<img src="<tpl> $template_dir </tpl>/home/images/images_new/renzhen-g.gif"  border="0" title="<tpl> $langStorePersonalCertify </tpl>"/>
          <tpl> /if </tpl>
		  </li>
          <li><span class="ListHint"><tpl> $langStoreSaleCredit </tpl>:</span>
		  	<a href="user_rate.php?userid=<tpl>$frame_user_id</tpl>"><tpl> $member_array.sale_score|default:'0' </tpl></a>
		  	<a href="user_rate.php?userid=<tpl>$frame_user_id</tpl>">
			<tpl> foreach from=$sale_score.median item=one </tpl>
				<tpl> if $sale_score.level eq '0' </tpl>
					<img title="<tpl> $sale_score.interval.one </tpl>－<tpl> $sale_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>" src="<tpl> $template_dir </tpl>/images/b_red_1.gif" alt="<tpl> $sale_score.interval.one </tpl>－<tpl> $sale_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>">
				<tpl> /if </tpl>
				<tpl> if $sale_score.level eq '1' </tpl>
					<img title="<tpl> $sale_score.interval.one </tpl>－<tpl> $sale_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>" src="<tpl> $template_dir </tpl>/images/b_red_2.gif" alt="<tpl> $sale_score.interval.one </tpl>－<tpl> $sale_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>">
				<tpl> /if </tpl>
				<tpl> if $sale_score.level eq '2' </tpl>
					<img title="<tpl> $sale_score.interval.one </tpl>－<tpl> $sale_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>" src="<tpl> $template_dir </tpl>/images/b_red_3.gif" alt="<tpl> $sale_score.interval.one </tpl>－<tpl> $sale_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>">
				<tpl> /if </tpl>
			<tpl> /foreach </tpl>
			</a>
		  </li>
          <li><span class="ListHint"><tpl> $langStoreBuyCredit </tpl>:</span>
		  	<a href="user_rate.php?userid=<tpl>$frame_user_id</tpl>"><tpl> $member_array.buy_score|default:'0' </tpl></a>
		  	<a href="user_rate.php?userid=<tpl>$frame_user_id</tpl>">
			<tpl> foreach from=$buy_score.median item=one </tpl>
				<tpl> if $buy_score.level eq '0' </tpl>
					<img title="<tpl> $buy_score.interval.one </tpl>－<tpl> $buy_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>" src="<tpl> $template_dir </tpl>/images/b_red_1.gif" alt="<tpl> $buy_score.interval.one </tpl>－<tpl> $buy_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>">
				<tpl> /if </tpl>
				<tpl> if $buy_score.level eq '1' </tpl>
					<img title="<tpl> $buy_score.interval.one </tpl>－<tpl> $buy_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>" src="<tpl> $template_dir </tpl>/images/b_red_2.gif" alt="<tpl> $buy_score.interval.one </tpl>－<tpl> $buy_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>">
				<tpl> /if </tpl>
				<tpl> if $buy_score.level eq '2' </tpl>
					<img title="<tpl> $buy_score.interval.one </tpl>－<tpl> $buy_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>" src="<tpl> $template_dir </tpl>/images/b_red_3.gif" alt="<tpl> $buy_score.interval.one </tpl>－<tpl> $buy_score.interval.two </tpl><tpl> $langStoreIntegralLook </tpl>">
				<tpl> /if </tpl>
			<tpl> /foreach </tpl>
			</a>
		  </li>
          <li><span class="ListHint"><tpl> $langStoreBabyNum </tpl>:</span><tpl> $product_count|default:'0' </tpl> </li>
          <li><span class="ListHint"><tpl> $langStoreCreateTime </tpl>:</span><tpl> $frame_shop_info.practice_time </tpl></li>
          <li><span class="ListHint"><tpl> $langStoreAddress </tpl>:</span>
		  	<tpl> section name=loop loop=$shop_area </tpl>
		  		<tpl> $shop_area[loop].area_name </tpl>
		  	<tpl> /section </tpl>
		  </li>
          <li><span class="ListHint"><tpl> $langStoreAffiliation </tpl>:</span> 
		  	<a href="<tpl> $site_url </tpl>/member/own_message.php?action=add&username=<tpl>$frame_shop_info.sms_username</tpl>" target="_blank"><img src="<tpl>$site_url</tpl>/templates/green/store/images/zhannei.gif" alt="<tpl> $langStoreSendEpistle </tpl>"/></a>
			<tpl> if $member_array.TAOBAO neq '' </tpl>	
				  <a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid=<tpl> $member_array.TAOBAO </tpl>&site=cntaobao&s=2" ><img border="0" src="http://amos1.taobao.com/online.ww?v=2&uid=<tpl> $member_array.TAOBAO </tpl>&site=cntaobao&s=2" alt="<tpl> $langStoreOnClickMyInfo </tpl>" /></a>
			<tpl> /if </tpl> 
			<tpl> if $member_array.QQ neq '' </tpl>	  
					
				  <a target=blank href=tencent://message/?uin=<tpl> $member_array.QQ </tpl>&Site=www.shopnc.com&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:<tpl> $member_array.QQ </tpl>:4 alt="<tpl> $langStoreOnClickMyInfo </tpl>"></a>
			<tpl> /if </tpl> 
			<tpl> if $member_array.SKYPE neq '' </tpl>
				<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
				<a href="skype:<tpl> $member_array.SKYPE </tpl>?call"><img src="http://download.skype.com/share/skypebuttons/buttons/call_blue_transparent_34x34.png" style="border: none;" width="19" height="19" alt="Skype Me?!" /></a>
			<tpl> /if </tpl>
			<tpl> if $member_array.MSN neq '' </tpl>
				<A href="msnim:chat?contact=<tpl> $member_array.MSN </tpl>"><IMG src="http://img8.cn.msn.com/images/msfp_008.gif" width="19" height="19" border="0"></A>
			<tpl> /if </tpl>
			<!-- ntalker start -->
			<tpl> if $ntalker_sign eq '1' </tpl>
				<span style="padding-left:10px;" class="wdk_user_status_span" id="wdk_user_<tpl> $member_array.member_id </tpl>" title="<tpl> $member_array.login_name </tpl>" ></span>
			<tpl> /if </tpl>
			<!-- ntalker end -->
		  </li>
        </ul>
      </div>
      <div id="ShopAnnounceContainer"><!-- 店铺公告信息 -->
        <h1><tpl> $langStoreShopAffiche </tpl></h1>
        <div id="ShopAnnounceContent">
          <marquee style="position: relative;" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="1" scrolldelay="85" direction="up" behavior="scroll" height="100%">
          <tpl>$frame_shop_info.proclamation</tpl>
          <!-- 商店公告 -->
          </marquee>
        </div>
        <div id="VipCardTitle" style="display: none;"></div>
      </div>
    </div>
    <div id="RecommendedItems">
      <table>
        <tbody>
          <tr> <tpl> section name=k loop=$shop_recommended_product_array </tpl>
            <td valign="top"><div class="ReItem">
                <div class="ReItemPic"> 
				<tpl> if $ifhtml eq '1' && $shop_recommended_product_array[k].html_url neq '' </tpl>
					<a href="<tpl> $shop_recommended_product_array[k].html_url </tpl>" target="_blank"> 
				<tpl> else </tpl>
					<a href="<tpl> $site_url </tpl>/home/product.php?action=view&pid=<tpl> $shop_recommended_product_array[k].p_code </tpl>" target="_blank"> 
				<tpl> /if </tpl>
				<img src="<tpl> $site_url </tpl>/<tpl> $shop_recommended_product_array[k].small_pic|default:'templates/green/images/noimgs.gif' </tpl>" width="<tpl> $shop_recommended_product_array[k].width|default:'100' </tpl>" height="<tpl> $shop_recommended_product_array[k].height|default:'100' </tpl>"> </a> 				
				</div>
                <div class="ItemName"> 
				<tpl> if $ifhtml eq '1' && $shop_recommended_product_array[k].html_url neq '' </tpl>
				<a href="<tpl> $site_url </tpl>/home/product.php?action=view&pid=<tpl> $shop_recommended_product_array[k].p_code </tpl>" target="_blank"> 
				<tpl> else </tpl>
				<a href="<tpl> $site_url </tpl>/home/product.php?action=view&pid=<tpl> $shop_recommended_product_array[k].p_code </tpl>" target="_blank"> 
				<tpl> /if </tpl>
				<tpl> $shop_recommended_product_array[k].p_name </tpl> </a> </div>
                <div> 
				<tpl> if $shop_recommended_product_array[k].p_sell_type eq '0' </tpl>
					<tpl> $langStoreProductSellAuction </tpl>
				<tpl> /if </tpl>
				<tpl> if $shop_recommended_product_array[k].p_sell_type eq '1' </tpl>
					<tpl> $langCfixprice </tpl>
				<tpl> /if </tpl>
				<tpl> if $shop_recommended_product_array[k].p_sell_type eq '2' </tpl>
					<tpl> $langStoreProductSellGroup </tpl>
				<tpl> /if </tpl>
				<span class="ItemPrice">
					<tpl> if $shop_recommended_product_array[k].p_sell_type eq '2' </tpl><!-- 团购 -->
						<tpl> $shop_recommended_product_array[k].p_group_price </tpl>
					<tpl> else </tpl>
						<tpl> $shop_recommended_product_array[k].p_price </tpl>
					<tpl> /if </tpl>
				 <tpl> $langCYuan </tpl></span> </div>
              </div></td>
				<tpl> if $smarty.section.k.rownum%6 eq 0 </tpl>
			  	</tr>
				<tr>
				<tpl> /if </tpl>
            <tpl> /section </tpl> </tr>
        </tbody>
      </table>


    <div id="ShopMain"><!-- 左边店铺类目以及友情衔接 -->
      <div id="shopmain1">
	  <div class="box_border">
	  <div class="box_inside">
	  <div class="ItemCategoriesTitle"><tpl> $langCSearchBaby </tpl></div>
	     <div class="ItemContent"> <div id="InShopSearch"> <!-- 搜索宝贝框 -->
              <form name="form1" action="index.php?userid=<tpl> $userid </tpl>" method="get">
			  	<input name="userid" size="20" value="<tpl> $userid </tpl>" type="hidden">
			  	<input name="searchtype" size="20" value="1" type="hidden">
                <input name="keyword" size="20" value="" style="height: 14px;" class="searchinput" type="text">
                <input value="<tpl> $langCSearchBaby </tpl>" type="submit">
              </form>
            </div></div>
			</div>
			</div>
			
			  <div class="box_border">
	  <div class="box_inside">
			
        <div class="ItemCategoriesTitle"><tpl> $langStoreShopClass </tpl></div>
          <div class="ItemContent"> <a href="index.php?userid=<tpl> $frame_user_id </tpl>"><b><tpl> $langStoreAllBaby </tpl></b></a>
            <ul>
              <tpl> section name=i loop=$category_array </tpl>
				  <!-- 商店宝贝分类 -->
				  <li>
					  <tpl> if $category_array[i].child[0].class_id neq '' </tpl>
							<tpl> if $category_array[i].class_if_open eq '0' </tpl>
								<a class="close" id="a_category_<tpl> $category_array[i].class_id </tpl>" href="javascript:;" onclick="a_category_sign(<tpl> $category_array[i].class_id </tpl>);"></a><!--html('+');-->
							<tpl> /if </tpl>
							<tpl> if $category_array[i].class_if_open eq '1' </tpl>
								<a class="splay" id="a_category_<tpl> $category_array[i].class_id </tpl>" href="javascript:;" onclick="a_category_sign(<tpl> $category_array[i].class_id </tpl>);"></a>
							<tpl> /if </tpl>
					  <tpl> else </tpl>
					  		<span class="splay"></span>
					  <tpl> /if </tpl>
				  <tpl> if $category_array[i].class_pic neq '' </tpl>
					<a class="left-interval" href="index.php?userid=<tpl> $frame_user_id </tpl>&classid=<tpl> $category_array[i].class_id </tpl>"><img class="img_width" src="<tpl> $category_array[i].class_pic </tpl>" title="<tpl> $category_array[i].class_name </tpl>" /></a>
				  <tpl> else </tpl>
					<a class="left-interval" href="index.php?userid=<tpl> $frame_user_id </tpl>&classid=<tpl> $category_array[i].class_id </tpl>"><tpl> $category_array[i].class_name </tpl></a>
				  <tpl> /if </tpl>
				  </li>
				  <span class="subroutine" id="span_category_<tpl> $category_array[i].class_id </tpl>" <tpl> if $category_array[i].class_if_open eq '1' </tpl>style="display:none"<tpl> /if </tpl>>
					  <tpl> foreach from=$category_array[i].child item=one </tpl>
						  <li>
							  <tpl> if $one.class_pic neq '' </tpl>
								<a class="bg_style" href="index.php?userid=<tpl> $frame_user_id </tpl>&classid=<tpl> $one.class_id </tpl>"><img class="img_width" src="<tpl> $one.class_pic </tpl>" title="<tpl> $one.class_name </tpl>" /></a>
							  <tpl> else </tpl>
								<a class="bg_style" href="index.php?userid=<tpl> $frame_user_id </tpl>&classid=<tpl> $one.class_id </tpl>"><tpl> $one.class_name </tpl></a>
							  <tpl> /if </tpl>
						  </li>
					  <tpl> /foreach </tpl>
				  </span>
				   <p></p>
              <tpl> /section </tpl>
            </ul>
          </div>
        </div></div>
		  <div class="box_border">
	  <div class="box_inside">
          <div class="ItemCategoriesTitle"><tpl> $langStoreFirendLink </tpl></div>
          <div class="ItemContent"> <!-- 商店友情链接列表 -->
            <ul>
              <tpl> section name=i loop=$link_array </tpl>
              <!-- 商店友情链接 -->
              <li><a href="index.php?userid=<tpl> $link_array[i].link_shop_id </tpl>"><tpl> $link_array[i].shop_name </tpl></a></li>
              <tpl> /section </tpl>
            </ul>
          </div>
		  </div></div>
        </div>
      </div>
       <tpl> if $tag_content eq '' </tpl>
      <div id="ItemCol"><!-- 右边所有宝贝显示 -->
        <div id="itemcol2">
          <div id="SubNavBar">
            <ul class="NavBar" id="navbar1">
              <li <tpl> if $list eq '' </tpl>class="select"<tpl> /if  </tpl>><a href="index.php?userid=<tpl> $userid </tpl>&price=<tpl> $price_sort </tpl>&classid=<tpl> $classid </tpl>&view_type=<tpl> $view_type </tpl>"><tpl> $langStoreAllBaby </tpl></a></li>
              <!--<li <tpl> if $list eq 'new' </tpl>class="select"<tpl> /if  </tpl>><a href="index.php?userid=<tpl> $userid </tpl>&price=<tpl> $price_sort </tpl>&classid=<tpl> $classid </tpl>&view_type=<tpl> $view_type </tpl>&list=new"><tpl> $langStoreNewBaby </tpl></a></li>
              <li <tpl> if $list eq 'end' </tpl>class="select"<tpl> /if  </tpl>><a href="index.php?userid=<tpl> $userid </tpl>&price=<tpl> $price_sort </tpl>&classid=<tpl> $classid </tpl>&view_type=<tpl> $view_type </tpl>&list=end"> <tpl> $langStoreAtOnceEnd </tpl></a></li>-->
            </ul>
          
          </div>
          <div id="ViewInfoTop">
		<div id="viewmode">
              <dl>
                <dt><tpl> $langStoreOut </tpl>：</dt>
                <dd id="pic" <tpl> if $view_type neq 'list' </tpl>class="current"<tpl> /if  </tpl>><a href="index.php?userid=<tpl> $userid </tpl>&price=<tpl> $price_sort </tpl>&classid=<tpl> $classid </tpl>&list=<tpl> $list </tpl>" title="<tpl> $langStoreOpenImageBrowse </tpl>"></a></dd>
                <dd id="list" <tpl> if $view_type eq 'list' </tpl>class="current"<tpl> /if  </tpl>><a href="index.php?userid=<tpl> $userid </tpl>&price=<tpl> $price_sort </tpl>&classid=<tpl> $classid </tpl>&view_type=list&list=<tpl> $list </tpl>" title="<tpl> $langStoreCloseImageBrowse </tpl>"></a></dd>
                <dt><tpl> $langStoreSort </tpl>：</dt>
                <dd>
					<tpl> if $price_sort eq 'up' || $price_sort eq '' </tpl>
					<input title="<tpl> $langStorePriceLowToHigh </tpl>" name="" type="button" onclick="location.href='index.php?userid=<tpl> $userid </tpl>&price=down&classid=<tpl> $classid </tpl>&view_type=<tpl> $view_type </tpl>&list=<tpl> $list </tpl>'" id="price" />
					<tpl> /if </tpl>
					<tpl> if $price_sort eq 'down' </tpl>
					 <input title="<tpl> $langStorePriceHighToLow </tpl>" name="" type="button" onclick="location.href='index.php?userid=<tpl> $userid </tpl>&price=up&classid=<tpl> $classid </tpl>&view_type=<tpl> $view_type </tpl>&list=<tpl> $list </tpl>'" id="price_d" />
					<tpl> /if </tpl>
                </dd>
              </dl>
              <div class="pages"><tpl> $page_list </tpl></div>
            </div>
            
            <div class="ViewInfoLeft"></div>
            <div class="ViewInfoRight">  </div>
          </div>
<tpl> if $view_type eq 'list' </tpl>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-bottom:1px dashed #f8c2d7">
	<tr>
		<td width="200" height="35" align="left"><strong>&nbsp;
		    <tpl> $langStoreBabyName </tpl>
		</strong></td>
		<td width="100" height="35" align="left"><strong>
		  <tpl> $langStorePrice </tpl>
		</strong></td>
		<td width="100" height="35" align="left"><strong>
		  <tpl> $langStoreBusiness </tpl>
		</strong></td>
		<td width="100" height="35" align="left"><strong>
		  <tpl> $langStoreSpareTime </tpl>
		</strong></td>
	</tr> 
</table>
<tpl> /if  </tpl>
          <tpl> section name=i loop=$product_array </tpl>
			 <tpl> if $view_type eq 'list' </tpl>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td width="200" align="left">&nbsp;
			  <tpl> if $ifhtml eq '1' && $product_array[i].html_url neq '' </tpl>
					<a href="<tpl> $product_array[i].html_url </tpl>" target="_blank" title="<tpl> $product_array[i].p_name </tpl>"> <tpl> $product_array[i].p_name </tpl> 
					</a> 
				<tpl> else </tpl>
					<a href="<tpl> $site_url </tpl>/home/product.php?action=view&pid=<tpl> $product_array[i].p_code </tpl>" target="_blank" title="<tpl> $product_array[i].p_name </tpl>"> <tpl> $product_array[i].p_name </tpl> </a> 
				<tpl> /if </tpl>
			</td>			
			<td width="100" align="left">
				<span class="ItemSellType"> 
					<tpl> if $product_array[i].p_sell_type eq '0' </tpl>
						<tpl> $langStoreProductSellAuction </tpl>
					<tpl> /if </tpl>
					<tpl> if $product_array[i].p_sell_type eq '1' </tpl>
						<tpl> $langCfixprice </tpl>
					<tpl> /if </tpl>
					<tpl> if $product_array[i].p_sell_type eq '2' </tpl>
						<tpl> $langStoreProductSellGroup </tpl>
					<tpl> /if </tpl>
				</span>
			</td>
			<td width="100" align="left">
				<span class="ItemPrice">
					<tpl> if $product_array[i].p_sell_type eq '2' </tpl><!-- 团购 -->
						<tpl> $product_array[i].p_group_price </tpl> 
					<tpl> else </tpl>
						<tpl> $product_array[i].p_price </tpl> 
					<tpl> /if </tpl>
				<tpl> $langCYuan </tpl> 
				</span>
			</td>
			<td width="100" align="left"><tpl> $langStoreSpare </tpl>
			  <tpl> $product_array[i].left_days </tpl><tpl> $langStoreDay </tpl></td>
		</tr>
	</table>
	 <tpl> else  </tpl>
		  			<ul class="Item">
						<tpl> if $ifhtml eq '1' && $product_array[i].html_url neq '' </tpl>
							<li class="ItemPic"> 
								<a href="<tpl> $product_array[i].html_url </tpl>" target="_blank"><img src="<tpl> $site_url </tpl>/<tpl> $product_array[i].small_pic|default:'templates/green/images/noimgs.gif' </tpl>" width="<tpl> $product_array[i].width|default:'100' </tpl>" height="<tpl> $product_array[i].height|default:'100' </tpl>" /></a> 
							</li>
							<li class="ItemName"> 
								<a href="<tpl> $product_array[i].html_url </tpl>" target="_blank" title="<tpl> $product_array[i].p_name </tpl>"> <tpl> $product_array[i].p_name </tpl> </a> 
							</li>
						<tpl> else </tpl>
							<li class="ItemPic"> 
								<a href="<tpl> $site_url </tpl>/home/product.php?action=view&pid=<tpl> $product_array[i].p_code </tpl>" target="_blank"><img src="<tpl> $site_url </tpl>/<tpl> $product_array[i].small_pic|default:'templates/green/images/noimgs.gif' </tpl>" width="100" height="100" /></a> 
							</li>
							<li class="ItemName"> 
								<a href="<tpl> $site_url </tpl>/home/product.php?action=view&pid=<tpl> $product_array[i].p_code </tpl>" target="_blank" title="<tpl> $product_array[i].p_name </tpl>"> <tpl> $product_array[i].p_name </tpl> </a> 
							</li>
						<tpl> /if </tpl>
						<li> <span class="ItemSellType"> 
						<tpl> if $product_array[i].p_sell_type eq '0' </tpl>
							<tpl> $langStoreProductSellAuction </tpl>
						<tpl> /if </tpl>
						<tpl> if $product_array[i].p_sell_type eq '1' </tpl>
							<tpl> $langCfixprice </tpl>
						<tpl> /if </tpl>
						<tpl> if $product_array[i].p_sell_type eq '2' </tpl>
							<tpl> $langStoreProductSellGroup </tpl>
						<tpl> /if </tpl>
						</span> <span class="ItemPrice">
							<tpl> if $product_array[i].p_sell_type eq '2' </tpl><!-- 团购 -->
								<tpl> $product_array[i].p_group_price </tpl> 
							<tpl> else </tpl>
								<tpl> $product_array[i].p_price </tpl> 
							<tpl> /if </tpl>
						<tpl> $langCYuan </tpl> </span> </li>
						<li class="ItemTimeLeft"><tpl> $langStoreSpare </tpl><tpl> $product_array[i].left_days </tpl><tpl> $langStoreDay </tpl></li>			
		  </ul>
			  <tpl> /if  </tpl>
          <tpl> /section </tpl>
		  <div style="clear:both"></div>
          <div id="ViewInfoBottom">
            <div class="ViewInfoLeft"></div>
            <div class="ViewInfoRight"> <tpl> $page_list </tpl> </div>
          </div>
        </div>
        <div id="GuestBook"><!-- 给店家留言及店家回复 -->
          <div id="GuestBookTitle">
            <div id="GBNewMessage"><tpl> $langStoreNewLeaveWord </tpl></div>
            <div class="GBallMessage"><a href="message.php?action=new&userid=<tpl>$frame_user_id</tpl>"><tpl> $langStoreMyLeaveWord </tpl></a></div>
            <div class="GBallMessage"><a href="message.php?userid=<tpl>$frame_user_id</tpl>"><tpl> $langStoreAllLeaveWord </tpl></a></div>
			<div style="clear:both"></div>
          </div>
          <div id="GuestBookContent"> 
		  	<tpl> section name=i loop=$message_array </tpl>
				<div class="GBMessage">
				  <div class="IdAndTime"><tpl> $langStoreBuyer </tpl>：<b> <tpl> $message_array[i].member_name </tpl></b>&nbsp;
					<tpl> $langStoreMsgSetTime </tpl>&nbsp;<tpl> $message_array[i].message_time </tpl> </div>
				  <div class="MessageContent"> <tpl> $message_array[i].message_content </tpl></div>
				  <div class="MessageContent_re"> 
					<span class="MessageFromSellerHint"><tpl> $langStoreShopkeeperRestore </tpl>：</span> <span class="MessageFromSeller"><tpl> $message_array[i].message_recontent </tpl></span> </div></div>
				  <div class="ReplyTheMessage"> </div>
				
            <tpl> /section </tpl>
			<div style="clear:both"></div>
		  </div>
			<div style="clear:both"></div>
        </div>
      </div>

    </div>    </div>
  </div>
  <tpl> else </tpl>
  	<div id="ItemCol" style="text-align:left;width:700px;overflow:hidden; padding-top:10px;padding-bottom:10px;">
  		<tpl> $tag_content </tpl>
  	</div>
  <tpl> /if </tpl>  
  <tpl> include file ='../../../html/footer.html' </tpl> </div>
</body>

</html>