<%@ page language="C#" autoeventwireup="true" inherits="WebManage_Video_Resume_Manage, 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/Pub_Date.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">&nbsp;</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td height="4"></td>
							</tr>
						</table>
						<!--页面主体-->
						<asp:Panel Runat=server ID="pan_Video">
							<TABLE cellSpacing="1" cellPadding="4" width="100%" bgColor="#D1E6F7" border="0">
								<TR bgColor="#ffffff">
									<TD style="PADDING-LEFT: 20px" width="100">预览视频：</TD>
									<TD>
										<TABLE borderColor="#e8e8e8" border="10">
											<TR>
												<TD bgColor="#999999">
                                                  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="235" height="170" VIEWASTEXT>
			<param name="movie" value="../images/Flash/Player.swf">
			<param name="quality" value="high">
			<param name="allowFullScreen" value="true" />
			<param name="FlashVars" value='vcastr_file=../../UploadFiles/Person/VideoFile/<%= pub_VideoUrl %>&vcastr_title=&LogoText=zhaopinxitong.com&BarTransparent=10&BarColor=0xffffff&IsAutoPlay=0'>
			<embed src="../images/Flash/Player.swf" width="235" height="170" allowFullScreen="true" FlashVars='../../UploadFiles/Person/VideoFile/<%= pub_VideoUrl %>&vcastr_title=&LogoText=zhaopinxitong.com&BarTransparent=10&BarColor=0xffffff&IsAutoPlay=0' quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
		</object>
											
												</TD>
											</TR>
										</TABLE>
									</TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD style="PADDING-LEFT: 20px" width="100">缩略图片：</TD>
									<TD>
										<TABLE cellSpacing="1" cellPadding="2" bgColor="#D1E6F7" border="0">
											<TR>
												<TD bgColor="#ffffff"><IMG id="img_Photo" height="75" src="../Uploadfiles/Default/PersonVideoPhoto.gif" width="90"
														name="img_Photo" Runat=server></TD>
											</TR>
										</TABLE>
									</TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD style="PADDING-LEFT: 8px" width="100"><FONT color="#ff3300">*</FONT> 公开设置：</TD>
									<TD>
										<asp:RadioButtonList id="rbl_VideoState" Runat=server CellPadding="0" CellSpacing="0">
											<asp:ListItem Value="1">完全公开</asp:ListItem>
											<asp:ListItem Value="2">对会员公开</asp:ListItem>
											<asp:ListItem Value="3">完全屏蔽</asp:ListItem>
										</asp:RadioButtonList></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD style="PADDING-LEFT: 8px" width="100"><FONT color="#ff3300">*</FONT> 开通时间：</TD>
									<TD>
										<asp:TextBox id="txt_VideoDate" onclick="SD(this,'document.all.txt_VideoDate')" Runat=server
											 Width="120"></asp:TextBox>
										<asp:RequiredFieldValidator SetFocusOnError="True" id="rfv_VideoDate" Runat=server ErrorMessage="<br>请选择视频开通时间！" Display="Dynamic"
											ControlToValidate="txt_VideoDate"></asp:RequiredFieldValidator></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD style="PADDING-LEFT: 8px" width="100"><FONT color="#ff3300">*</FONT> 截止时间：</TD>
									<TD>
										<asp:TextBox id="txt_VideoEndDate" onclick="SD(this,'document.all.txt_VideoEndDate')" Runat=server
											 Width="120"></asp:TextBox>
										<asp:RequiredFieldValidator SetFocusOnError="True" id="rfv_VideoEndDate" Runat=server ErrorMessage="<br>请选择视频截止时间！" Display="Dynamic"
											ControlToValidate="txt_VideoEndDate"></asp:RequiredFieldValidator></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD style="PADDING-LEFT: 8px" width="100"><FONT color="#ff3300">*</FONT> 视频状态：</TD>
									<TD>
										<asp:DropDownList Runat=server id="ddl_VideoFlag" Width="120">
											<asp:ListItem Value="0">未通过审核</asp:ListItem>
											<asp:ListItem Value="1">通过审核</asp:ListItem>
											<asp:ListItem Value="2">推荐视频</asp:ListItem>
										</asp:DropDownList></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" onclick="btn_Submit_Click" Runat=server Text="保存设置"></asp:Button>
										<asp:Button id="btn_Delete" onclick="btn_Delete_Click" Runat=server Text="删除视频"></asp:Button></TD>
								</TR>
							</TABLE>
						</asp:Panel>
						<!--无视频文件-->
						<asp:Panel Runat=server ID="pan_UnVideo">
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="25" style="PADDING-LEFT: 12px; PADDING-TOP: 3px; BORDER-BOTTOM: #d3d3d3 1px solid"><strong>上传视频简历</strong>
								(<font color="#ff3300">*</font> 为必填项)</td>
							</tr>
							</table>
							<TABLE cellSpacing="1" cellPadding="4" width="100%" bgColor="#D1E6F7" border="0">
								<TR bgColor="#ffffff">
									<TD style="PADDING-LEFT: 20px" width="100"></TD>
									<TD><FONT color="#777777">该会员暂时没有视频简历，请上传视频简历</FONT>
										</TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD style="PADDING-LEFT: 8px" width="100"><FONT color="#ff3300">*</FONT> 视频简历：</TD>
									<TD>
										<asp:TextBox id="txt_VideoUrl" Runat=server  Width="240"></asp:TextBox>
										<INPUT id="btn_UpLoad" onClick="window.open('../Public/UpLoadFile.aspx?FormName=Form1&amp;EditName=txt_VideoUrl&amp;ImageName=&amp;ExtName=flv&amp;UpPath=Person_Video','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"
											type="button" value="上传文件" name="btn_UpLoad" Runat=server>
										<asp:RequiredFieldValidator SetFocusOnError="True" id="rfv_VideoUrl" Runat=server ErrorMessage="<br><img src=../Images/Public/Icon1.gif align=absbottom> 请上传视频简历！"
											Display="Dynamic" ControlToValidate="txt_VideoUrl"></asp:RequiredFieldValidator><br>
											<FONT color="#777777">视频文件必须是FLV格式，大小不能超过10M
										</FONT></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD style="PADDING-LEFT: 8px" width="100"><FONT color="#ff3300">*</FONT> 缩略图片：</TD>
									<TD>
										<asp:TextBox id="txt_PhotoUrl" Runat=server  Width="240"></asp:TextBox>
										<INPUT id="btn_UpPhoto" onClick="window.open('../Public/UpLoadFile.aspx?FormName=Form1&amp;EditName=txt_PhotoUrl&amp;ImageName=&amp;ExtName=jpg&amp;UpPath=Person_VideoPhoto','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"
											type="button" value="上传图片" name="btn_UpPhoto" Runat=server>
										<asp:RequiredFieldValidator SetFocusOnError="True" id="rfv_PhotoUrl" Runat=server ErrorMessage="<br><img src=../Images/Public/Icon1.gif align=absbottom> 请上传缩略图片！"
											Display="Dynamic" ControlToValidate="txt_PhotoUrl"></asp:RequiredFieldValidator><br>
											<FONT color="#777777">照片必须是JPG或者GIF格式，大小不能超过100K<BR>
											照片应该处理成大小为90 x 75 像素
										</FONT></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_Load" onclick="btn_Load_Click" Runat=server Text=" 保存 "></asp:Button></TD>
								</TR>
							</TABLE>
						</asp:Panel>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
