<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="ComparyEdit.aspx.cs" Inherits="AndroidSevice.Web.BackStage.WeChat.ComparyEdit" %>
<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_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 id="comparyid" name="comparyid" type="hidden" value="<%=_comparyid %>" />
                                  <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="hy" value="<%=_hy %>" id="zcnum" />
                                  </div>
                             </div>
                              <div class="control-group" id="div6" runat="server">
                                  <label class="control-label">地区</label>
                                  <div class="controls">
                                  <asp:DropDownList ID="shen" 
                                        runat="server" onselectedindexchanged="DropDownList1_SelectedIndexChanged" AutoPostBack="true">
                                  </asp:DropDownList>
                                  </div>
                                   <label class="control-label"></label>
                                   <div class="controls">
                                     <asp:DropDownList ID="shi" runat="server">
                                    </asp:DropDownList>
                                   </div>
                             </div>
                              <div class="control-group" id="div5" runat="server">
                                  <label class="control-label">域名</label>
                                  <div class="controls">
                                   <input type="text" name="PCUrl" value="<%=PCUrl %>" id="PCUrl" />
                                  </div>
                             </div>
                              <div class="control-group" id="div7" runat="server">
                                  <label class="control-label">端口号</label>
                                  <div class="controls">
                                   <input type="text" name="PCPort" value="<%=PCPort %>" id="PCPort" />
                                  </div>
                                   <label class="control-label"></label>
                                  <div class="controls">
                                   云版要加入虚拟目录名(例：6868/yun)
                                  </div>
                             </div>
                             <% if ((string)Session["pws"].ToString().ToUpper() == "MEDIASOFT")
                                { %>
                              <div class="control-group" id="div8" runat="server">
                                  <label class="control-label">推送地址</label>
                                  <div class="controls">
                                   <input type="text" name="WXSerUrl" value="<%=WXSerUrl %>" id="WXSerUrl" />
                                  </div>
                             </div>
                             <%} %>
                              <div class="control-group" id="div3" runat="server">
                                  <label class="control-label">备注</label>
                                  <div class="controls">
                                    <input type="text" name="comment" value="<%=comment %>" id="comment" />
                                  </div>
                                  <input id="HUrl" name="HUrl" type="hidden" value="<%=WXSerUrl %>" />
                             </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>
                             </div>
							</div>
						</div>
					</div>
				</div>
			</div>
</asp:Content>
