<!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=gbk" />
<title><?=$page_title?></title>
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/global.css" />
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/style.css" />
<? if($mymps_global[bodybg] == 1){?><link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/bodybg.css" /><? }?>
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/style.head_<?=$mymps_global[head_style]?>.css" />
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/group.head_<?=$mymps_global[head_style]?>.css" />
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/plugin/group/template/style.css" />
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/plugin/group/template/view.css" />
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/pagination.css" />
<script src="<?=$mymps_global[SiteUrl]?>/template/global/noerr.js" type="text/javascript"></script>
<script src="<?=$mymps_global[SiteUrl]?>/template/default/js/global.js" type="text/javascript"></script>
<script src="<?=$mymps_global[SiteUrl]?>/template/default/js/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="<?=$mymps_global[SiteUrl]?>/plugin/group/template/check_signin.js"></script>
</head>

<body class="<?=$mymps_global[cfg_tpl_dir]?> <?=$mymps_global[screen_search]?>">
	<? include mymps_tpl('inc_head');?>
	<div class="body1000">
		<div class="clear"></div>
		<div class="location"><?=$location?></div>
		<div class="clear"></div>
		<div class="indexcontent">
			<div class="cleft">
				<div class="deal-share-top">
					<div class="deal-share-links">
						<h4>分享到：</h4>
						<ul class="cf">
							<li><a rel="nofollow" class="im" href="javascript:qq_msn('<?=$share[url]?>')">MSN/QQ</a></li>
							<li><a rel="nofollow" class="kaixin" href="http://www.kaixin001.com/repaste/share.php?rurl=<?=$share[url]?>&rcontent=<?=$share[url]?>&rtitle=<?=$share[title]?>" target="_blank">开心</a></li>
							<li><a rel="nofollow" class="renren" href="http://share.renren.com/share/buttonshare.do?link=<?=$share[url]?>&title=<?=$share[title]?>" target="_blank">人人</a></li>
							<li><a rel="nofollow" class="douban" href="http://www.douban.com/recommend/?url=<?=$share[url]?>&title=<?=$share[title]?>" target="_blank">豆瓣</a></li>
							<li><a rel="nofollow" class="sina" href="http://v.t.sina.com.cn/share/share.php?appkey=54350967&url=<?=$share[url]?>&title=<?=$share[title]?>" target="_blank">新浪微博</a></li>
							<li><a rel="nofollow" class="email" href="mailto:?body=<?=$share[url]?> 来自<?=$mymps_global[SiteName]?>&amp;subject=<?=$share[title]?>">邮件</a></li>
						</ul>
					</div>
				</div>
				<div class="grid_c1">
					<div class="pic"><img src="<?=$group[pre_picture]?>" alt="" width=80 height=80/></div>
					<div class="info">
						<h3>
							<span class="left"><span class="title"><?=$group[gname]?></span> [<span class="zt"><?=$glevel[$group[glevel]]?></span>]</span>
							<span class="right"><span class="red_skin">本站组织</span> 带队团长：<span class="red_skin"><?=$group[mastername]?></span> <a href="tencent://message/?uin=<?=$group[masterqq]?>&Site=&Menu=yes"><img src="<?=$mymps_global[SiteUrl]?>/plugin/group/template/images/qq_onlineaa.gif" alt="" /><?=$group[masterqq]?></a></span>
						</h3>
						<div class="hack"></div>
						<p>
							<span style="float:left; margin-right:12px">
							<? if($group[glevel] == 1 || $group[glevel] == 2){?>
							<input type="button" value="立即报名" class="baoming" onclick="location.href='#signin'"><? }?>
							<? if($group[commenturl]){?>
							<input type="button" value="参与讨论" class="taolun" onclick="window.open('<?=$group[commenturl]?>')"><? }?>
							</span>
							<span style="float:left; overflow:hidden;"><img src="<?=$mymps_global[SiteUrl]?>/plugin/group/template/images/time_06.gif" /> 
							<? if($group[remaindate] >= 0){?>距报名止还有<b><?=$group[remaindate]?></b>天{else}
							报名已截止
							<? }?>
							</span>
						</p>
					</div>
					<div class="num">
						<p><b>已报数</b><?=$group[signintotal]?></p>
					</div>
					<div class="hack"></div>
					<div class="qita_xinxi">
						<ul>
							<li><span>活动编号：</span><?=$group[groupid]?></li>
							<li><span>所在区域：</span><?=$group[areaname]?></li>
							<li><span>活动地点：</span><?=$group[gaddress]?></li>
							<li><span>集合时间：</span><?=$group[meetdate]?></li>
							<li><span>报名截止：</span><?=$group[enddate|date_format]?></li>
							<li class="jianjie"><span>活动简介：</span><?=$group[des]?></li>
						</ul>
					</div>
				</div>
				<div class="clearfix"></div>
				<div class="grid_c2">
					<div class="bd">
						<h3>活动详情</h3>
						<div class="cont">
							<?=$group[content]?>
						</div>
						<? if($group[glevel] == 1 || $group[glevel] == 2){?>
						<h3 style="border-top:1px #c0d9e5 solid; ">我要报名<a name="signin"></a></h3>
						<div class="signincont">
							<form name="form1" method="post" action="<?=$mymps_global[SiteUrl]?>/group.php?" onsubmit="return checkbaoming();">
							<input name="id" value="<?=$group[groupid]?>" type="hidden">
							<div class="hdbc">真实姓名：
							  <input name="sname" type="text" class="input0" value=""/>
							 &nbsp; &nbsp; <em>*</em> <span>请填写您的真实姓名</span> </div>
							<div class="hdbc">您的姓别：
							<label for="man"><input name="sex" type="radio" value="男" id="man" checked="checked"/>男</label> 
							<label for="woman"><input type="radio" name="sex" value="女" id="woman"/>女</label>
							 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <em>*</em> <span>选择您的姓别</span> </div>
							<div class="hdbc">联系电话：
							  <input name="tel" type="text" class="input0" value=""/>&nbsp; <em> &nbsp; * </em><span>建议填写手机，方便短信通知</span> </div>
							<div class="hdbc">联系QQ：&nbsp;&nbsp;
							<input name="qqmsn" type="text" class="input0" value=""/>
							&nbsp; <span>  您的常用网络联系方式</span></div>
							<div class="hdbc">您的年龄：
							  <select name="age" size="1">
								<option value="">请选择</option>
								<option value="18岁以下">18岁以下</option>
								<option value="18-25岁">18-25岁</option>
								<option value="26-35岁">26-35岁</option>
								<option value="36-50岁">36-50岁</option>
								<option value="51岁以上">51岁以上</option>
							  </select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>* </em><span>请选择您的年龄段范围</span></div>
							<div class="hdbc">参加人数： 
							 <input name="totalnumber" type="text" size="7"  value="" class="input0"> 
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span id="chkbaonum"><em>*</em><span> 请填写您参与这次活动的参加人数</span></span></div>
							
							<div class="hdbc"><div class="abc">简短附言<br />
							<span>(100字内)</span></div>
							  <textarea name="message" class="text"></textarea><span id="chkbaochrmark"></span>
							</div>
							
							<div class="hdbc"><div class="abc">验证码</div>
							  <input type="text" name="checkcode" style="width:70px" class="input0"> <img src="<?=$mymps_global[SiteUrl]?>/<?=$mymps_global[cfg_authcodefile]?>" width="70" height="25" align="absmiddle" style="cursor:pointer;" onClick="this.src=this.src+'?'"/><span id="chkbaochrmark"></span>
							</div>
							
							<div class="hdbc"><div class="abc">&nbsp;</div>
							  <input name="group_submit" value="提交报名" class="group_submit" type="submit">
							</div>
							
							</form>
						</div>
						<? }?>
					</div>
				</div>
			</div>
			<div class="cright">
						<div class="box">
							<div class="hd">热门团购活动</div>
							<div class="bd">
								<div class="hotbdbg">
								<ul>
									<? foreach($hotgroup as $k =>$hot){?>
									<li><a href="<?=$hot[uri]?>" target="_blank" title="<?=$hot[gname]?>"><?=cutstr($hot[gname],18)?></a></li>
									<? }?>
								</ul>
								</div>
							</div>
						</div>
						<div class="clear"></div>
						<div class="controlgroup">
							<div class="button"><button value="发起团购" class="fqtg" onclick="window.open('<?=$mymps_global[SiteUrl]?>/member/index.php?m=group&ac=detail')"></button> <button value="管理团购" class="gltg" onclick="window.open('<?=$mymps_global[SiteUrl]?>/member/index.php?m=group')"></button>
							</div>
							<div class="clearfix"></div>
							<div class="tel">
								合作热线：<span><?=$mymps_global[SiteTel]?></span>
							</div>
						</div>
					</div>
		</div>
		<div class="clear"></div>
		<? include mymps_tpl('inc_foot');?>
	</div>
</div>
</body>
</html>