<!--#include file="main.asp" -->
<!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>
<link href="css/global.css" rel="stylesheet" type="text/css">
<link href="css/index.css" rel="stylesheet" type="text/css">
</head>
<body background="images/bj.gif">
<!--#include file="top.asp" -->
<table class="border2" cellspacing="0" cellpadding="0" width="780" align="center" 
bgcolor="white" border="0">
  <tbody>
    
    <tr align="left" height="40">
      <td width="2%"></td>
      <td width="96%" colspan="3"><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="&request("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")
F_co=trim(rs1("F_co"))
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%>&amp;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></td>
      <td width="2%"></td>
    </tr>
  </tbody>
</table>
<table class="border3" cellspacing="0" cellpadding="0" width="780" align="center" 
bgcolor="white" border="0">
  <tbody>
    <tr>
      <td width="10%"></td>
      <td valign="top" bordercolor="#ffffff" align="left">
	  <%
if session("goname")="" then
response.Redirect("login.asp")
end if
set rs=Server.CreateObject("Adodb.Recordset")
rs.Open "Select *  from T_club_member where F_username='"&session("goname")&"' and F_club_id="&request("club")&" and F_type=1",conn
if rs.EOF then
Response.Write "<script>alert('用户出错，下面是产生错误的可能原因：\n\n·对不起，您不是管理员没有权限!，请加入');history.go(-1);</Script>"
Response.End   
end if
%><table cellspacing="0" cellpadding="0" width="96%" border="0">
        <form action="save/activitx_add.asp" method="post" name="form1">
     <input name="userid" type="hidden" value="<%=request("userid")%>">
	 <input name="club" type="hidden" value="<%=request("club")%>">
	 <input name="username" type="hidden" value="<%=request("username")%>">
	  <input name="F_co" type="hidden" value="<%=F_co%>">
          <tbody>
            <tr>
              <td class="a2" height="10"></td>
            </tr>
            <tr bgcolor="#e6e6e6">
              <td class="con2" align="left" height="25"><b>发起活动</b> </td>
            </tr>
          </tbody>
          <tr>
            <td class="a2" align="left" height="30"><b>所在城市</b> </td>
          </tr>
          <tr>
            <td align="left">&nbsp;           <%
 set rs=server.createobject("ADODB.Recordset")
 sql = "select *  from ypaddtwo order by date desc"
rs.open sql,conn,1,1%>
            <script language = "JavaScript">
var onecount1;
onecount1=0;
subcat1 = new Array();
<%count = 0
do while not rs.eof%>
subcat1[<%=count%>] = new Array("<%= trim(rs("addtwo"))%>","<%= trim(rs("addone"))%>","<%= trim(rs("addtwo"))%>");
        <%count = count + 1
        rs.movenext
        loop
        rs.close
       %>
onecount1=<%=count%>;

function changelocation1(addone)
    {
    document.form1 .addtwo.length = 0; 

    var addone=addone;
    var i;
    document.form1 .addtwo.options[0] = new Option('请选择地区(市)','');
    for (i=0;i < onecount1; i++)
        {
            if (subcat1[i][1] == addone)
            { 
                document.form1 .addtwo.options[document.form1 .addtwo.length] = new Option(subcat1[i][0], subcat1[i][2]);
            }        
        }
        
    }
      </script><select name="addone" onChange="changelocation1(document.form1 .addone.options[document.form1 .addone.selectedIndex].value)">
             <option value="">请选择省份</option>
			  <%
sql="select *  from ypaddone order by date desc"
rs.open sql,conn,1,1
while not rs.eof%>
              <option value="<%=rs("addone")%>"><%=rs("addone")%></option>
              <%rs.movenext
