<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_ZhuCeInfooEdit.aspx.cs" Inherits="AndroidSevice.Web.Reger.Frm_ZhuCeInfooEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" type="text/javascript">
    function sAlert(info) {
        var message = info;
        layer.alert(message, { closeBtn: 0
        }, function () {
            parent.location.reload(); //刷新父页面
        });
    }
    function sAlertok(info) {
        layer.alert(info, { closeBtn: 0
        }, function () {
            parent.location.reload(); //刷新父页面
        });
    }
    function sAlertOut(info) {
        layer.alert(info, { closeBtn: 0
        }, function () {
            window.location.href = '../../default.aspx'; //刷新父页面
        });
    }
    </script>
    <script type="text/javascript" src="../Scripts/jquery-2.1.4.min.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container-fluid">
				<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-th-list"></i>
								</span>
								<h5>用户注册</h5>
							</div>
							<div class="widget-content nopadding">
                            
                             
                             <div class="control-group" id="div_UserPowerSale" runat="server">
                                        <label class="control-label">代理商编号</label>
                                        <div class="controls">
                                            <input type="text" name="usercode" value="<%=_usercode %>" id="usercode" />
                                        </div>
                             </div>
                             <div class="control-group" id="div_UserPowerSaleTel" runat="server">
                                  <label class="control-label">公司名称</label>
                                  <div class="controls">
                                  <input type="text" name="userfullname" value="<%=_userfullname %>" id="userfullname" />
                                  </div>
                             </div>
                             <div class="control-group" id="div1" runat="server">
                                  <label class="control-label">联系人</label>
                                  <div class="controls">
                                  <input type="text" name="person" value="<%=_person %>" id="person" />
                                  </div>
                             </div>
                             <div class="control-group" id="div2" runat="server">
                                  <label class="control-label">联系电话</label>
                                  <div class="controls">
                                  <input type="text" name="persontel" value="<%=_persontel %>" id="persontel" />
                                  </div>
                             </div>
                             <div class="control-group" id="div4" runat="server">
                                  <label class="control-label">用户数</label>
                                  <div class="controls">
                                  <input type="text" name="zcnum" value="<%=_zcnum %>" id="zcnum" />
                                  </div>
                             </div>
                             <div class="control-group" id="div3" runat="server">
                                  <label class="control-label">类型</label>
                                  <div class="controls">
                                  <select class="selectstyle" name="zctype" id="zctype">
				                      <option <%=_zctype=="0001000001"?"checked":"" %> value="0001000001">增加</option>
                                      <option <%=_zctype=="0001000002"?"checked":"" %> value="0001000002">续费</option>
                                      <option <%=_zctype=="0001000003"?"checked":"" %> value="0001000003">调整</option>
				                  </select>
                                  </div>
                             </div>
                             <div class="control-group" id="div5" runat="server">
                                  <label class="control-label">付费方式</label>
                                  <div class="controls">
                                  <%if (Session["EditionName"].ToString().Contains("FZ"))
                                     { %>
                                  <select class="selectstyle" name="regtype" id="regtype">
				                      <option <%=_regtype=="0000200006"?"checked":"" %> value="0000200006">年费</option>
                                      <option <%=_regtype=="0000200005"?"checked":"" %> value="0000200005">买断</option>
				                  </select>
                                  <%}
                                     else
                                     { %>
                                       <select class="selectstyle" name="regtype" id="regtype1">
				                      <option <%=_regtype=="0000200002"?"checked":"" %> value="0000200002">年费</option>
                                      <option <%=_regtype=="0000200001"?"checked":"" %> value="0000200001">买断</option>
				                  </select>
                                  <%} %>
                                  </div>
                             </div>
                              <div class="control-group" id="div6" runat="server">
                                  <label class="control-label">省份</label>
                                  <div class="controls">
                                  <%-- <select class="selectstyle" name="shen" id="shen">
				                      <option  value="">1</option>
				                  </select>
                                  <select class="selectstyle" name="shi" id="shi">
				                      <option  value="">1</option>
				                  </select>--%>
                                   <asp:DropDownList ID="shen" 
                                        runat="server" onselectedindexchanged="DropDownList1_SelectedIndexChanged" AutoPostBack="true">
                                  </asp:DropDownList>
                                  <asp:DropDownList ID="shi" runat="server">
                                    </asp:DropDownList>
                                  </div>
                             </div>
                              <div class="control-group" id="div7" runat="server">
                                  <label class="control-label">管家婆版本</label>
                                  <div class="controls">
                                <%if (Session["EditionName"].ToString().Contains("FZ"))
                                    { %>
                                 <input type="radio" <%=_banben=="HYFZ"?"checked":"" %> value="HYFZ" name="banben" id="banbenfz" />服装系列
                                 <%}
                                    else
                                    { %>
                                  <input type="radio" <%=_banben=="TYHH"?"checked":"" %> value="TYHH" name="banben" id="banbenhh" />辉煌系列
                                 <input type="radio" <%=_banben=="TYFX"?"checked":"" %> value="TYFX" name="banben" id="banbenfx" />分销系列
                                 <input type="radio" <%=_banben=="TYCM"?"checked":"" %> value="TYCM" name="banben" id="banbencm" />财贸系列
                                 <input type="radio" <%=_banben=="HYSP"?"checked":"" %> value="HYSP" name="banben" id="banbensp" />食品系列
                                 <input type="radio" <%=_banben=="HYQF"?"checked":"" %> value="HYQF" name="banben" id="banbenqf" />千方系列
                                 <%} %>
                                 </div>
                             </div>
                             <div class="controls">
                                       <button type="submit" value="sub" name="sub" class="btn"><i class="icon-hdd"></i>保存</button>
                                       <button type="submit" value="subh" name="sub" class="btn"><i class="icon-hdd"></i>激活</button>
                                       <input id="typename" type="hidden" value="<% %>" />
                             </div>
							</div>
						</div>
					</div>
				</div>
			</div>
</asp:Content>
