<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Creat_base.aspx.cs" Inherits="JuSNS.Web.home.Group.Creat_base" %>
<!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>
<title id="ptitle" runat="server">创建群组第一步：基本信息</title>
<link href="../../template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css" id="skinpath" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="../../js/public.js"></script>
</head>
<body>
 <!--头部-->
<%=this.GetHtmlShort()%> 
<div id="divhead">
    <%=this.GetHtmlHead()%>
</div>

<div id="divbody">
    <div id="body_first">
        <div class="body_menu"> 
        <%=this.GetHtmlLeft()%>
        </div>
    </div>
   <form id="form1" runat="server"> 
    <div id="body_sec">
            <div id="body_mid"> 
                <div class="body_frame"> 
                    <div class="body_frame_otherinfo">
	                        <div class="title">
                                <div class="l"><img src="../../template/<%Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/images/site/group.gif" align="absmiddle" /> <span class="shenlan bold font14 ocolor">创建群组</span></div>
                                <div class="r">
                                    
                                    <input type="text" class="f-text" id="myKey" runat="server" />
                                    <input type="button" class="f-button" value="搜索群组" onclick="self.location='list.aspx?GroupName='+escape(document.getElementById('myKey').value);" />
                                     
                                </div>
                                <div class="c"></div>
                            </div>
            		       
                            <div class="nav-menu">
                                <ul>
                                    <li><a href="../group">最新主题</a></li>
                                    <li><a href="../group/my.aspx?r=<%# UserID %>&a=join">我加入的群组</a></li>
                                    <li><a href="../group/my.aspx?r=<%# UserID %>&a=creat">我创建的群组</a></li>
                                    <li><a href="../group/list.aspx">好友群组</a></li>
                                    <li><a href="../group/list.aspx?r=all">随便看看</a></li>
                                    <li class="current"><a href="javascript:;">创建群组</a></li>
                                </ul>
                            </div>        
                     </div>   
                     
                     <div class="body_sec_all">
                            <div class="content-reshow pstr">
                           <%if(Request.QueryString["m"]=="1"){ %> 
                                创建群组第一步（共三步）：<span class="reshow"><a href="Creat_base.aspx?GroupID=<%=Request.QueryString["GroupID"] %>&m=<%=Request.QueryString["m"] %>">填写基本信息</a></span> &raquo; <a href="Creat_pic.aspx?GroupID=<%=Request.QueryString["GroupID"] %>&m=<%=Request.QueryString["m"] %>">社群群图片</a> &raquo; <a href="Creat_member.aspx?GroupID=<%=Request.QueryString["GroupID"] %>&m=<%=Request.QueryString["m"] %>">群成员设置</a>
                           <%}else{ %>
                                创建群组第一步（共三步）：<span class="reshow">填写基本信息</span> &raquo; 社群群图片 &raquo; 群成员设置
                                <%} %>
                                &nbsp; <a href="Group.aspx?GroupID=<%=Request.QueryString["GroupID"] %>">返回群组</a>  &nbsp; <a href="Group-m.aspx?GroupID=<%=Request.QueryString["GroupID"] %>">返回讨论区</a>
                            </div>
                              <div class="spline"></div>           
                           <div class="msg-error" id="div_Error" runat="server" style="display: none;"></div>
                            <div class="msg-error" id="div1" runat="server" style="display: none;"></div>
                           <div class="content">
                                <label class="f-label">群名称</label>
                                <input type="text" class="f-text s40" id="Txt_GroupName" maxlength="15" runat="server" />
                                最多 15 个字，创建以后不能修改。
                           </div> 
                           <div class="content">
                                <label class="f-label">公告</label>
                                <textarea id="Txt_Bulletin" runat="server" maxlength="255" class="f-text s40 height120"></textarea>
                           </div> 
                           
                           <div class="content">
                                <label class="f-label">属性</label>
                                 <select id="Sel_NetWork" runat="server">
                                  <option value="0">全站</option>
                                  </select>
                                  创建以后不能修改。
                           </div>        
                           
                           <div class="content">
                                <label class="f-label nl">隐私设置</label>
                                <span class="nl w530">
                                <asp:RadioButtonList ID="Rad_Publicity" runat="server" RepeatLayout="Flow">
                                    <asp:ListItem Value="0" Selected="True">&lt;b&gt;公开&lt;/b&gt; &nbsp; 群组内容完全公开，随时可以加入。</asp:ListItem>
                                    <asp:ListItem Value="1">&lt;b&gt;半公开&lt;/b&gt; &nbsp; 非成员可以浏览群组资料，不能查看讨论区，需要邀请才能加入。</asp:ListItem>
                                    <asp:ListItem Value="2">&lt;b&gt;私密&lt;/b&gt; &nbsp; 只有成员才能看到群组，非成员需要接受成员的邀请后才能加入。</asp:ListItem>
                                </asp:RadioButtonList>
                                </span>
                           </div> 
                              <div class="spline"></div>           
                              <div class="content pstr">
                                <label class="f-label">&nbsp;</label>
                                <input type="submit" class="f-button" value="创建群组" runat="server" id="Submit1" onserverclick="Submit1_ServerClick" /><asp:HiddenField ID="Hid_GroupID" runat="server" />
                              </div>
                              <div class="spline"></div>           
                        </div>
                     </div>
                       <!--底部-->
                     <div class="divbottom">
                      <%=this.GetHtmlFoot()%>
                      </div>                         
                     
                     </div>
                     </div>
    </form>
    </div>
</body>
</html>
