<?php
require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Head_Shop_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" />
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Favourable.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>
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Favourable.js" type="text/javascript"></script>

<!-- ------ #Navigation ------ -->
<div class="OutFrame_A FavL_1_17"><div><a href="../../../Plus/m_default/Cms/default.php" class="Link1 FBlack1">首页</a>
<span>>></span> <a href="../../../Plus/m_default/Shop/favourableHome.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]['shfgtID']); ?>" class="Link1 FBlack1"><?php echo ($tmpDefault->sNavigation[$Coun0]['shfgtName']); ?></a>
<?php $Coun0--; } ?>
<span>>></span> <a href="#Here" class="Link1 FBlack1"><?php echo($tmpDefault->sMetaTitle); ?></a></div></div>
<!-- ------ #Content ------ -->
<div class="OutFrame_A">
<!-- ------ #Detail ------ -->
<?php if(count($tmpDefault->sDetailData)>0){ ?>
<h1 class="FavD_1_19"><?php echo ($tmpDefault->sDetailData[0]['shftName']); ?></h1>
<div class="FavD_1_20">发布时间：<?php echo ($tmpDefault->sDetailData[0]['shftCreateTime']); ?></div><br />
<ul class="FavD_1_2">
<li class="FavD_1_3">分享这个团购到：</li>
<?php
$Coun0=0;
foreach($tmpDefault->sData_LinkShare as $Row1){ ?>
<li class="FavD_1_4"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot'].$Row1['clctSourceR00']); ?>" /></li>
<li class="FavD_1_5"><a href="<?php echo(str_replace('{Nets.CONTENT}',$tmpDefault->sMetaTitle,str_replace('{Nets.URL}',$tmpDefault->sysURL,$Row1['cltURL']))); ?>" target="<?php echo($Row1['cltTarget']); ?>" class="Link1 FBlack2"><?php echo($Row1['cltName']); ?></a></li>
<?php $Coun0++; } ?>

<li class="FavD_1_6">本优惠券共被查看<span class="GsDetail_1_7"><?php echo ($tmpDefault->sDetailData[0]['shfctCount_Views']); ?></span>次</li>
<li class="DClear"></li></ul>
<div class="FavD_1_21"><br /><img src="<?php echo ($tmpDefault->sDetailData[0]['shfctSourceR00']); ?>" /><br /><br /></div>
<div class="FavD_1_23"><table class="FavD_1_24" cellpadding="0" cellspacing="0"><tr>

<td class="FavD_1_25">编号：</td><td class="FavD_1_26"><?php echo ($tmpDefault->sDetailData[0]['shftNumCode']); ?></td>
<td class="FavD_1_25">商家名称：</td><td class="FavD_1_26">21次</td>
</tr><tr>
<td class="FavD_1_25">下载次数：</td><td class="FavD_1_26"><?php echo ($tmpDefault->sDetailData[0]['shftSelled']); ?>次</td>
<td class="FavD_1_25">有效期限：</td><td class="FavD_1_26"><?php echo ($tmpDefault->sDetailData[0]['shftCreateTime']); ?> 至 <?php echo ($tmpDefault->sDetailData[0]['shftPassTime']); ?></td>
</tr><tr>
<td class="FavD_1_25">商家总下载数：</td><td class="FavD_1_26"><?php echo ($tmpDefault->sDetailData[0]['shftSelled']); ?>次</td>
<td class="FavD_1_25">&nbsp;</td><td class="FavD_1_26">
<a href="../../../Plus/m_default/Shop/favourableDetail.php?ActionType=DPrint_Normal&ID=<?php echo($tmpDefault->sMainID); ?>"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Favourable/3.jpg" /></a>&nbsp;&nbsp;
<a href="../../../Plus/m_default/Shop/favourableDetail.php?ActionType=DPrint_Mobile&ID=<?php echo($tmpDefault->sMainID); ?>"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Favourable/4.jpg" /></a>

</td>
</tr><tr>
<td class="FavD_1_25">优惠内容：</td><td class="FavD_1_26"><?php echo ($tmpDefault->sDetailData[0]['shfctIntroduct']); ?></td>
<td class="FavD_1_25">&nbsp;</td><td class="FavD_1_26">&nbsp;</td>

</tr></table></div>
<div class="Shadow">&nbsp;</div>
<!-- ### -->
<ul class="FavT_2_1">
<li class="FavT_2_2"><a href="#Here" class="Link1 FBlue2">兑换须知</a></li>

<li class="DClear"></li></ul>
<div class="FavD_1_27"><?php echo ($tmpDefault->sDetailData[0]['shfctContent']); ?></div><div class="Shadow">&nbsp;</div><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/favourableDetail.php?ID=<?php echo ($Row0['shftID']); ?>" class="FPoint0 Link1 FBlack2" target="_blank"><?php echo ($Row0['shftName']); ?></a><span class="Error_54"><?php echo ($tmpDefault->sCode->TimeFormat($Row0['shftCreateTime'],0)); ?></span><br />
	<?php } ?></div>
<br /><br /><br /><br /><br /><br /><br /></div>
<?php } ?>
</div><br />
<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpZone=new Zone();
tmpZone.sFlag="Shop";


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