<%@ page language="C#" autoeventwireup="true" inherits="c_WebManage_Other_Link_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">
	</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><asp:Label Runat=server ID="lbl_Operate"></asp:Label></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_LinkName" Width="260"></asp:TextBox>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_LinkName" ControlToValidate="txt_LinkName" 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:RadioButton Runat=server ID="rbn_Style1" GroupName="rbn_Style" Checked="True"></asp:RadioButton>文字
									<asp:RadioButton Runat=server ID="rbn_Style2" GroupName="rbn_Style"></asp:RadioButton>图片</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px"><font color="#ff0000">*</font> 网站地址：</td>
								<td><asp:TextBox Runat=server ID="txt_WebUrl" Width="260">http://</asp:TextBox>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_WebUrl" ControlToValidate="txt_WebUrl" Display="Dynamic"
										ErrorMessage="<br>请输入网站地址！"></asp:RequiredFieldValidator></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">图片文件：</td>
								<td><font color="#777777">图片须是JPG或GIF格式，80*30像素</font><br>
								<img Runat=server id="img_Logo" src="../UploadFiles/Default/Link.gif" width="88" height="31"><br>
								<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
								<tr><td height="5"></td></tr>
								</table>
								<asp:TextBox Runat=server ID="txt_LogoFile" Width="175" ></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_LogoFile&amp;ImageName=img_Logo&amp;ExtName=jpg&amp;UpPath=Link_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><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:DropDownList Runat=server ID="ddl_Typeid" Width="105">
									<asp:ListItem Value="1">首页</asp:ListItem>
                                        <asp:ListItem Value="13">首页合作伙伴</asp:ListItem>
                                        <asp:ListItem Value="14">首页地方网站</asp:ListItem>
                                        <asp:ListItem Value="15">首页行业网站</asp:ListItem>
                                        <asp:ListItem Value="16">首页综合网站</asp:ListItem>
										<asp:ListItem Value="2">企业招聘</asp:ListItem>
                                        <asp:ListItem Value="3">人才简历</asp:ListItem>
                                        <asp:ListItem Value="4">猎头招聘</asp:ListItem>
                                        <asp:ListItem Value="5">高级人才</asp:ListItem>
                                        <asp:ListItem Value="6">照片人才</asp:ListItem>
                                        <asp:ListItem Value="7">兼职招聘</asp:ListItem>
                                        <asp:ListItem Value="8">微招聘</asp:ListItem>
                                        <asp:ListItem Value="9">招聘新闻</asp:ListItem>
                                        <asp:ListItem Value="10">链接页</asp:ListItem>
                                        <asp:ListItem Value="11">招聘会</asp:ListItem>
                                        <asp:ListItem Value="12">视频</asp:ListItem>
									</asp:DropDownList></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:20px">顺 序：</td>
								<td><asp:TextBox Runat=server ID="txt_OrderNum" Width="55">1</asp:TextBox>
									<font color="#777777">数字越小越靠前显示</font>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_OrderNum" ControlToValidate="txt_OrderNum" Display="Dynamic"
										ErrorMessage="<br>请输入顺序！"></asp:RequiredFieldValidator>
									<asp:RegularExpressionValidator Runat=server ID="rev_OrderNum" ControlToValidate="txt_OrderNum" ValidationExpression="^[0-9]*$"
										Display="Dynamic" ErrorMessage="<br>顺序只限填写数字！"></asp:RegularExpressionValidator></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:8px">备 注：</td>
								<td><asp:TextBox Runat=server ID="txt_Memo" TextMode="MultiLine" Width="400" Rows="6" MaxLength="2000"></asp:TextBox></td>
							</tr>
						</table>
						<!--新增-->
						<asp:Panel Runat=server ID="pan_Add">
							<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" onclick="btn_Submit_Click" Runat=server Width="55" Text="保存"></asp:Button>
										<asp:Label id="lbl_Error" Runat=server ForeColor="#ff0000"></asp:Label></TD>
								</TR>
							</TABLE>
						</asp:Panel>
						<!--更新-->
						<asp:Panel Runat=server ID="pan_Update">
							<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_Save" Runat=server Width="55" Text="保存" OnClick="btn_Save_Click"></asp:Button></TD>
								</TR>
							</TABLE>
						</asp:Panel>
						<!--主体结束-->
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>