<%@ page language="C#" autoeventwireup="true" inherits="WebManage_Web_Manage_Update, ZhaoPinXiTong" enableEventValidation="false" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>
		<meta name="author" content="www.zhaopinxitong.com,无忧招聘系统开发制作" />
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK rel="stylesheet" type="text/css" href="../Css/Other.css">
        <script language="javascript" src="../Cscript/per_wish.js"></script>
	</HEAD>
	<body>
		<form id="Form1" method="post" Runat=server>
			<!--页面顶部-->
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td style="PADDING-RIGHT:5px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="5"></td>
							</tr>
							<tr>
								<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="5" height="24" background="../Images/WebOffices/Right1_bg.jpg"></td>
											<td background="../Images/WebOffices/Right1_bg.jpg" style="PADDING-LEFT:8px;PADDING-TOP:2px"><font color="#ffffff"><b>编辑分站</b></font></td>
											<td width="200" align="right" background="../Images/WebOffices/Right1_bg.jpg" style="PADDING-RIGHT:8px"></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td height="4"></td>
							</tr>
						</table>
						<!--页面主体-->
						<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#D1E6F7">
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff0000">*</font> 中文名称：</td>
								<td><asp:TextBox Runat=server ID="txt_cnName" Width="280"></asp:TextBox>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_cnName" ControlToValidate="txt_cnName" Display="Dynamic"
										ErrorMessage="<br>请输入分站中文名称！"></asp:RequiredFieldValidator></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff0000">*</font> 英文名称：</td>
								<td><asp:TextBox Runat=server ID="txt_enName" Width="280"></asp:TextBox>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_enName" ControlToValidate="txt_enName" Display="Dynamic"
										ErrorMessage="<br>请输入分站英文名称！"></asp:RequiredFieldValidator></td>
							</tr>
							
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff0000">*</font> 分站域名：</td>
								<td><asp:TextBox Runat=server ID="txt_DomainName" Width="280"></asp:TextBox>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_DomainName" ControlToValidate="txt_DomainName" Display="Dynamic"
										ErrorMessage="<br>请输入分站域名！"></asp:RequiredFieldValidator></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">LOGO图片：</td>
								<td><font color="#777777">图片须是JPG或GIF格式，190*60像素</font><br>
									<img Runat=server id="img_Logo" src="../UploadFiles/Default/CityLogo.gif" width="190"
										height="60"><br>
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td height="5"></td>
										</tr>
									</table>
									<asp:TextBox Runat=server ID="txt_LogoUrl" Width="190" ></asp:TextBox>
									<input type="button" name="btn_UpLoad" id="btn_UpLoad" Runat=server value="上传图片" onClick="window.open('../Public/UpLoadFile.aspx?FormName=Form1&amp;EditName=txt_LogoUrl&amp;ImageName=img_Logo&amp;ExtName=jpg&amp;UpPath=City_Logo','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_LogoUrl" ControlToValidate="txt_LogoUrl" Display="Dynamic"
										ErrorMessage="<br>请上传分站LOGO图片！"></asp:RequiredFieldValidator>
								</td>
								
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">首页图片：</td>
								<td><font color="#777777">图片须是JPG或GIF格式，50*42像素,行业分站不需要上传</font><br>
									<asp:TextBox Runat=server ID="txt_PicUrl" Width="190" ></asp:TextBox>
									<input type="button" name="btn_UpLoad" id="Button1" Runat=server value="上传图片" onClick="window.open('../Public/UpLoadFile.aspx?FormName=Form1&amp;EditName=txt_PicUrl&amp;ImageName=&amp;ExtName=jpg&amp;UpPath=City_Logo','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">性质：</td>
								<td><div style="float:left;"><asp:DropDownList Runat=server ID="ddl_Type" Width="80">
										<asp:ListItem Value="1">行业分站</asp:ListItem>
										<asp:ListItem Value="2">地区分站</asp:ListItem>
									</asp:DropDownList></div>
                                      <div id="trade" style="float:left;<%=di1%>">
                                   <asp:DropDownList Runat=server ID="ddl_CurrentTradeType" Width="110">
										<asp:ListItem Value="">请选择</asp:ListItem>
									</asp:DropDownList>
                                    <asp:DropDownList Runat=server ID="ddl_CurrentTrade" Width="110">
										<asp:ListItem Value="">请选择</asp:ListItem>
									</asp:DropDownList>
                                    <input type="hidden" Runat="server" id="hid_CurrentTrade" name="hid_CurrentTrade">
                                   </div>
                                  <div id="area" style="float:left;<%=di2%>">
                                   <asp:DropDownList Runat=server ID="ddl_WishWorkPlaceArea" Width="110">
									<asp:ListItem Value="">请选择</asp:ListItem>
									</asp:DropDownList>
                                    <asp:DropDownList Runat=server ID="lib_WishWorkPlaceCity" Width="110">
										<asp:ListItem Value="">请选择</asp:ListItem>
									</asp:DropDownList>
                                    <input type="hidden" Runat="server" id="Hidden1" name="hid_CurrentTrade">
                                   </div>
                                    </td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">状态：</td>
								<td><asp:DropDownList Runat=server ID="ddl_Flag" Width="55">
										<asp:ListItem Value="1">正常</asp:ListItem>
										<asp:ListItem Value="0">屏蔽</asp:ListItem>
									</asp:DropDownList></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">顺 序：</td>
								<td><asp:TextBox Runat=server ID="txt_Orderid" Width="55">1</asp:TextBox>
									<font color="#777777">数字越小越靠前显示</font>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_Orderid" ControlToValidate="txt_Orderid" Display="Dynamic"
										ErrorMessage="<br>请输入分站顺序！"></asp:RequiredFieldValidator>
									<asp:RegularExpressionValidator Runat=server ID="rev_Orderid" ControlToValidate="txt_Orderid" ValidationExpression="^[0-9]*$"
										Display="Dynamic" ErrorMessage="<br>顺序只限填写数字！"></asp:RegularExpressionValidator></td>
							</tr>
						</table>
						<TABLE cellSpacing="1" cellPadding="4" width="100%" bgColor="#ffffff" border="0">
							<TR bgColor="#ffffff">
								<TD style="PADDING-LEFT: 20px" width="100">&nbsp;</TD>
								<TD><asp:Button id="btn_Submit" Runat=server Width="55" Text="保存" OnClick="btn_Submit_Click"></asp:Button>
									<asp:Label id="lbl_Error" Runat=server ForeColor="#ff0000"></asp:Label></TD>
							</TR>
						</TABLE>
						<!--主体结束-->
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
