<?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>

<?php if(count($tmpDefault->sDetailData)>0){ ?>
<!-- ------ #Content ------ -->
<div class="OutFrame_A"><br />

<div class="FavD_1_40"><a href="#Here" onclick="tmpCommon.OnPrint();"><img src="<?php echo ($tmpDefault->sDetailData[0]['shfctSourceR00']); ?>" /></a></div>
<div class="FavD_1_41"><?php echo ($tmpDefault->sDetailData[0]['shfctContent']); ?></div>
<div class="FavD_1_20"><a href="../../../Plus/m_default/Shop/favourableDetail.php?ID=<?php echo($tmpDefault->sMainID); ?>" class="Link4 FBlack4">查看优惠详细信息</a></div><br />


<br /><br /></div>
<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpZone=new Zone();
tmpZone.sFlag="Shop";

//-- ------ # ------ --
<?php $tmpDefault->sTimecallbackDefined=1; ?>
var tmpPrint_TimeIndex=0;

function netsTime_callback(){
	
	//-- ### --
	if(tmpPrint_TimeIndex==100){
		tmpCommon.OnPrint();
	}
	
	tmpPrint_TimeIndex++;
	tmpFrames.hiddenContent();
}


</script>
<?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 } ?>
<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/End_Shop_0.php'); ?>