<!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>" />
<tpl>include file ='../store.config.html'</tpl>
<script type="text/javascript" language="javascript" src="<tpl> $Site_Url </tpl>/js/store/store_static.js"></script>
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/templates/green/store/css/storestyle.css"/>
<link href="..<tpl>$templatepath</tpl>/css/style/blue.css" rel="stylesheet" type="text/css" title="styles1" media="screen"  />
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/templates/green/store/css/default_new.css"/>
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/templates/green/store/css/header_new.css"/>
<STYLE type="text/css">
body {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}

#InfoSelectorTarget ul, #InfoSelectorTarget li.select{
	background-position:left -87px;
}
#InfoSelectorTarget li.select a {
	background-position:right -87px;
}
#title1,.title2 {
	border-top: 3px solid #3A81C8;
}

td#head {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#content {
	border:1px solid #bbb;
}
#layout_1 {
	border:medium none;
}
#layout_0 {
	border:medium none;
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#layout_0 h3 {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#layout_2 {
	border:medium none;
;
}
#layout_2 h3 {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
.mContent {
	border-top:medium none;
	border-right:medium none;
	border-left:medium none;
	border-bottom:1px solid #e5e5e5;
	height:101px;
	background:none transparent scroll repeat 0% 0%;
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#head div.alignright {
	float:right;
	margin:-28px 20px 0 0;
}
a {
	color:<tpl>$arrBlog.linkcolor</tpl>;
}
</STYLE>
</head>

<body id=body style="background-color: <tpl> $arrBlog.bodycolor </tpl>; background-image: url(<tpl> $arrBlog.bodyimage </tpl>); color: <tpl> $arrBlog.fontcolor </tpl>;background-repeat: <tpl> $arrBlog.bodyrepeat </tpl>;">

<!-- 头文件 -->
<div id="layout_page">
<!-- 导航蓝栏  -->

<div id="layout_page">
  <tpl> include file="../store_header.html" </tpl>
<div id="sitenav"></div>

<div style=" float:left;  height:5px; ">
<div style=" position:relative; top:-25px; text-align:left; padding-left:5px;">
<a href="<tpl> $site_url </tpl>"><tpl> $langCIndex </tpl></a> &gt; <a href="<tpl> $site_url </tpl>/home/shop.php?action=list&keyword=&slcShopClass="><tpl> $langCShop </tpl></a> &gt; <a href="index.php?userid=<tpl> $frame_user_id </tpl>"><tpl> $shop_array.shop_name|default:'my shop' </tpl></a>
</div>
</div>
<!--  背景图  -->
<div id="submenu_bg" style="background-color: <tpl>$arrBlog.headcolor</tpl>; background-image: url(<tpl>$arrBlog.headimage</tpl>); background-repeat:<tpl>$arrBlog.headrepeat</tpl>; color: <tpl>$arrBlog.headtextcolor</tpl>;">
<!-- 栏目 <a id="addtofav" href="#"><tpl> $langStoreCollectionShop </tpl></a> -->

<div id="submenu_bg_mainnav"><div id="submenu_bg_mainnav0"></div>
<!-- 子栏目  -->
<div id="submenu_bg_mainnav0_lanmu"><ul><li class="chaojixiaodian_1"><a href="<tpl> $shop_url </tpl>"><span><tpl> $langStoreControlMyShop </tpl></span></a></li>
<tpl> if $frame_shop_info.audit_state eq '2' </tpl>
	<li class="chaojixiaodian"><a href="intro.php?userid=<tpl> $frame_user_id </tpl>" target="_blank"><span><tpl> $langStoreControlShopIntro </tpl></span></a></li>
	<li class="dianpujieshao" id="show_shoptag"><a href="shop_map.php?userid=<tpl> $frame_user_id </tpl>" target="_blank"><span><tpl> $langStoreControlShopMap </tpl></span></a></li>
