<!--#include file="main.asp" -->
<%
sql="select * from huodong where id="&request("id")
set rs=server.createobject("adodb.recordset")                     
rs.open sql,conn,1,1                     
if rs.eof and rs.bof then                     
	response.write "<tr><td height=194 colspan=5 align=center>暂无内容</td></tr>"
else
title=rs("title")
%>
<!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=gb2312" />
<title><%=title%>_活动中心</title>
<link href="css/global.css" rel="stylesheet" type="text/css">
<link href="css/index.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
<!--
function checkForm() {
	
        if(document.recomment.content.value == "") {
		alert("内容不能为空！");
		recomment.content.focus();
		return false;
	}

	return true;
}
function img_jbw(o){
	var zoom=parseInt(o.style.zoom, 10)||100;zoom+=event.wheelDelta/12;if (zoom>0) o.style.zoom=zoom+'%';
	return false;
}
function openWindow(url) {
	var newWin = window.open(url,"","toolbar=no,status=no,menubar=no,width=330,height=260");
	return false;
}
function textLimitCheck(thisArea, maxLength){
    if (thisArea.value.length > maxLength){
      alert(maxLength + ' 个字限制. \r超出的将自动去除.');
      thisArea.value = thisArea.value.substring(0, maxLength);
      thisArea.focus();
    }
    /*回写span的值，当前填写文字的数量*/
    messageCount.innerText = thisArea.value.length;
}
//-->
</script>
<style type="text/css">
<!--
.STYLE1 {font-size: 10px}
-->
</style>
</head>
<body background="images/bj.gif">
<!--#include file="top.asp" -->
<table class="border2" cellspacing="0" cellpadding="0" width="780" align="center" 
border="0">
  <tbody>
    <tr align="middle" height="20">
      <td></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td bgcolor="#a6d688" colspan="3" height="1"></td>
      <td width="2%"></td>
    </tr>
    <tr align="left" height="22">
      <td width="2%"></td>
      <td width="1" bgcolor="#a6d688"></td>
	  <%set rs1=server.createobject("adodb.recordset")
sql1="select * from T_club where F_id="&rs("club")
rs1.open sql1,conn,1,1
T_id=rs1("F_id")
T_key=rs1("F_key")
F_name=rs1("F_name")
ypxxone=rs1("F_ypxxone")
rs1.close%>
<%set rs1=server.createobject("adodb.recordset")
sql1="select * from T_ypxxone where xxone_id="&ypxxone
rs1.open sql1,conn,1,1
xxone_id=rs1("xxone_id")
xxone=rs1("xxone")
rs1.close%>
      <td align="left" bgcolor="#eeeeee">&nbsp;导航：&nbsp;<a class="blue3" 
      href="index.asp">网站首页</a>&gt;&gt;<a 
      class="blue3" href="group.asp?id=<%=xxone_id%>"><%=xxone%></a>&gt;&gt;<b><a 
      class="blue3" href="club.asp?id=<%=T_id%>"><%=F_name%></a></b> &nbsp;&nbsp;&nbsp;<a class="orange3" 
      href="save/user_group.asp?club=<%=T_id%>&key=<%=T_key%>"></a> </td>
      <td width="1" bgcolor="#a6d688"></td>
      <td width="2%"></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td bgcolor="#a6d688" colspan="3" height="1"></td>
      <td width="2%"></td>
    </tr>
  </tbody>
</table>
<table class="border2" cellspacing="0" cellpadding="0" width="780" align="center" 
border="0">
  <tbody>
    <tr>
      <td width="2%"></td>
      <td valign="top" align="middle" width="90%"><table width="100%" center="center">
        <tbody>
          <tr>
            <td class="bluecon2" align="right" width="20%">活动名称：</td>
            <td align="middle" width="2%">&nbsp;</td>
            <td class="con2" align="left" width="78%">&nbsp;<b> <%=title%> </b></td>
          </tr>
          <tr>
            <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
          </tr>
          <tr>
            <td class="bluecon2" align="right" width="20%">发起人：</td>
            <td align="middle" width="2%">&nbsp;</td>
            <td align="left" width="78%">&nbsp; <%set rs1=server.createobject("adodb.recordset")
