<?php
require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Head_Shop_0.php');
require($tmpDefault->sysFileConfig['PathRoot'].'Cache/DbCache/Adv/Cache_0.php');
$tmpMenuParid=2;
$tmpMenuPrice=100;

?>
<!-- ------ #Ssheet ------ -->
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Zone.css" rel="stylesheet" />
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Shop.css" rel="stylesheet" />
<!-- ------ #Jscript ------ -->
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Zone.js" type="text/javascript"></script>
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Shop.js" type="text/javascript"></script>

<!-- ------ #Navigation ------ -->
<div class="OutFrame_A Navigation_0"><div><a href="../../../Plus/m_default/Cms/default.php" class="Link1 FBlack1">首页</a>
<span>>></span> <a href="../../../Plus/m_default/Shop/saleHome.php" class="Link1 FBlack1">商城首页</a>
<?php
$Coun0=count($tmpDefault->sNavigation)-2;
while ($Coun0>-1) { ?>
<span>>></span> <a href="../../../Plus/m_default/Shop/saleList.php?ID=<?php echo ($tmpDefault->sNavigation[$Coun0]['shsgtID']); ?>" class="Link1 FBlack1"><?php echo ($tmpDefault->sNavigation[$Coun0]['shsgtName']); ?></a>
<?php $Coun0--; } ?>
<span>>></span> <a href="#Here" class="Link1 FBlack1"><?php echo($tmpDefault->sMetaTitle); ?></a></div></div>
<!-- ------ #Content ------ -->
<div class="OutFrame_A">
<!-- ------ #Menu ------ -->
<div class="Shop_BM"><?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Menu_Shop_0.php'); ?></div>
<!-- ------ #Content ------ -->
<div class="Shop_BC">
<!-- ------ #Info ------ -->
<?php if(count($tmpDefault->sDetailData)>0){ ?>
<div class="ShopG_2_1">
<div class="ShopG_2_2"><a href="#Here"><img src="<?php echo ($tmpDefault->sDetailData[0]['shuctSourceR00']); ?>" /></a></div>
<div class="ShopG_2_3">
<h1 class="ShopG_2_4"><?php echo ($tmpDefault->sDetailData[0]['shutName']); ?></h1>
<table class="ShopG_2_6" cellpadding="0" cellspacing="0"><tr>

<td class="ShopG_2_7">信用等级：</td><td class="ShopG_2_8" colspan="3"><?php echo ($tmpDefault->sDetailData[0]['shuctInfo_Credit']); ?></td>
</tr><tr>
<td class="ShopG_2_7">企业名称：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComName']); ?></td>
<td class="ShopG_2_7">营业证号：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComIdCode']); ?></td>
</tr><tr>
<td class="ShopG_2_7">员工人数：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComPersonCount']); ?></td>
<td class="ShopG_2_7">年营业额：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComYearMoney']); ?></td>
</tr><tr>
<td class="ShopG_2_7">主要客户群：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComCustomTypes']); ?></td>
<td class="ShopG_2_7">注册资金：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComRegisterFund']); ?></td>
</tr><tr>
<td class="ShopG_2_7">体系认证：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComManageSystem']); ?></td>
<td class="ShopG_2_7">品牌名称：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComBrand']); ?></td>
</tr><tr>
<td class="ShopG_2_7">法人代表：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComRegisterPeople']); ?></td>
<td class="ShopG_2_7">成立时间：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComCreateTime']); ?></td>
</tr><tr>
<td class="ShopG_2_7">主要产品：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComProduct']); ?></td>
<td class="ShopG_2_7">经营模式：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComBusinessModel']); ?></td>


</tr></table></div>
<div class="DClear"></div></div><br />
<!-- ------ #Detail ------ -->
<ul class="Sale_Tab_1">
<?php
$tmpAR_Tab=array(
	'商家产品',
	'详细介绍',
	'联系方式',
	'在线咨询',
	);

$Coun0=0;
foreach($tmpAR_Tab as $Row0){ ?>
<li id="saleTabA_<?php echo($Coun0); ?>" class="Sale_Tab_3"><a href="#Here" onclick="tmpShop.OnDetail_Tab_A('A',<?php echo($Coun0); ?>);" class="Link2 FBlack3"><?php echo($Row0); ?></a></li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<?php
$Coun0=0;
foreach($tmpAR_Tab as $Row0){ 
	if($Coun0==0){ ?>
<div id="saleBoxA_<?php echo($Coun0); ?>" class="DHidden">
<ul class="">
<?php
$Coun0=0;
foreach($tmpDefault->sData_Sales as $Row0){ ?>
<li class="ShopL_0_11" onmouseover="this.className='ShopL_0_11 ShopL_0_11_A';" onmouseout="this.className='ShopL_0_11 ShopL_0_11_B';">
<div class="ShopL_0_12"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo($Row0['shstID']); ?>" target="_blank"><img src="<?php echo($Row0['shsctSourceR00']); ?>" class="Shop_Img" /></a></div>
<div class="ShopL_0_13"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo($Row0['shstID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['shstName']); ?></a></div>
<div class="ShopL_0_14"><span class="ShopH_0_43">原价：</span><span class="ShopH_0_74">￥<?php echo($Row0['shsctPrice0']); ?></span></div>
<div class="ShopL_0_14"><span class="ShopH_0_43">现价：</span><span class="ShopH_0_75">￥<?php echo($Row0['shstPrice']); ?></span></div>
<div class="ShopL_0_23">
	<div class="ShopL_0_24 Shop_Button_0"><a href="../../../Plus/Common/shop/salecar_list.php?DCarOperation=<?php echo ($Row0['shstID']); ?>;1;0;0;0;0" class="Link2 SBlue1" target="_blank">订购</a></div>
	<div class="ShopL_0_24 Shop_Button_0"><a href="#Here" onclick="tmpShop.OnCompare_Add(<?php echo($Row0['shstID']); ?>);" class="Link2 SBlue1">对比</a></div>
	<div class="DClear"></div></div>
</li>


<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<!-- #Pagebutton -->
<div><?php $tmpDefault->sPButton->showPage(); ?></div><br />


</div>
<?php }else if($Coun0==1){ ?>
<div id="saleBoxA_<?php echo($Coun0); ?>" class="DHidden"><?php echo ($tmpDefault->sDetailData[0]['shuctContent']); ?></div>
<?php }else if($Coun0==2){ ?>
<div id="saleBoxA_<?php echo($Coun0); ?>" class="DHidden">
<table class="ShopG_2_6" cellpadding="0" cellspacing="0"><tr>

<td class="ShopG_2_7">企业类型：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComType']); ?></td>
<td class="ShopG_2_7">联系人：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComContact']); ?></td>
</tr><tr>
<td class="ShopG_2_7">联系电话：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComContactTele']); ?></td>
<td class="ShopG_2_7">QQ号：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComContactQQ']); ?></td>
</tr><tr>
<td class="ShopG_2_7">联系邮编：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComNumCode']); ?></td>
<td class="ShopG_2_7">企业主页：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComContactWebsite']); ?></td>
</tr><tr>
<td class="ShopG_2_7">企业电邮：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComContactEmail']); ?></td>
<td class="ShopG_2_7">企业传真：</td><td class="ShopG_2_8"><?php echo ($tmpDefault->sDetailData[0]['shuctComContactFax']); ?></td>
</tr><tr>
<td class="ShopG_2_7">联系地址：</td><td class="ShopG_2_8" colspan="3"><?php echo ($tmpDefault->sDetailData[0]['shuctComContactAddress']); ?></td>


</tr></table></div>
<?php }else if($Coun0==3){ ?>
<!-- #<?php echo($Coun0); ?> -->
<div id="saleBoxA_<?php echo($Coun0); ?>" class="DHidden"><div class="ShopD_1_4">
<!-- ------ #Discuss ------ -->
<!-- #DiscussData -->
<div id="discussBox"><!--S.discussBox--><?php $Coun0=1; foreach ($tmpDefault->sDiscussData as $Row0){ ?>
<div class="ShopD_1_10">
<div class="ShopD_1_11"><span>#<?php echo ($Coun0); ?></span> 网友：<?php echo ($Row0['shsdctPublisher_Name']); ?> 发表于 <?php echo ($Row0['shsdtCreateTime']); ?></span></div>
<div class="ShopD_1_12"><?php echo ($Row0['shsdctContent']); ?></div>
</div>
<?php $Coun0++; } ?>
<!-- #Pagebutton -->
<br /><div><?php $tmpDefault->sPButton->showPage(); ?></div><br />
<!--sendRequest--><!--E.discussBox--></div>
<!-- #DiscussBox -->
<div class="DocDe_49"><table cellpadding="0" cellspacing="8">
<?php
$tmpFlag='Normal';
foreach ($tmpDefault->sUiDescription_0 as $Row0){
	$tmpDefault->DefUiPanel($Row0,$tmpFlag);
	$tmpControls->getControl($Row0);
} ?>
<tr><td></td><td class="FBlack4">网友评论只表达了其个人看法，并不表示本站同意其观点。</td></tr>
<tr><td></td><td><input type="submit" value="提交评论" onclick="tmpCommon.setActionType('','DAdd','','ID=<?php echo($tmpDefault->sMainID); ?>');" /></td></tr>
</table></div>

</div></div>
<?php } $Coun0++; } ?>




<br /><br />
<?php }else{ ?>
<div class="Error_51"><br /><br /><br /><br /><br /><br /><br />
<div class="Error_52">您所查看的商家并不存在。</div>
<div class="Error_53">您所查看的商家并不存在，您可以查看其它商家：<br />
	<?php foreach ($tmpDefault->sOtherData as $Row0){ ?>
	<a href="../../../Plus/m_default/Shop/unitDetail.php?ID=<?php echo ($Row0['shutID']); ?>" class="FPoint0 Link1 FBlack2" target="_blank"><?php echo ($Row0['shutName']); ?></a><span class="Error_54"><?php echo ($tmpDefault->sCode->TimeFormat($Row0['shutCreateTime'],0)); ?></span><br />
	<?php } ?></div>
<br /><br /><br /><br /><br /><br /><br /></div>
<?php } ?>
</div><div class="DClear"></div></div><br />
<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpZone=new Zone();
tmpZone.sFlag="Shop";
var tmpShop=new Shop();
tmpShop.OnNavigation(0);
tmpShop.OnDetail_Tab_A("A",0);


</script>
<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/End_Shop_0.php'); ?>