<tpl> else </tpl>
	<li class="chaojixiaodian" id="show_shoptag"><a href="intro.php?userid=<tpl> $frame_user_id </tpl>" target="_blank"><span><tpl> $langStoreControlShopIntro </tpl></span></a></li>
<tpl> /if </tpl>
</ul></div>
</div>
</div>
<table width="950" style="margin-left:auto; margin-right:auto; float:left;*float:none;_float:none; margin-top:10px;"border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><!-- 左边栏目<div class="container_left">  -->
		<table width="100%" style="background-color: <tpl>$arrBlog.contentcolor</tpl>; background-repeat: <tpl>$arrBlog.contentrepeat</tpl>; background-image: url(<tpl>$arrBlog.contentimage</tpl>);">
			<TBODY>
				<TR>
					<TD align="left" valign="top" id=layout_0 style="background-color: <tpl>$arrBlog.sidecolor</tpl>; background-image: url(<tpl>$arrBlog.sideimage</tpl>); background-repeat: <tpl>$arrBlog.siderepeat</tpl>;">
					<tpl>if $arrBlog.slayout eq '2' </tpl>
					<!-- 搜索 -->
					<div class="rightsidebar_sousuo">
					<form name="form1" action="product.php?userid=<tpl> $frame_user_id </tpl>" method="post">
						<input name="keyword" class="sou_sousuo" size="20" value="" style="height: 14px;" type="text">
						<input style=" width:56px; height:20px; font-size:12px;" name="Submit" value="<tpl> $langCSearchBaby </tpl>" type="submit">
						<input name="searchtype" size="20" value="1" style="height: 14px;" type="hidden">
					</form>
					
					</div>
					<!-- 店铺公告 -->
					<div class="container_right">
						<!-- 左边显示模式 -->
					<tpl>section name=item loop=$side_template</tpl>
							<tpl>if $side_template[item] neq ''</tpl>
								<div style="float:left; clear:both; margin-top:5px;" id="<tpl> $side_template[item] </tpl>">
										    
														
														<ul>
															<li style="background-color: <tpl>$arrBlog.blockcolor</tpl>; background-image: url(<tpl>$arrBlog.blockimage</tpl>); color: <tpl>$arrBlog.blocktextcolor</tpl>; background-repeat: <tpl>$arrBlog.blockrepeat</tpl>; width:181px; float:left;" id=block<tpl> $side_template[item] </tpl> ><!-- 栏目内容 --></li>
 	  	 	  
														</ul>

								</div>
							<tpl>/if</tpl>
						<tpl>/section</tpl>
					<tpl>/if</tpl>
					<tpl>if $arrBlog.slayout eq '-1'</tpl>
						<!-- 两边边显示模式 -->
						<tpl>section name=item loop=$left_template</tpl>
							<tpl>if $left_template[item] neq ''</tpl>
								<DIV id="<tpl>$left_template[item]</tpl>" ></DIV>
							<tpl>/if</tpl>
						<tpl>/section</tpl>
					</div>
					<tpl>/if</tpl>
					</div>
					</TD>
				  	<TD align="center"  id=layout_1 style="background-color: <tpl>$arrBlog.maincolor</tpl>; background-image: url(<tpl>$arrBlog.mainimage</tpl>); background-repeat: <tpl>$arrBlog.mainrepeat</tpl>;">
					<div style="margin-left:auto; margin-right:auto; width:735px;">
					<div class="content_left_tuijianshangpin">
						<div class="content_left_tuijianshangpin_daohang"><ul><li class="right_wenzi">
							<tpl> if $condition.recommended eq '1' </tpl>
								<tpl> $langSRecommendedProduct</tpl>
							<tpl> else </tpl>
								<tpl> $langStoreAllBaby </tpl>
							<tpl> /if </tpl>
						</li><li class="right_tupian"></li><li><div style="width:81px; height:20px; margin-top:2px; *margin-top:2px; _margin-top:3px; ">
				<tpl> if $view_type eq 'list' </tpl>
						<input style="width:81px; cursor:pointer; height:20px; font-size:12px; border:0px; background:url(<tpl> $site_url </tpl>/templates/green/store/images/qiyong.gif); line-height:22px; *line-height:21px; _line-height:22px; vertical-align:middle;" name="ClosePicView" value="<tpl> $langStoreOpenImageBrowse </tpl>" type="button" onclick="$('#view_type').val('');$('#product_condition').submit();" />
					<tpl> else  </tpl>
						<input style="width:81px; cursor:pointer; height:20px; font-size:12px; border:0px; background:url(<tpl> $site_url </tpl>/templates/green/store/images/qiyong.gif); line-height:23px;  *line-height:21px; _line-height:22px; vertical-align:middle;"   name="ClosePicView" value="<tpl> $langStoreCloseImageBrowse </tpl>" type="button" onclick="$('#view_type').val('list');$('#product_condition').submit();" />
					<tpl> /if  </tpl> 		
						
						
						
						</div></li></ul></div>
					<form id="product_condition" action="product.php" method="GET">
						<!-- 商品列表检索参数 -->
						<input type="hidden" name="keyword" id="keyword" value="<tpl> $condition.keyword </tpl>" />
						<input type="hidden" name="searchtype" id="searchtype" value="<tpl> $condition.searchtype </tpl>" />
						<input type="hidden" name="classid" id="classid" value="<tpl> $condition.classid </tpl>" />
						<input type="hidden" name="recommended" id="recommended" value="<tpl> $condition.recommended </tpl>" />
						<input type="hidden" name="list" id="list" value="<tpl> $condition.list </tpl>" />
						<input type="hidden" name="price" id="price" value="<tpl> $condition.price </tpl>" />
						<input type="hidden" name="view_type" id="view_type" value="<tpl> $view_type </tpl>" />
						<input type="hidden" name="userid" id="userid" value="<tpl> $frame_user_id </tpl>" />
					</form>
					
					
					<div class="fenye_0">
