<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset'];?>" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?php echo $GLOBALS['setting']['site_title'];?> - <?php echo $GLOBALS['nowcity'];?><?php echo $pagetitle;?> <?php echo $GLOBALS['setting']['seo_title'];?> </title>
<meta name="keywords" content="<?php echo $GLOBALS['setting']['seo_keyword'];?>" />
<meta name="description" content="<?php echo $GLOBALS['setting']['seo_description'];?>" />
<link href="<?php echo STATIC_ROOT;?>/views/<?php echo TPL_DIR;?>/css/lmcss.css" rel="stylesheet" type="text/css" />
<SCRIPT LANGUAGE="JavaScript">
<!--
var site_root='<?php echo SITE_ROOT;?>';
var site_time=new Date('<?php echo date("m/d/Y H:i:s",time());?>').getTime()-new Date().getTime();
//-->
</SCRIPT>
<link href="<?php echo STATIC_ROOT;?>/views/js/css/jquery-ui.css" rel="stylesheet" type="text/css" />
<SCRIPT LANGUAGE="JavaScript" src="<?php echo STATIC_ROOT;?>/views/js/imgscroll.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="<?php echo STATIC_ROOT;?>/views/js/jquery.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="<?php echo STATIC_ROOT;?>/views/js/jquery-ui.js"></SCRIPT>
</head>
<body>

<div class="topa">
	<div class="ty1000">
		<!--<div class="inlog"><a href="#">注册</a> | <a href="#">登录</a></div>-->
		
		<div class="inus">
		<?php if($GLOBALS['plugins']){foreach($GLOBALS['plugins'] as $k=>$v){
			if($v['isok'] && $v['pluginsname']['isshow']==1){?>
		<li><a href="index.php?pluginid=<?php echo $v['pluginsname']['url'];?>"><?php echo $v['pluginsname']['title'];?></a></li>
		<?php }}}?>
		<li><a href=# onClick="this.style.behavior='url(#default#homepage)';this.setHomePage(document.location.host);event.returnValue=false;">设为首页</a> </li> |<li><img src="<?php echo STATIC_ROOT;?>/views/<?php echo TPL_DIR;?>/img/xh.gif" /><a href="Javascript:window.external.addFavorite(document.location.href,document.title)">收藏本站</a> <li></div>
	</div>
</div>


<div class="topb">
	<div class="ty1000">
		<div class="logo"><a href="index.php"><img src="<?php echo $GLOBALS['setting']['site_logo'];?>" alt="<?php echo $GLOBALS['setting']['site_title'];?>" border="0" /></a></div>
		<div class="qhcs"><h1><a href="index.php?act=city"><?php echo $GLOBALS['nowcity'];?></a></h1></div>
		<div class="topyk">
			<div class="topsou"><FORM METHOD="GET" ACTION="index.php">
				<div class="sa">
				<INPUT TYPE="hidden" NAME="act" value="groups">
				<input name="keywords" type="text" onclick="$(this).val('');" value="<?php echo !empty($_GET['keywords'])?$_GET['keywords']:'输入商品名称';?>" class="k01" />
				<input type="submit" class="k02" value="搜 索"/>
				</div></FORM>
				<div class="sb">
				<?php if($GLOBALS['setting']['site_hot_keywords']){$keywords=explode(',',$GLOBALS['setting']['site_hot_keywords']);foreach($keywords as $k=>$v){?>
				<a href="<?php echo url('index','groups',array('keywords'=>$v));?>"><?php echo $v;?></a>&nbsp;&nbsp;
				<?php }}?>
				
				</div>
			</div>
			
			<div class="topygg"><a href="<?php echo STATIC_ROOT;?>/url.php">亲！您可以点击下载本站放置<strong class="tylzi">“桌面”</strong>，每天抢团更方便！</a></div>
			
		</div>
	</div>
</div>

<div class="topc">
	<div class="ty1000">
	
		<ul class="ment">
			<li <?php  if( (empty($_REQUEST['act']) || $_REQUEST['act']=="index")  && empty($_REQUEST['pluginid'])){  ?> class="xz"<?php  } ?> ><a href="index.php">今日团购</a></li>
			<li <?php  if( $_REQUEST['act']=="sites"){  ?> class="xz"<?php  } ?> ><a href="<?php echo url('index','sites');?>">团购网站</a></li>
			<li <?php  if( $_REQUEST['act']=="othersite" || $_REQUEST['act']=="catedetail"){  ?> class="xz"<?php  } ?> ><a href="<?php echo url('index','othersite');?>">网购大全</a></li>
			<?php if($GLOBALS['plugins']){foreach($GLOBALS['plugins'] as $k=>$v){
				if($v['isok'] && $v['pluginsname']['isshow']==0){?>
			<li <?php  if( !empty($_REQUEST['pluginid']) || $_REQUEST['pluginid']==$v['pluginsname']['url'] ){  ?> class="xz"<?php  } ?>><a href="index.php?pluginid=<?php echo $v['pluginsname']['url'];?>"><?php echo $v['pluginsname']['title'];?></a></li>
			<?php }}}?>
			<?php if(!empty($_GET['keywords'])){?>
			<li class="xz"><a href="<?php echo url('index','groups',array('keywords'=>$_GET['keywords']));?>"><?php echo $_GET['keywords'];?></a></li>
			<?php }?>
		</ul>
<!--	<div class="menty">待定内容</div> -->	</div>
</div>

