<!--#include file="../main.asp" -->
<!--#include file="../IsLogin.asp" -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML 
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>管理中心-这里是所有管理的入口</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/global.css" type=text/css rel=stylesheet><LINK 
href="images/main.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.3790.218" name=GENERATOR></HEAD>
<BODY id=main background="../images/bj.gif">
<DIV id=wrapper>
<!--#include file="top.asp"-->
<DIV class=row>
<!--#include file="left.asp"-->
<DIV class=right_side>
<DIV class=col id=bulletin>
<DIV class=col_head>
<H3><IMG height=16 alt=a hspace=3 src="images/ico_dots.gif" 
width=20 align=left vspace=3>发起活动</H3>
</DIV>
<DIV class=col_body><P><SCRIPT language=JavaScript>
<!--
    

    function checkActiveForm() {
        if(document.form1.title.value == "") {
		alert("名称不能为空，请重新输入！");
		form1.title.focus();
		return false;
	}
	
	if(document.form1.book.value == "") {
		alert("描述不能为空！");
		form1.book.focus();
		return false;
	}

	if(document.form1.addone.value == "") {
		alert("请设置参加活动的地区！");
		form1.addone.focus();
		return false;
	}
		if(document.form1.addtwo.value == "") {
		alert("请设置参加活动的地区(市)！");
		form1.addtwo.focus();
		return false;
	}
	if(document.form1.diji.value == "") {
		alert("请设置参加活动的地址！");
		form1.diji.focus();
		return false;
	}

	return true;
    }

-->
</SCRIPT>
	 <form name="form1" method="post" action="save.asp" onSubmit="return checkActiveForm()"><TABLE width="100%" border=0 align="center" cellPadding=0 cellSpacing=0>
        <TBODY>
        <TR>
          <TD class=STYLE2>圈圈名称：</TD>
          <TD align=middle class=a2 STYLE2>&nbsp;</TD>
          <TD height=30><span class="STYLE2"><input name="club" type="hidden" value="<%=request("id")%>">&nbsp;<%=request("name")%></span></TD>
        </TR>
        <TR>
          <TD class=STYLE2 width=124>请选择活动所属主题：</TD>
          <TD class=a2 align=middle width=7></TD>
          <TD width=462 height=30><span class="STYLE2">
            <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">
            其他活动 </span></TD></TR>
       
        <TR>
          <TD class=STYLE2 width=124>活动名称：</TD>
          <TD class=STYLE2 align=middle width=7>*</TD>
          <TD width=462 height=30><INPUT size=40 name=title> </TD></TR>
        <TR>
          <TD bgColor=#d6d6d6 colSpan=4 height=1></TD></TR>
        <TR>
          <TD class=STYLE2 align=left>活动描述与要求：</TD>
          <TD class=STYLE2 align=middle>&nbsp;</TD>
          <TD height=30>&nbsp;</TD>
        </TR>
        <TR>
          <TD height="30" colspan="3" align=left class=STYLE2><INPUT type="hidden" name="book" value=""> 
         <IFRAME ID="LatticeEditDocument" SRC="../WebEditor/ewebeditor.asp?id=book&style=standard_blue" FRAMEBORDER="0" SCROLLING="no" WIDTH="590" HEIGHT="400"></IFRAME></TD>
          </TR>
       

        <TR>
          <TD class=STYLE2 align=left width=124>人数限制：</TD>
          <TD class=STYLE2 align=middle width=7>*</TD>
          <TD width=462 height=30 class="STYLE2"><INPUT 
            name=ren id="ren" value=0 size=4>人(人数为0表示不限制参加人数) </TD></TR>
        
        <TR height=30>
          <TD class=STYLE2 align=left width=124>所在城市：</TD>
          <TD class=a2 align=middle width=7></TD>
          <%
 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><TD width=462 height=30><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=STYLE2 align=left width=124>具体地点和时间：</TD>
          <TD class=STYLE2 align=middle width=7>*</TD>
          <TD width=462 height=30><INPUT name=diji id="diji" size=40> </TD></TR>
       
        <TR>
          <TD class=STYLE2 align=left width=124>联系方法：</TD>
          <TD class=a2 align=middle width=7></TD>
          <TD width=462 height=30><INPUT size=40 name=lianxi> </TD></TR>
        <TR align="left">
          <TD height=1 colSpan=4 bgColor=#d6d6d6></TD></TR>
        <TR>
          <TD class=STYLE2 align=left width=124>费用：</TD>
          <TD class=a2 align=middle width=7></TD>
          <TD width=462 height=30><INPUT name=price id="price" size=40></TD>
        </TR>
       
        <TR>
          <TD class=STYLE2 align=left width=124>活动开始时间：</TD>
          <TD class=STYLE2 align=middle width=7>*</TD>
          <TD width=462 height=30 class="STYLE2">
		  <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=STYLE2 align=left width=124>活动结束时间：</TD>
          <TD class=STYLE2 align=middle width=7>*</TD>
          <TD width=462 height=30 class="STYLE2"><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 align=middle>
          <TD class=a2 align=middle colSpan=3 height=72><INPUT type=submit value=创建活动 border=0 name=submit>          </TD></TR>
        <TR align=left height=30>
          <TD class=con1 bgColor=#B5DFDE colSpan=3><span class="STYLE2"><FONT color=red>提醒：</FONT> 
            用户不得建立包含破坏宪法和法律、破坏民族团结、捏造或者歪曲事实、宣扬封建迷信、淫秽、色情，及其他违反宪法和法律行政法规的活动，同时也不要建立任何传销、色情乃至一夜情之类的活动！ 
                <BR>
        用户因为违反规定而触犯中华人民共和国法律的，责任自负，本站不承担任何责任。 请大家一起努力维护圈网一个健康阳光的空间!</span> </TD>
        </TR></TBODY></TABLE>
	 </FORM></P>
 

</DIV></DIV>
</DIV>
</DIV>
<!--#include file="bottom.asp"-->

</DIV></BODY></HTML>
