<?php
require($tmpDefault->sysFileConfig['PathRoot'].'Cache/DbCache/Adv/Cache_0.php');
require($netsFileConfig['bussinessTemplatePackagePath_Real'].'Component/Head_Gsnavigation_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/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>
<script src="<?php echo ($tmpDefault->sysFileConfig['MapServiceJscriptPath_A'].$tmpDefault->sysFileConfig['MapAPIKey']); ?>" type="text/javascript"></script>
<script src="<?php echo ($tmpDefault->sysFileConfig['MapServiceJscriptPath_B']); ?>" type="text/javascript"></script>
<script src="<?php echo ($tmpDefault->sysFileConfig['sysUiCoreRoot'].$tmpDefault->sysFileConfig['MapControlJscriptPath']); ?>" 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/Cms/docList.php?ID=<?php echo ($tmpDefault->sNavigation[$Coun0]['cdgtID']); ?>" class="Link1 FBlack1"><?php echo ($tmpDefault->sNavigation[$Coun0]['cdgtName']); ?></a>
<?php $Coun0--; } ?>
<span>>></span> <a href="#Here" class="Link1 FBlack1"><?php echo($tmpDefault->sMetaTitle); ?></a></div></div>
<!-- ------ #Content ------ -->
<div class="OutFrame_A">
<!-- ------ #CENTER ------ -->
<div class="Gsnav_C">
<!-- ### -->
<ul class="Gsnav_Map_1_1">
<li class="Gsnav_Map_1_2">您所在的城市是<span class="Gsnav_Map_1_3"><?php echo($tmpDefault->sZoneName); ?></span>，其热门商区：
<a href="<?php echo($tmpDefault->getSearch(-1,4)); ?>" class="Link2 <?php if($tmpDefault->sSearchAR[2]==-1){ echo('tile_Yellow'); }else{ echo('FBlack3'); } ?>">所有商圈</a>
<?php
$Coun0=0;
foreach($tmpDefault->sData_Zonechild as $Row0){ ?>
<a href="<?php echo($tmpDefault->getSearch($Row0['sztID'],4)); ?>" class="Link2 <?php if($tmpDefault->sSearchAR[2]==$Row0['sztID']){ echo('tile_Yellow'); }else{ echo('FBlack3'); } ?>"><?php echo($Row0['sztName']); ?></a>
<?php } ?>
<li class="DClear"></li></ul>
<!-- ### -->
<ul class="Gsnav_Title_5">
<li class="Gsnav_Title_6"><a href="#Here" class="Link1 FBlack3">团购地图</a></li>
<?php
$Coun0=0;
foreach($tmpDefault->sParid1 as $Row0){ ?>
<li class="Gsnav_Title_35"><input id="paridTxt_<?php echo($Coun0); ?>" name="paridTxt" onclick="tmpGsnavigation.Map_ChangeParid('<?php echo($tmpDefault->getSearch('{Nets.PARID}',0)); ?>');" type="checkbox" <?php if(in_array($Row0['Value'],$tmpDefault->sParidAR)){ ?>checked="checked"<?php } ?> value="<?php echo($Row0['Value']); ?>" /></li>
<li class="Gsnav_Title_36"><label for="paridTxt_<?php echo($Coun0); ?>" class="Gsnav_Map_Link_<?php echo($tmpDefault->getGroupCode($Row0['Value'])); ?>"><?php echo($Row0['Text']); ?></label></li>
<?php $Coun0++; } ?>

<li class="DClear"></li></ul>
<div class="Gsnav_Box_2 Gsnav_Map_1_10"><div id="gsnavigationMap_Box" class="Gsnav_Map_1_11">
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
</div></div>
<div id="gsnavigationMap_SearchBox"><input id="gsnavigationMap_SearchTxt" name="gsnavigationMap_SearchTxt" type="hidden" /></div>

</div>
<!-- ------ #RIGHT ------ -->
<div class="Gsnav_R">
<!-- ### -->
<ul class="Gsnav_Map_1_1">

<li class="DClear"></li></ul>
<!-- ### -->
<ul class="Gsnav_Title_5">
<li id="tabinfobox_Button_0" class="<?php if($tmpDefault->sSearchAR[0]==-1){ ?>Gsnav_Title_6<?php }else{ ?>Gsnav_Title_7<?php } ?>"><a href="<?php echo($tmpDefault->getSearch(-1,2)); ?>" class="Link1 FBlack3">所有团购</a></li>
<li id="tabinfobox_Button_1" class="<?php if($tmpDefault->sSearchAR[0]==0){ ?>Gsnav_Title_6<?php }else{ ?>Gsnav_Title_7<?php } ?>"><a href="<?php echo($tmpDefault->getSearch(0,2)); ?>" class="Link1 FBlack3">本期团购</a></li>
<li id="tabinfobox_Button_2" class="<?php if($tmpDefault->sSearchAR[0]==1){ ?>Gsnav_Title_6<?php }else{ ?>Gsnav_Title_7<?php } ?>"><a href="<?php echo($tmpDefault->getSearch(1,2)); ?>" class="Link1 FBlack3">往期团购</a></li>

