<?php
require($tmpDefault->sysFileConfig['PathRoot'].'Cache/DbCache/Adv/Cache_0.php');
require($netsFileConfig['bussinessTemplatePackagePath_Real'].'Component/Head_Gsnavigation_0.php');

$tmpTimeruns='';
?>
<!-- ------ #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/Gsnavigation.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/Gsnavigation.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/Gsnavigation/gsnavigationHome.php" class="Link1 FBlack1">团购导航首页</a>
<?php
$Coun0=count($tmpDefault->sNavigation)-2;
while ($Coun0>-1) { ?>
<span>>></span> <a href="../../../Plus/m_default/Gsnavigation/gsnavigationactiveList.php?ID=<?php echo ($tmpDefault->sNavigation[$Coun0]['gsnagtID']); ?>" class="Link1 FBlack1"><?php echo ($tmpDefault->sNavigation[$Coun0]['gsnagtName']); ?></a>
<?php $Coun0--; } ?>
<span>>></span> <a href="#Here" class="Link1 FBlack1"><?php echo($tmpDefault->sMetaTitle); ?></a></div></div>
<!-- ------ #Content ------ -->
<!-- ------ #Condition ------ -->
<!-- ### -->
<div class="OutFrame_A Gsnav_List_4_6">
<div class="Gsnav_List_4_7">如果您认为本站不错，请说明是在“<?php echo($tmpDefault->sysFileConfig['bussinessMetaTitle']); ?>”看到的信息。</div>
<table class="Gsnav_List_4_8" cellpadding="0" cellspacing="0">
<!-- # -->
<tr><td class="Gsnav_List_4_9">团购分类：</td><td class="Gsnav_List_4_10">
<?php
$Coun0=0;
foreach($tmpDefault->sParid2 as $Row0){ ?>
<a href="<?php echo($tmpDefault->getSearch($Row0['Value'],0)); ?>" class="Link1 Gsnav_List_4_11 <?php if($tmpDefault->sMainID==$Row0['Value']){ ?>tile_Yellow<?php }else{ ?>FBlack3<?php } ?>"><?php echo($Row0['Text']); ?></a>
<?php $Coun0++; } ?>
</td></tr>
<!-- # -->
<tr><td class="Gsnav_List_4_9">团购状态：</td><td class="Gsnav_List_4_10">
<?php
$Coun0=0;
foreach($tmpDefault->sState2 as $Row0){ ?>
<a href="<?php echo($tmpDefault->getSearch($Row0['Value'],2)); ?>" class="Link1 Gsnav_List_4_11 <?php if($tmpDefault->sSearchAR[0]==$Row0['Value']){ ?>tile_Yellow<?php }else{ ?>FBlack3<?php } ?>"><?php echo($Row0['Text']); ?></a>
<?php $Coun0++; } ?></td></tr>
<!-- # -->
<tr><td class="Gsnav_List_4_9">首字母：</td><td class="Gsnav_List_4_10">
<?php
$Coun0=0;
foreach($tmpDefault->sAlphabet2 as $Row0){ ?>
<a href="<?php echo($tmpDefault->getSearch($Row0['Value'],3)); ?>" class="Link1 Gsnav_List_4_11 <?php if($tmpDefault->sSearchAR[1]==$Row0['Value']){ ?>tile_Yellow<?php }else{ ?>FBlack3<?php } ?>"><?php echo($Row0['Text']); ?></a>
<?php $Coun0++; } ?></td></tr>

</table></div>

<!-- ------ #Data ------ -->
<div class="OutFrame_A Margin_Top">
<!-- ------ #CENTER ------ -->
<div class="Gsnav_C">
<!-- ### -->
<ul class="Gsnav_Title_1">
<li class="Gsnav_Title_2"><a href="#Here" class="Link1 FBlack2">共为您找到<span class="Gsnav_Title_32"><?php echo($tmpDefault->sRecordCount); ?></span>条团购信息</a></li>

<li class="DClear"></li></ul>
<ul class="Gsnav_Title_11">
<li class="<?php if($tmpDefault->sSearchAR[2]=='ID'){ ?>Gsnav_List_1_2<?php }else{ ?>Gsnav_List_1_1<?php } ?> Gsnav_List_1_3"><a href="<?php echo($tmpDefault->getSearch('ID',4)); ?>" class="Link1 FBlack2">默认排序</a></li>
<li class="<?php if($tmpDefault->sSearchAR[2]=='Price_Sale'){ ?>Gsnav_List_1_2<?php }else{ ?>Gsnav_List_1_1<?php } ?>"><a href="<?php echo($tmpDefault->getSearch('Price_Sale',4)); ?>" class="Link1 FBlack2">折扣大小</a></li>
<li class="<?php if($tmpDefault->sSearchAR[2]=='Price_Now'){ ?>Gsnav_List_1_2<?php }else{ ?>Gsnav_List_1_1<?php } ?>"><a href="<?php echo($tmpDefault->getSearch('Price_Now',4)); ?>" class="Link1 FBlack2">价格</a></li>
<li class="<?php if($tmpDefault->sSearchAR[2]=='Price_EndTime'){ ?>Gsnav_List_1_2<?php }else{ ?>Gsnav_List_1_1<?php } ?>"><a href="<?php echo($tmpDefault->getSearch('Price_EndTime',4)); ?>" class="Link1 FBlack2">结束时间</a></li>

