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

<%@ Register Tagprefix="UserControls" TagName="Footer" Src="../Controls/Footer.ascx" %>
<%@ Register Tagprefix="UserControls" TagName="Header" Src="../Controls/Header_Company_User.ascx" %>
<%@ Register Tagprefix="UserControls" TagName="Right" Src="../Controls/Right_Company_Video.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
	<HEAD>
		<title>
			<%= "招聘中心_视频面试管理_" + pub_WebName %>
		</title>
		<meta name="author" content="www.zhaopinxitong.com,无忧招聘系统开发制作" />
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<LINK rel="stylesheet" type="text/css" href="../Css/Style.css">
		<script language="javascript" src="../CScript/Pub_Date.js"></script>
	</HEAD>
	<body>
		<form id="Form1" method="post" Runat=server>
			<!--页面顶部-->
			<UserControls:Header Runat=server id="Header1"></UserControls:Header>
			<!--页面主体-->
			<table width="992" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr><td align="center" bgcolor="#FFFFFF"><table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr valign="top">
<td width="188"  class="UserMenu_bg"><!--菜单--><UserControls:Right Runat=server id="Right1" /></td>
          <td bgcolor="#FFFFFF">
          <!--右侧-->
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td class="userbg_top"></td>
            </tr>
            <tr>
              <td valign="top" class="userbg_bg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td valign="bottom" class="userbuttom_bg"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td class="userbuttom22"><a href="Com_Video_Manage.aspx">企业视频管理</a></td>
                      <td width="5"></td>
                      <td  class="userbuttom21"><a href="Com_Video_Room.aspx" class="white"><b>视频面试管理</b></a></td>
                      <td width="5"></td>
                      <td class="userbuttom22"><a href="Com_Video_Apply.aspx">申请面试记录</a></td>
                      <td width="5"></td>
                      <td class="userbuttom22"><a href="Com_Video_Invite.aspx">邀请面试记录</a></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td height="5"></td>
              </tr>
            </table>
						<!--分页控制-->
						<table width="100%" border="0" cellspacing="0" cellpadding="4">
							<tr>
								<td width="50%"><asp:Label Runat=server ID="lbl_Page"></asp:Label></td>
								<td width="50%" align="right"><asp:HyperLink Runat=server ID="hyl_First">首页</asp:HyperLink>
									<asp:HyperLink Runat=server ID="hyl_Prev">前页</asp:HyperLink>
									<asp:Label Runat=server ID="lbl_CutPage"></asp:Label>
									<asp:HyperLink Runat=server ID="hyl_Next">后页</asp:HyperLink>
									<asp:HyperLink Runat=server ID="hyl_Last">尾页</asp:HyperLink></td>
							</tr>
						</table>
						<table width="100%" border="0" cellspacing="1" cellpadding="0">
							<tr>
								<td height="1" bgcolor="#FBB963"></td>
							</tr>
						</table>
						<!--房间列表-->
						<asp:DataList Runat=server ID="lit_RoomList" DataKeyField="Mid" RepeatColumns="1" Width="100%"
							CellPadding="0" CellSpacing="0" OnItemDataBound="RoomList_ItemDataBound">
							<HeaderTemplate>
								<table width="100%" border="0" cellspacing="1" cellpadding="4">
									<tr bgcolor="#FEEECC">
										<td width="5%" align="center"></td>
										<td width="20%"><strong>房间名称</strong></td>
										<td width="10%"><strong>密码</strong></td>
										<td width="21%"><strong>面试职位</strong></td>
										<td width="17%"><strong>面试时间</strong></td>
										<td width="17%"><strong>结束时间</strong></td>
										<td><strong>操作</strong></td>
									</tr>
								</table>
							</HeaderTemplate>
							<ItemTemplate>
								<table width="100%" border="0" cellspacing="1" cellpadding="4">
									<tr>
										<td width="5%" align="center">
											<asp:Label Runat=server ID="lbl_Orderid"></asp:Label></td>
										<td width="20%"><%# Eval("Roomname") %></td>
										<td width="10%"><%# Eval("Password") %></td>
										<td width="21%"><%# Eval("JobName") %></td>
										<td width="17%"><%# Eval("BeginTime") %></td>
										<td width="17%"><%# Eval("EndTime") %></td>
										<td><a href='<%# "?Action=update&Mid="+ Eval("Mid") %>' class="uline">修改</a><img src="../Images/Public/icon2.gif" width="11" height="15" align="absmiddle"><a href='<%# "?Action=delete&Mid="+ Eval("Mid") %>' onClick="return confirm('确认删除该面试房间？');" class="uline">删除</a></td>
									</tr>
									<tr>
										<td colspan="7" height="1" bgcolor="#d3d3d3"></td>
									</tr>
								</table>
							</ItemTemplate>
						</asp:DataList>
						<!--新增/修改面试房间-->
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="5"></td>
							</tr>
							<tr>
								<td height="28" style="PADDING-LEFT: 12px; PADDING-TOP: 3px; BORDER-BOTTOM: #d3d3d3 1px solid"><strong><asp:Label Runat=server ID="lbl_Operate"></asp:Label></strong>
									(<font color="#ff3300">*</font> 为必填项)</td>
							</tr>
						</table>
						<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#dddddd">
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:12px"><font color="#ff0000">*</font> 房间名称：</td>
								<td><asp:TextBox Runat=server ID="txt_Roomname" Width="200" MaxLength="100"></asp:TextBox>
									<font color="#777777">请输入面试房间名称,如面试技术人员</font>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_Roomname" ControlToValidate="txt_Roomname" Display="Dynamic"
										ErrorMessage="<br><img src=../Images/Public/Icon1.gif align=absbottom> 请输入房间名称！"></asp:RequiredFieldValidator>
								</td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:24px">房间密码：</td>
								<td><asp:TextBox Runat=server ID="txt_Password" Width="200" MaxLength="32"></asp:TextBox>
									<font color="#777777">默认为空,求职者可直接进入面试房间</font></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:12px"><font color="#ff0000">*</font> 面试职位：</td>
								<td><asp:DropDownList Runat=server ID="ddl_JobList" Width="200">
										<asp:ListItem Value="">请选择职位</asp:ListItem>
									</asp:DropDownList>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_JobList" ControlToValidate="ddl_JobList" Display="Dynamic"
										ErrorMessage="<br><img src=../Images/Public/Icon1.gif align=absbottom> 请选择职位！" /></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:12px"><font color="#ff0000">*</font> 面试时间：</td>
								<td><asp:TextBox Runat=server ID="txt_BeginDate" Width="108"  onclick="SD(this,'document.all.txt_BeginDate')"></asp:TextBox>
									<asp:DropDownList Runat=server ID="ddl_BeginHour" Width="40"></asp:DropDownList>
									<asp:DropDownList Runat=server ID="ddl_BeginMinute" Width="40"></asp:DropDownList>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_BeginDate" ControlToValidate="txt_BeginDate" Display="Dynamic"
										ErrorMessage="<br><img src=../Images/Public/Icon1.gif align=absbottom> 请选择面试时间！"></asp:RequiredFieldValidator></td>
							</tr>
							<tr bgcolor="#ffffff">
								<td width="100" style="PADDING-LEFT:12px"><font color="#ff0000">*</font> 结束时间：</td>
								<td><asp:TextBox Runat=server ID="txt_EndDate" Width="108"  onclick="SD(this,'document.all.txt_EndDate')"></asp:TextBox>
									<asp:DropDownList Runat=server ID="ddl_EndHour" Width="40"></asp:DropDownList>
									<asp:DropDownList Runat=server ID="ddl_EndMinute" Width="40"></asp:DropDownList>
									<asp:RequiredFieldValidator SetFocusOnError="True" Runat=server ID="rfv_EndDate" ControlToValidate="txt_EndDate" Display="Dynamic"
										ErrorMessage="<br><img src=../Images/Public/Icon1.gif align=absbottom> 请选择结束时间！"></asp:RequiredFieldValidator></td>
							</tr>
						</table>
						<!--新增-->
						<asp:Panel Runat=server ID="pan_Add">
							<TABLE cellSpacing="1" cellPadding="4" width="100%" border="0">
								<TR>
									<TD style="PADDING-LEFT: 24px" width="100">&nbsp;</TD>
									<TD align="left">
										<asp:Button id="btn_Submit" onclick="btn_Submit_Click" Runat=server Width="60" Text="保存" Height="30"></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%" border="0">
								<TR>
									<TD style="PADDING-LEFT: 24px" width="100">&nbsp;</TD>
									<TD align="left">
										<asp:Button id="btn_Update" Runat=server Width="60" Text="保存" OnClick="btn_Update_Click" Height="30"></asp:Button>
										<asp:Label id="lbl_Error2" Runat=server ForeColor="#ff0000"></asp:Label></TD>
								</TR>
							</TABLE>
						</asp:Panel>
						<!--页面左侧 结束-->
					</td>
            </tr>
            <tr>
              <td class="userbg_bottom"></td>
            </tr>
          </table></td>
              </tr>
            </table></td>
              </tr>
            </table>
			<!--页面底部-->
<UserControls:Footer Runat=server id="Footer1"></UserControls:Footer>
		</form>
	</body>
</HTML>