<li class="DClear"></li></ul>
<div class="Gsnav_Box_2 Gsnav_Map_1_25">
<?php $tmpDefault->sPButton->showPage(); ?>
<ul class="Gsnav_Map_1_12">
<?php
$Coun0=0;
foreach($tmpDefault->sListData as $Row0){ ?>
<li class="Gsnav_Map_1_18">
<div class="Gsnav_Map_1_19"><a href="#Here" onclick="tmpMap_Google.Map_ShowInfowindow(<?php echo($Coun0); ?>);"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Map/map_maker_<?php echo($tmpDefault->getGroupCode($Row0['gsnatParid'])); ?>_<?php echo($Coun0+1); ?>.png" /></a></div>
<div class="Gsnav_Map_1_20">
<div class="Gsnav_Map_1_21"><a href="#Here" onclick="tmpMap_Google.Map_ShowInfowindow(<?php echo($Coun0); ?>);" class="Link1 FBlack2"><?php echo($Row0['gsnatName']); ?></a></div>
<div class="Gsnav_Map_1_22">
	<span class="Gsnav_Map_1_23">原价：</span><span class="Gsnav_Map_1_24_A"><?php echo($Row0['gsnactPrice_Origin']); ?></span>
	<span class="Gsnav_Map_1_23">现价：</span><span class="Gsnav_Map_1_24_B"><?php echo($Row0['gsnactPrice_Now']); ?></span></div>
</div>
<div class="DClear"></div></li>
<?php $Coun0++; } ?>
</ul></div>


</div><div class="DClear"></div></div>

<!-- ------ #SCRIPT ------ -->
<script src="<?php echo ($tmpDefault->sysFileConfig['MapServiceJscriptPath_A'].$tmpDefault->sysFileConfig['MapAPIKey']); ?>" type="text/javascript"></script>
<script src="<?php echo ($tmpDefault->sysFileConfig['MapServiceJscriptPath_B']); ?>" type="text/javascript"></script>
<script type="text/javascript">
//-- ### --
var tmpGsnavigation=new Gsnavigation();
tmpGsnavigation.OnNavigation(4);
//-- ### --
var tmpZone=new Zone();
tmpZone.sFlag="Gsnavigation";
//-- ### --
var tmpMap_Google=new netsMap_Google();
tmpMap_Google.sClassname="Gsnav_Map_1_11";
tmpMap_Google.sSize_Width="700";
tmpMap_Google.sSize_Height="600";
tmpMap_Google.sControl_MapX="gsnavigationMap_MapXTxt";
tmpMap_Google.sControl_MapY="gsnavigationMap_MapYTxt";
tmpMap_Google.sControl_MapIntroduct="gsnavigationMap_MapIntroductTxt";
tmpMap_Google.sImgPath="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/Common/Img/Map/";
tmpMap_Google.sMaker_Type=0;
tmpMap_Google.sAutoSize=0;
<?php
$Coun0=0;
foreach($tmpDefault->sListData as $Row0){ ?>
<?php if($Coun0==0){ ?>
tmpMap_Google.sCenter_X="<?php echo($tmpDefault->sCode->Int32($Row0['gsnactMapX'],0)); ?>";
tmpMap_Google.sCenter_Y="<?php echo($tmpDefault->sCode->Int32($Row0['gsnactMapY'],0)); ?>";
<?php } ?>
tmpMap_Google.sMakerParameters[<?php echo($Coun0); ?>]=Array(
	"<?php echo($Row0['gsnatName']); ?>",
	"map_maker_<?php echo($tmpDefault->getGroupCode($Row0['gsnatParid'])); ?>_<?php echo($Coun0+1); ?>.png",
	<?php echo($tmpDefault->sCode->Int32($Row0['gsnactMapX'],0)); ?>,
	<?php echo($tmpDefault->sCode->Int32($Row0['gsnactMapY'],0)); ?>,
	"<table class=\"\" cellpadding=\"0\" cellspacing=\"0\"><tr><td style=\"height:26px; line-height:26px;\"><img src=\"../../../Ui/m_nets/Img/User/Gsnavigation/1.png\" /></td><td style=\"width:<?php echo(strlen($Row0['gsnatName'])*12); ?>px; height:26px; line-height:26px; color:#FFFFFF; text-align:center; background-image:url(../../../Ui/m_nets/Img/User/Gsnavigation/3.png);\"><div style=\"height:26px; background-image:url(../../../Ui/m_nets/Img/User/Gsnavigation/2.png); background-repeat:repeat-y;\"><?php echo($Row0['gsnatName']); ?></div></td><td style=\"height:26px; line-height:26px;\"><img src=\"../../../Ui/m_nets/Img/User/Gsnavigation/4.png\" /></td></tr><tr><td style=\"height:7px; font-size:7px; line-height:7px;\">&nbsp;</td><td style=\"height:7px; font-size:7px; line-height:7px;\"><img src=\"../../../Ui/m_nets/Img/User/Gsnavigation/5.png\" /></td><td style=\"height:7px; font-size:7px; line-height:7px;\">&nbsp;</td></tr></table>"
	);
<?php $Coun0++; } ?>
tmpMap_Google.showMap();
tmpMap_Google.searchMap("<?php echo($tmpDefault->sZoneName); ?>");



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