<li class="DClear"></li></ul>
<!-- ### -->
<ul class="Gsnav_Box_1">
<?php
$Coun0=0;
foreach($tmpDefault->sListData as $Row0){ ?>
<li class="Gsnav_List_3_1_A Gsnav_List_3_1_1" onmouseover="this.className='Gsnav_List_3_1_B Gsnav_List_3_1_1';" onmouseout="this.className='Gsnav_List_3_1_A Gsnav_List_3_1_1';"><div class="Gsnav_List_3_1_Box">
<div class="Gsnav_List_3_2"><a href="../../../Plus/m_default/Gsnavigation/gsnavigationactiveDetail.php?ID=<?php echo($Row0['gsnatID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo($Row0['gsnatName']); ?></a></div>
<div class="Gsnav_List_3_3"><a href="../../../Plus/m_default/Gsnavigation/gsnavigationactiveDetail.php?ID=<?php echo($Row0['gsnatID']); ?>" target="_blank"><img src="<?php echo($Row0['gsnactSourceR00']); ?>" /></a>
</div>
<?php if($Row0['gsnatState']==1 || $Row0['gsnatState']==2){ ?>
<div class="Gsnav_List_3_4">剩余时间：
	<span id="GroupsaleTime_<?php echo($Row0['gsnatID']); ?>_Day" class="FStrong">100</span>天
	<span id="GroupsaleTime_<?php echo($Row0['gsnatID']); ?>_Hour" class="FStrong">0</span>小时
	<span id="GroupsaleTime_<?php echo($Row0['gsnatID']); ?>_Min" class="FStrong">0</span>分
	<span id="GroupsaleTime_<?php echo($Row0['gsnatID']); ?>_Seconds" class="FStrong">0</span>秒</div>
<?php $tmpTimeruns.=$Row0['gsnatID'].$tmpDefault->sysSPLIT1; }else{ ?>
<div class="Gsnav_List_3_4">结束时间：<?php echo($Row0['gsnactPrice_EndTime']); ?></div>
<?php } ?>
<input id="GroupsaleTime_<?php echo($Row0['gsnatID']); ?>_Endtime" name="GroupsaleTime_<?php echo($Row0['gsnatID']); ?>_Endtime" value="<?php echo($Row0['gsnactPrice_EndTime']); ?>" type="hidden" />

<table class="Gsnav_List_3_5" cellpadding="0" cellspacing="0"><tr>
<td class="Gsnav_List_3_6">团价：</td><td class="Gsnav_List_3_13"><?php echo($Row0['gsnactPrice_Now']); ?>元</td>
<td class="Gsnav_List_3_6">折扣：</td><td class="Gsnav_List_3_7"><?php echo($Row0['gsnactPrice_Sale']); ?>折</td>
</tr><tr>
<td class="Gsnav_List_3_6">原价：</td><td class="Gsnav_List_3_14"><?php echo($Row0['gsnactPrice_Origin']); ?>元</td>
<td class="Gsnav_List_3_6">已售：</td><td class="Gsnav_List_3_7"><?php echo($Row0['gsnactCount_Order']); ?>个</td>
</tr></table>
<ul class="Gsnav_List_3_8">
<li class="Gsnav_List_3_9"><a href="../../../Plus/m_default/Gsnavigation/gsnavigationunitDetail.php?ID=<?php echo($Row0['gsnutID']); ?>" class="Link1 FBlack2" target="_blank">来自：<?php echo($Row0['gsnutName']); ?></a></li>

<li class="Gsnav_List_3_11"><a href="<?php echo($Row0['gsnatURL']); ?>" class="Link2 FWhite1" target="_blank">立即团购</a></li>
<li class="Gsnav_List_3_10"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Gsnavigation/13.jpg" /></li>
</ul>

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

<li class="DClear"></li></ul>



</div>
<!-- ------ #RIGHT ------ -->
<div class="Gsnav_R"><?php require($netsFileConfig['bussinessTemplatePackagePath_Real'].'Component/Menu_Gsnavigation_0.php'); ?></div>
<div class="DClear"></div></div>

<!-- ------ #SCRIPT ------ -->
<script type="text/javascript">
var tmpGsnavigation=new Gsnavigation();
tmpGsnavigation.OnNavigation(1);
//-- ### --
var tmpZone=new Zone();
tmpZone.sFlag="Gsnavigation";
//-- ### --
<?php $tmpDefault->sTimecallbackDefined=1; ?>
tmpGsnavigation.sTimeboxs="<?php echo($tmpTimeruns); ?>";
function netsTime_callback(){
	tmpFrames.hiddenContent();
	
	if(sysTimeIndex%50==0){
		tmpGsnavigation.OnTimerun();
	}
}
</script>
<?php require($netsFileConfig['bussinessTemplatePackagePath_Real'].'Component/End_Gsnavigation_0.php'); ?>