<!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">
<base href="<?=$mymps_global[SiteUrl]?>" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title><?=$page_title?></title>
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/global.css" />
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/style.css" />
<? if($mymps_global[bodybg] == 1){?><link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/bodybg.css" /><? }?>
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/style.head_<?=$mymps_global[head_style]?>.css" />
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/goods.head_<?=$mymps_global[head_style]?>.css" />
<link rel="stylesheet" href="plugin/goods/template/style.css" />
<link rel="stylesheet" href="plugin/goods/template/view.css" />
<script language="javascript">
var current_domain = '<?=$mymps_global[SiteUrl]?>';
</script>
<script src="<?=$mymps_global[SiteUrl]?>/template/global/noerr.js" type="text/javascript"></script>
<script src="<?=$mymps_global[SiteUrl]?>/template/default/js/global.js" type="text/javascript"></script>
<script src="<?=$mymps_global[SiteUrl]?>/template/default/js/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="template/global/messagebox.js"></script>
<script language="JavaScript" src="plugin/goods/template/goods.js"></script>
</head>

<body class="<?=$mymps_global[cfg_tpl_dir]?> <?=$mymps_global[screen_search]?>">
	<? include mymps_tpl('inc_head');?>
	<div class="body1000">
	<div class="clear"></div>
	<div class="location"><?=$location?></div>
	<div class="clear"></div>
		<div class="indexcontent mt5" style="overflow:hidden">
			<div class="cfix"> 
				<div class="pro_mainPic">
					<img src="<?=$mymps_global[SiteUrl]?><?=$goods[picture]?>" width="280" height="260" alt="" />
				</div>
				<div class="pro_mainInfo">
					<div class="hd cfix">
						<h2 title="<?=$goods[goodsname]?>"><?=cutstr($goods[goodsname],46)?>
						<img src="<?=$mymps_global[SiteUrl]?>/plugin/goods/template/images/remai.gif" alt=""  style="display:<? if($goods[remai] != 1){?>none<? }?>"/>
						<img src="<?=$mymps_global[SiteUrl]?>/plugin/goods/template/images/tuijian.gif" alt=""  style="display:<? if($goods[tuijian] != 1){?>none<? }?>"/>
						<img src="<?=$mymps_global[SiteUrl]?>/plugin/goods/template/images/cuxiao.gif" alt=""   style="display:<? if($goods[cuxiao] != 1){?>none<? }?>"/>
						</h2>
						<span class="right"><b><?=$goods[hit]?></b>人浏览过了</span>
						<div class="clear"></div>
						<div class="info cfix">
							<div class="left">
							<? if($goods[rushi] == 1){?><span class="miaosu">如实描述</span><? }?>
							<? if($goods[tuihuan] == 1){?><span class="tuihuan">七天退换</span><? }?>
							<? if($goods[jiayi] == 1){?><span class="peisan">假一赔三</span><? }?>
							<? if($goods[baozhang] == 1){?><span class="baozhang">正品保障</span><? }?>
							</div>
							<div class="right" style="display:<? if($goods[baozhang] != 1){?>none<? }?>">消费者保障计划</div>
						</div>
					</div>
					<div class="bd">
						<ul class="cfix">
							<li>商品编号：<?=$goods[goodsbh]?></li>
							<li>是否促销：否</li>
							<li class="cfix"><span class="shangjia_name">供货商家：<a target="_blank" href='<?=$goods[tname_uri]?>'><?=$goods[tname]?></a></span><span class="shangjia"><img src="../template/default/images/pro_show_25.gif" alt="" style="display:none"/></span></li>
							<li>货源：<? if($goods[huoyuan] == 1){?><span class="youhuo">有货</span><? }else{?><span class="quehuo">无货</span><? }?></li>
						</ul>
						<div class="price">
							<span class="title">市场价格：<del><?=$goods[oldprice]?></del>　我们价格：<b><?=$goods[nowprice]?></b></span>
						</div>
						<div class="presentation cfix"><a href="javascript:window.external.AddFavorite(window.location.href,document.title)" class="fav_pro">收藏此商品</a>赠送礼品：<?=$goods[gift]?></div>
						
						<div class="push_button">
							<div class="buy"><img src="<?=$mymps_global[SiteUrl]?>/plugin/goods/template/images/pro_show_24.png" alt=""  style="cursor:pointer" onclick="setbg('购买商品',510,480,'<?=$mymps_global[SiteUrl]?>/box.php?part=goodsorder&id=<?=$goods[goodsid]?>');"  /></div>
							<!--<div class="alipay"><img src="<?=$mymps_global[SiteUrl]?>/plugin/goods/template/images/pro_show_26.png" alt="" /></div>-->
							<div class="service cfix"> 
								<ul>
								<li class="pic"><a href="tencent://message/?uin=<?=$goods[oicq]?>&Site=&Menu=yes"  target="_blank "><img src="<?=$mymps_global[SiteUrl]?>/plugin/goods/template/images/qq_online2.gif" alt="" border="0"/></a></li>
								</ul> 
							</div> 
							
						</div>
					</div>
				</div>
			</div>
			<!-- 商品详情 -->
			<div class="pro_info cfix">
				<div class="hd">
					<ul class="subtab cfix">
						<li name="s8" class="selected" id="s8_jieshao" onclick="show_tab('jieshao');"><a href="javascript:;">商品介绍</a></li>
						<li name="s8" id="s8_quhuo" onclick="show_tab('quhuo');"><a href="javascript:;">配送与取货</a></li>
						<li name="s8" id="s8_fukuan" onclick="show_tab('fukuan');"><a href="javascript:;">付款方式</a></li>
						<li name="s8" id="s8_service" onclick="show_tab('service');"><a href="javascript:;">售后服务</a></li>
					</ul>
				</div>
				
				<div id="desc">
					<ul class="bd" id="jieshao">
						<?=$goods[content]?>
					</ul>
					<ul class="bd" id="quhuo" style="display:none">
						<?=$goods[quhuo]?>
					</ul>
					<ul class="bd" id="fukuan" style="display:none">
						<?=$goods[fukuan]?>
					</ul>
					<ul class="bd" id="service" style="display:none">
						<?=$goods[service]?>
					</ul>
				</div>
				
	
			</div>
			<!-- 同类商品 -->
			<div class="bl_module cfix">
				<span class="tp_rc"></span>
				<div class="bd">
					<h3 class="yellow">同类商品推荐</h3>
					<span class="line_yellow"></span>
					<div class="cont_proList">
						<ul class="cfix">
						<? foreach($relategoods as $k =>$relate){?>
							<li> <b><a href="<?=$relate[uri]?>" target=_blank><img src="<?=$mymps_global[SiteUrl]?><?=$relate[pre_picture]?>" alt=""  width="130" height="120"/></a></b> <span class="price"><?=$relate[nowprice]?><del>￥<?=$relate[old_price]?></del></span> <span class="title"><a href="<?=$relate[uri]?>"  target=_blank><?=cutstr($relate[goodsname],20)?></a></span> </li>
						<? }?>
							
						</ul>
					</div>
				</div>
				<div class="ft"><a href="#top"><img src="<?=$mymps_global[SiteUrl]?>/plugin/goods/template/images/returnTop_08.gif" alt="top" /></a></div>
				<span class="ft_rc"></span>
			</div>
			<!-- 主体 结束 -->
		</div>
		<div class="clear"></div>
		<? include mymps_tpl('inc_foot');?>
	</div>
</div>
</body>
</html>