<ul><li class="fenye_00"><a href="javascript:;" onclick="$('#price').val('up');$('#product_condition').submit();"><tpl> $langStorePriceLowToHigh </tpl></a></li>
					<li class="fenye_00"> 
					<a href="javascript:;" onclick="$('#price').val('down');$('#product_condition').submit();"><tpl> $langStorePriceHighToLow </tpl></a></li>
					<li class="fenye_02"><tpl> $page_list </tpl></li></ul>
					</div>
					<!-- 商品信息 -->
					<div class="content_left_xindaobaobei_tupian">
                	<tpl> section name=i loop=$product_array </tpl>
					  
					  <tpl> if $view_type eq 'list' </tpl>
					  
					  
					  
					  <div class="preliterate0"><ul>
					  
							<tpl> if $ifhtml eq '1' && $product_array[i].html_url neq '' </tpl> 
								<li class="preliterate0_1"><a class="lianjie_jiage2" href="<tpl> $site_url </tpl>/<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="preliterate0_1"><a class="lianjie_jiage2" 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 class="preliterate0_2">
								<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>
								<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></li>
							<li class="preliterate0_3"><tpl> $langStoreSpare </tpl><tpl> $product_array[i].left_days </tpl><tpl> $langStoreDay </tpl></li>




					  <tpl> else  </tpl>


					    <div class="picture0"> <ul><li><div class="picture2">
							<tpl> if $ifhtml eq '1' && $product_array[i].html_url neq '' </tpl>
								<a href="<tpl> $site_url </tpl>/<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>" /></a>
								 </div>
				</li>
				<li>
								<a class="lianjie_biaoti" 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>
				<li>
							<tpl> else </tpl>
							
								<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>" /></a>
								</li>
								<li>
								<a class="lianjie_biaoti" 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 style=" color:#FF0000; font-size:12px;">
							  	<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>
								<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></li>
							<li><tpl> $langStoreSpare </tpl><tpl> $product_array[i].left_days </tpl><tpl> $langStoreDay </tpl></li>
						<tpl> /if  </tpl>

						</ul>
			            </div>
					  <tpl> /section </tpl>


					  </div>
					<div style="float:left;*float:none;_float:none; width:730px; text-align:right; height:25px; border-bottom:#c7ced7 1px solid; background-color:#f0f0f0; padding-right:5px; line-height:28px; *line-height:22px; _line-height:25px; vertical-align:middle"><tpl> $page_list </tpl></div>

					</TD>
					</div>
					<TD align="right" valign="top" id=layout_2 style="background-color: <tpl>$arrBlog.sidecolor</tpl>; background-image: url(<tpl>$arrBlog.sideimage</tpl>); background-repeat: <tpl>$arrBlog.siderepeat</tpl>;">
						<tpl> if $arrBlog.slayout eq '0' </tpl>
							<!-- 搜索 -->
							<div class="rightsidebar_sousuo">
							<form name="form1" action="product.php?userid=<tpl> $frame_user_id </tpl>" method="post">
								<input name="keyword" class="sou_sousuo" size="20" value=""  type="text">
								<input style=" width:56px; height:20px; font-size:12px;" name="Submit" value="<tpl> $langCSearchBaby </tpl>" type="submit">
								<input name="searchtype" size="20" value="1" style="height: 14px;" type="hidden">
							</form>
							</div>
						<div class="container_right">
							<tpl>section name=item loop=$side_template</tpl>
							<tpl>if $side_template[item] neq ''</tpl>
								<div style="float:left; clear:both; margin-top:5px;" id="<tpl> $side_template[item] </tpl>">
										    
														
														<ul>
															<li style="background-color: <tpl>$arrBlog.blockcolor</tpl>; background-image: url(<tpl>$arrBlog.blockimage</tpl>); color: <tpl>$arrBlog.blocktextcolor</tpl>; background-repeat: <tpl>$arrBlog.blockrepeat</tpl>; width:181px; float:left;" id=block<tpl> $side_template[item] </tpl> ><!-- 栏目内容 --></li></ul>

								</div>
							<tpl>/if</tpl>
						<tpl>/section</tpl>
					<tpl>/if</tpl>
					<tpl>if $arrBlog.slayout eq '-1'</tpl>
						<!-- 两边边显示模式 -->
						<tpl>section name=item loop=$left_template</tpl>
							<tpl>if $left_template[item] neq ''</tpl>
								<DIV id="<tpl>$left_template[item]</tpl>" ></DIV>
							<tpl>/if</tpl>
						<tpl>/section</tpl>
					</div>
					<tpl>/if</tpl>
					</div>
					</TD>
				</TR>
			</TBODY>
		</table>
	</td>
  </tr>
</table>
<tpl> include file ='../../../html/footer.html' </tpl>
</body>
<script type="text/javascript">
function showMessage(begin,id)
{
	$.ajax({
			type:'get',
			url:'index.php',
			data: 'action=ajax_'+id+'&userid=<tpl> $frame_user_id </tpl>&mid='+'<tpl>$mid</tpl>&ajax=1',
			success:function(msg){
				if (id == 'shoptag') {
					$('#'+begin+id).after(msg);
				} else {
					$('#'+begin+id).html(msg);	
				}
			}
		});
}
<tpl>section name=item loop=$side_template</tpl>
	<tpl>if $side_template[item] neq ''</tpl>
		showMessage('block','<tpl>$side_template[item]</tpl>');
	<tpl>/if</tpl>
<tpl>/section</tpl>
<tpl>section name=main loop=$main_template</tpl>
	<tpl>if $main_template[main] neq ''</tpl>
		showMessage('show_','<tpl>$main_template[main]</tpl>');
	<tpl>/if</tpl>
<tpl>/section</tpl>
//头部
//showMessage('html','head');
showMessage('show_','shoptag');
hideSide(<tpl>$arrBlog.slayout</tpl>);
get_quickL_links();
</script>
</html>