sql1="select * from T_member where F_id="&rs("user_id")
rs1.open sql1,conn,1,1
co=rs1("F_co")
goname=rs1("F_username")
goid=rs1("F_id")
coname=rs1("F_coname")
realname=rs1("F_realname")
rs1.close%><!--#include file="dns/dns.asp"--><a class="blue6ln" title="查看发起人个人资料" 
            href="<%=usertwourl%>"><%=goname%></a>(<%=realname%>) </td>
          </tr>
          <tr>
            <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
          </tr>
          <tr>
            <td class="bluecon2" align="right" width="20%">活动时间：</td>
            <td align="middle" width="2%">&nbsp;</td>
            <td align="left" width="78%">&nbsp; <%=rs("kdate")%> &nbsp; 至 &nbsp; 
              <%=rs("zdate")%> &nbsp;&nbsp;&nbsp;&nbsp;<font 
            color="blue"><%if rs("zdate")=now() then%>本活动已结束<%else%>本活动正在进行中.....<%end if%></font> </td>
          </tr>
          <tr>
            <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
          </tr>
          <tr>
            <td class="bluecon2" align="right" width="20%">活动所属分类：</td>
            <td align="middle" width="2%">&nbsp;</td>
            <td align="left" width="78%">&nbsp; <%=rs("zhuti")%> </td>
          </tr>
          <tr>
            <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
          </tr>
          <tr>
            <td class="bluecon2" align="right" width="20%">活动所在城市：</td>
            <td align="middle" width="2%">&nbsp;</td>
            <td align="left" width="78%">&nbsp; <%=rs("addone")%>&nbsp;<%=rs("addtwo")%> </td>
          </tr>
          <tr>
            <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
          </tr>
          <tr>
            <td class="bluecon2" align="right" width="20%">具体地点和时间：</td>
            <td align="middle" width="2%">&nbsp;</td>
            <td align="left" width="78%">&nbsp; <%=rs("diji")%> </td>
          </tr>
          <tr>
            <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
          </tr>
          <tr>
            <td class="bluecon2" align="right" width="20%">发起人联系方法：</td>
            <td align="middle" width="2%">&nbsp;</td>
            <td align="left" width="78%">&nbsp;<%=rs("lianxi")%></td>
          </tr>
          <tr>
            <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
          </tr>
          <tr>
            <td class="bluecon2" align="right" width="20%">活动费用：</td>
            <td align="middle" width="2%">&nbsp;</td>
            <td align="left" width="78%">&nbsp;<%=rs("price")%></td>
          </tr>
          <tr>
            <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
          </tr>
          <tr>
            <td class="bluecon2" align="right">活动详细介绍：</td>
            <td align="middle">&nbsp;</td>
            <td class="con1" align="left">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="3" align="left" class="bluecon2">&nbsp; <%=rs("book")%> </td>
            </tr>
          <tr>
            <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
          </tr>
          <tr>
            <td colspan="3" height="5"></td>
          </tr>
        </tbody>
      </table></td>
      <td width="8%"></td>
    </tr>
  </tbody>
</table>
<table class="border2" cellspacing="0" cellpadding="0" width="780" align="center" 
bgcolor="white" border="0">
  <tbody>
    <tr>
      <td width="2%"></td>
      <td class="con2" height="20"></td>
      <td></TD></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td class="con2" height="40"><b>相关评论</b></td>
      <td></TD></td>
    </tr>
  </tbody>
</table>
<table class="border2" cellspacing="0" cellpadding="0" width="780" align="center" 
bgcolor="white" border="0">
  <tbody>
<%set rst=server.createobject("adodb.recordset")
sqlt="select * from message_club where key1=5 and l_id="&rs("id")
rst.open sqlt,conn,1,1
do while not rst.eof%>
    <tr>
      <td width="2%"></td>
      <td class="con1" bgcolor="#d6d6d6">&nbsp; 发布者：<b><%=rst("username")%></b> - <%=rst("lr")%> &nbsp;&nbsp;&nbsp;&nbsp;---&nbsp;<%=rst("data")%> </td>
      <td width="2%"></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td class="con1" colspan="2" height="25"><%=rst("message")%></td>
      <td width="2%"></td>
    </tr>
<%
rst.movenext
loop
rst.close%>
  </tbody>
</table>
<table class="border2" cellspacing="0" cellpadding="0" width="780" align="center" 
bgcolor="white" border="0">
  <tbody>
    <tr>
      <td colspan="3"></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td class="con1" colspan="2" height="25"><form action="inc/_server.asp" method="post" name="form1"><input name=user_id type=hidden value=<%=goid%>><input name=l_id type=hidden value=<%=rs("id")%>>
	  <input name=key type=hidden value=5><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
  <td height="30" colspan="2"><span class="a1"><b class="con2">发表评论</b></span></td>
  </tr>
<tr>
  <td width="20%" height="25" align="right">发布人:&nbsp;</td>
<td width="80%" height="30"><input name="username" type="text" id="username" value="<%=session("goname")%>" size="30"></td>
</tr><tr><td height="25" align="right">评论内容:&nbsp;</td>
<td height="25"><textarea name="msg" cols="70" rows="5"></textarea></td>
</tr><tr><td height="25">&nbsp;</td>
<td height="40">&nbsp;&nbsp;&nbsp;<input type="submit" name="Submit" value=" 提 交 ">&nbsp;&nbsp;&nbsp;&nbsp;
<input type="reset" name="Submit2" value=" 重 置 "></td></tr></table>
      </form></td>
      <td width="2%"></td>
    </tr>
  </tbody>
</table>
<%
rs.close
end if
%>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
   <td height="23" colspan="2" align="center">
<DIV id=sub_nav>
<%set rs=server.createobject("adodb.recordset")
sql="select * from T_ypxxone"
rs.open sql,conn,1,1
n=0
do while not rs.eof
n=n+1%><A href="group.asp?id=<%=rs("xxone_id")%>"><%=rs("xxone")%></A> | <%
rs.movenext
loop
rs.close%></DIV></td>
  </tr>
</table>
<!--#include file="bottom.asp" -->
</body>
</html>