wend
rs.Close()
%>
            </select>
              <select name="addtwo">
			     <option value="">请选择城市</option>
            </select></td>
          </tr>
		            <tr>
            <td class="a2" align="left" height="30"><b>请选择活动所属主题</b> </td>
          </tr>
          <tr>
            <td align="left"><INPUT type=radio value=运动健身 name=zhuti>
            运动健身 
            <INPUT type=radio value=游山玩水 name=zhuti>
            游山玩水 
            <INPUT type=radio value=纪念日 
            name=zhuti>
            纪念日 
            <INPUT type=radio value=FB聚会 name=zhuti>
            FB聚会 
            <INPUT name=zhuti 
            type=radio value=其他活动 checked="checked">
            其他活动 
            </td>
          </tr>
		  		            <tr>
            <td class="a2" align="left" height="30"><b>活动名称</b> </td>
          </tr>
          <tr>
            <td align="left"><INPUT size=50 name=title>
            </td>
          </tr>
		  		            <tr>
            <td class="a2" align="left" height="30"><b>活动描述与要求</b> </td>
          </tr>
          <tr>
            <td align="left"><TEXTAREA name=book cols=60 rows=6 id="book"></TEXTAREA> 
            </td>
          </tr>
		  		            <tr>
            <td class="a2" align="left" height="30"><b>活动配图</b> </td>
          </tr>
          <tr>
            <td align="left"><input name="pic" type="text" id="pic" size="50">
      <input type="button" name="Submit2" value="上传图片" onClick="window.open('jbw_zgcren2.asp?formname=form1&editname=pic&uppath=photo&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 
            </td>
          </tr>
		  		            <tr>
            <td class="a2" align="left" height="30"><b>具体地点</b> </td>
          </tr>
          <tr>
            <td align="left"><INPUT name=diji id="diji" size=50>
            </td>
          </tr>
		  		            <tr>
            <td class="a2" align="left" height="30"><b>联系方法</b> </td>
          </tr>
          <tr>
            <td align="left"><INPUT size=50 name=lianxi>
            </td>
          </tr>
		  		            <tr>
            <td class="a2" align="left" height="30"><b>费用</b> </td>
          </tr>
          <tr>
            <td align="left"><INPUT name=price id="price" size=50>
            </td>
          </tr>
		  		  		            <tr>
            <td class="a2" align="left" height="30"><b>活动开始时间</b> </td>
          </tr>
          <tr>
            <td align="left">  <SELECT name=kYear id="kYear"> 
		  <OPTION value=2006 selected>2006</OPTION> 
           <OPTION value=2007>2007</OPTION> 
		   <OPTION value=2008>2008</OPTION>
		    <OPTION  value=2009>2009</OPTION> 
			 <OPTION  value=2010>2010</OPTION> 
			  <OPTION  value=2011>2011</OPTION> 
			   <OPTION  value=2012>2012</OPTION> 
			    <OPTION  value=2013>2013</OPTION> </SELECT>年 
		   
		   
		   <SELECT name=kMonth id="kMonth"> <OPTION 
              value=1>1</OPTION> <OPTION value=2>2</OPTION> <OPTION 
              value=3>3</OPTION> <OPTION value=4>4</OPTION> <OPTION value=5 
              selected>5</OPTION> <OPTION value=6>6</OPTION> <OPTION 
              value=7>7</OPTION> <OPTION value=8>8</OPTION> <OPTION 
              value=9>9</OPTION> <OPTION value=10>10</OPTION> <OPTION 
              value=11>11</OPTION> <OPTION value=12>12</OPTION></SELECT>月 <SELECT 
            name=kDay id="kDay"> <OPTION value=1>1</OPTION> <OPTION value=2>2</OPTION> 
              <OPTION value=3>3</OPTION> <OPTION value=4>4</OPTION> <OPTION 
              value=5>5</OPTION> <OPTION value=6>6</OPTION> <OPTION 
              value=7>7</OPTION> <OPTION value=8>8</OPTION> <OPTION 
              value=9>9</OPTION> <OPTION value=10>10</OPTION> <OPTION value=11 
              selected>11</OPTION> <OPTION value=12>12</OPTION> <OPTION 
              value=13>13</OPTION> <OPTION value=14>14</OPTION> <OPTION 
              value=15>15</OPTION> <OPTION value=16>16</OPTION> <OPTION 
              value=17>17</OPTION> <OPTION value=18>18</OPTION> <OPTION 
              value=19>19</OPTION> <OPTION value=20>20</OPTION> <OPTION 
              value=21>21</OPTION> <OPTION value=22>22</OPTION> <OPTION 
              value=23>23</OPTION> <OPTION value=24>24</OPTION> <OPTION 
              value=25>25</OPTION> <OPTION value=26>26</OPTION> <OPTION 
              value=27>27</OPTION> <OPTION value=28>28</OPTION> <OPTION 
              value=29>29</OPTION> <OPTION value=30>30</OPTION> <OPTION 
              value=31>31</OPTION></SELECT>日 &nbsp; 
            </td>
          </tr>
		  		  		            <tr>
            <td class="a2" align="left" height="30"><b>活动结束时间</b> </td>
          </tr>
          <tr>
            <td align="left"><SELECT name=zYear id="zYear"> <OPTION 
              value=2005>2005</OPTION> <OPTION value=2006 selected>2006</OPTION> 
              <OPTION value=2007>2007</OPTION> <OPTION 
            value=2008>2008</OPTION></SELECT>年 <SELECT name=zMonth id="zMonth"> <OPTION 
              value=1>1</OPTION> <OPTION value=2>2</OPTION> <OPTION 
              value=3>3</OPTION> <OPTION value=4>4</OPTION> <OPTION value=5 
              selected>5</OPTION> <OPTION value=6>6</OPTION> <OPTION 
              value=7>7</OPTION> <OPTION value=8>8</OPTION> <OPTION 
              value=9>9</OPTION> <OPTION value=10>10</OPTION> <OPTION 
              value=11>11</OPTION> <OPTION value=12>12</OPTION></SELECT>月 <SELECT 
            name=zDay id="zDay"> <OPTION value=1>1</OPTION> <OPTION value=2>2</OPTION> 
              <OPTION value=3>3</OPTION> <OPTION value=4>4</OPTION> <OPTION 
              value=5>5</OPTION> <OPTION value=6>6</OPTION> <OPTION 
              value=7>7</OPTION> <OPTION value=8>8</OPTION> <OPTION 
              value=9>9</OPTION> <OPTION value=10>10</OPTION> <OPTION value=11 
              selected>11</OPTION> <OPTION value=12>12</OPTION> <OPTION 
              value=13>13</OPTION> <OPTION value=14>14</OPTION> <OPTION 
              value=15>15</OPTION> <OPTION value=16>16</OPTION> <OPTION 
              value=17>17</OPTION> <OPTION value=18>18</OPTION> <OPTION 
              value=19>19</OPTION> <OPTION value=20>20</OPTION> <OPTION 
              value=21>21</OPTION> <OPTION value=22>22</OPTION> <OPTION 
              value=23>23</OPTION> <OPTION value=24>24</OPTION> <OPTION 
              value=25>25</OPTION> <OPTION value=26>26</OPTION> <OPTION 
              value=27>27</OPTION> <OPTION value=28>28</OPTION> <OPTION 
              value=29>29</OPTION> <OPTION value=30>30</OPTION> <OPTION 
              value=31>31</OPTION></SELECT>日 &nbsp;
            </td>
          </tr>

          <tr>
            <td height="10"></td>
          </tr>
          <tr>
            <td valign="center" align="left" height="40"><input onclick="return checkForm();" type="submit" value="发 表" name="submit" /></td>
          </tr>
        </form>
      </table></td>
      <td width="10%"></td>
    </tr>
  </tbody>
</table>
<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>
