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

?>
<!-- ------ #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">
<!-- ------ ### ------ -->
<div class="Fav_FrameC">
<!-- ### -->
<div class="FavL_1_12"><table class="FavL_1_13"  cellpadding="0" cellspacing="0">
<!--
<tr><td class="FavL_1_14">热门商圈：</td><td class="FavL_1_15">
<a href="<?php echo($tmpDefault->getSearch(-1,2)); ?>" class="Link2 <?php if($tmpDefault->sSearchAR[0]==-1){ echo('FavL_1_16'); }else{ echo('FBlack3'); } ?>">所有商圈</a>
<?php
$Coun0=0;
foreach($tmpDefault->sData_Zonechild as $Row0){ ?>
<a href="<?php echo($tmpDefault->getSearch($Row0['sztID'],2)); ?>" class="Link2 <?php if($tmpDefault->sSearchAR[0]==$Row0['sztID']){ echo('FavL_1_16'); }else{ echo('FBlack3'); } ?>"><?php echo($Row0['sztName']); ?></a>
<?php } ?>
</td></tr>
-->
<tr><td class="FavL_1_14">优惠类别：</td><td class="FavL_1_15">
<?php
$Coun0=0;
foreach($tmpDefault->sParid2 as $Row0){ ?>
<a href="<?php echo($tmpDefault->getSearch($Row0['Value'],0)); ?>" class="Link2 <?php if($tmpDefault->sMainID==$Row0['Value']){ echo('FavL_1_16'); }else{ echo('FBlack3'); } ?>"><?php echo($Row0['Text']); ?></a>
<?php $Coun0++; } ?>
</td></tr>

</table></div>
<!-- ### -->
<ul class="FavT_1_1">
<li class="FavT_1_2"><a href="../../../Plus/m_default/Shop/favourableList.php" class="Link1 FBlack2">优惠券</a></li>
<li class="FavT_1_3"><a href="../../../Plus/m_default/Shop/favourableList.php" class="Link1 FBlack3">您查看的优惠券分类是：<?php echo($tmpDefault->sMetaTitle); ?>  共有<?php echo($tmpDefault->sRecordCount); ?>个优惠券</a></li>

<li class="DClear"></li></ul>
<!-- ### -->
<ul class="">
<?php
$Coun0=0;
foreach($tmpDefault->sListData as $Row0){ ?>
<li class="FavL_1_4" <?php if(($Coun0+1)%3==0){ ?>style="margin-right:0px;"<?php } ?>>
<div class="FavL_1_5"><a href="../../../Plus/m_default/Shop/favourableDetail.php?ID=<?php echo($Row0['shftID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($tmpDefault->sCode->SubString($Row0['shftName'],0,16)); ?></a></div>
<div class="FavL_1_6"><a href="../../../Plus/m_default/Shop/favourableDetail.php?ID=<?php echo($Row0['shftID']); ?>" target="_blank"><img src="<?php echo($Row0['shfctSourceR00']); ?>" /></a></div>
<table class="FavL_1_7" cellpadding="0" cellspacing="0">
<tr><td class="FavL_1_8">有效时间：</td><td class="FavL_1_9"><?php echo($Row0['shftCreateTime']); ?></td></tr>
<tr><td class="FavL_1_8">载次数：</td><td class="FavL_1_9"><?php echo($Row0['shftSelled']); ?>次</td></tr>
</table>
<div class="FavL_1_10">
<div class="FavL_1_11"><a href="../../../Plus/m_default/Shop/favourableDetail.php?ActionType=DPrint_Normal&ID=<?php echo($Row0['shftID']); ?>" target="_blank"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Favourable/3.jpg" /></a></div>
<div class="FavL_1_11"><a href="../../../Plus/m_default/Shop/favourableDetail.php?ActionType=DPrint_Mobile&ID=<?php echo($Row0['shftID']); ?>" target="_blank"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Favourable/4.jpg" /></a></div>
</div>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<!-- #Pagebutton -->
<br /><div><?php $tmpDefault->sPButton->showPage(); ?></div><br />


</div>
<!-- ------ #RIGHT ------ -->
<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Menu_Favourable_0.php'); ?>
<div class="DClear"></div></div><br />
<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpZone=new Zone();
tmpZone.sFlag="Shop";


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