<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<% 
'地区分站参数
Dim c_City,c_Name
If Session("c_City") = "" Then 
 Response.Redirect "../Index.asp"
 Response.End()
End if
c_City = Session("c_City")
c_Name = Session("c_Name")
 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../Css/Style.css" type=text/css rel=stylesheet>
<title><%= Cls_WebName&" | "&c_Name&"站" %> -- 视频招聘</title>
</head>
<style>
.c101 
{
	background-color:#863D70;
	color: #ffffff;
} 
.c102 
{
	background-color:#efefef;
}
}
</style>

<script language="JavaScript" src="../js/Search.js"></script>
<script language="JavaScript">
 function login_check()
 {

 if (document.login.username.value==""){
  alert("-请输入用户名-");
  document.login.username.focus();
  return false;
 }
  if (document.login.password.value==""){
  alert("-请输入登陆密码-");
  document.login.password.focus();
  return false;
 }
 }
 function search_check()
 {
 if (document.quicksearch.btnSltFuntype1.value=="选择/修改"){
  alert("-请选择职位类别");
  //document.quicksearch.btnSltFuntype1.focus();
  return false;
 } 
 if (document.quicksearch.btnSltArea1.value=="选择/修改"){
  alert("-请选择地区");
  //document.quicksearch.btnSltArea1.focus();
  return false;
 } 
 if (document.quicksearch.btnSltIndustry1.value=="选择/修改"){
  alert("-请选择行业类别");
  //document.quicksearch.btnSltIssuedate1.focus();
  return false;
 }
  if (document.quicksearch.btnSltIssuedate1.value=="选择/修改"){
  alert("-请选择更新日期");
  //document.quicksearch.btnSltIssuedate1.focus();
  return false;
 }  
 if (document.quicksearch.key.value=="请输入关键字"){
  alert("-请输入关键字-");
  document.quicksearch.key.focus();
  return false;
 }
 }
</script>

<SCRIPT language=javascript>
<!--
buildDiv("popupArea","popupFuntype","popupSubfuntype","popupIndustry","popupIssuedate");
//-->
</SCRIPT>
<script language="JavaScript">
function csecBoard(n) 
{ 
    for(i=1;i<5;i++) 
    { 
        eval("document.getElementById('cl0"+i+"').className='c102'"); 
        eval("cbx0"+i+".style.display='none'"); 
    } 
    eval("document.getElementById('cl0"+n+"').className='c101'"); 
    eval("cbx0"+n+".style.display='block'"); 
} 
</script>

<body>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><!--#include file="../c_Header/Video_Index.asp" --></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
	<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="4"></td>
        </tr>
      </table>
	  <table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr valign="top">
          <td width="180"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="25" align="left" valign="bottom" background="../Images/Video/left1_bg.jpg" style="padding-left:10px;"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="65" height="20" align="center" valign="bottom" bgcolor="#FFFFFF"><strong>会员登录</strong></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td style="BORDER-RIGHT: #B15696 1px solid; BORDER-LEFT: #B15696 1px solid;BORDER-bottom: #B15696 1px solid;"> 
                  <!--#include file="../c_Public/MemberSession.asp" -->
                </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="25" align="left" valign="bottom" background="../Images/Video/left1_bg.jpg" style="padding-left:10px;"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="65" height="20" align="center" valign="bottom" bgcolor="#FFFFFF"><strong>视频招聘</strong></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td style="BORDER-RIGHT: #B15696 1px solid; BORDER-LEFT: #B15696 1px solid;BORDER-bottom: #B15696 1px solid;padding-top:2px;padding-bottom:2px;"> 
                  <div id=demo style=overflow:hidden;height:176> 
                    <div id=demo1> 
					
                      <TABLE width=100% border="0" align=center cellPadding=0 cellSpacing=0 id=news>
                        <% 
				 SQL = "Select Top 20 * From [pH_Video_Type] Where Cityid="&c_City&" Order By Ncid Desc"
				  Set Rs = Conn.Execute(SQL)
				  While Not Rs.Eof
				     Title = Left(Rs("Title"),13)
					 Coms = Rs("Coms") 
					 BeginTime = Rs("BeginTime") 
				   %>
                        <TR> 
                          <TD vAlign=center height=22>&middot;<a href="Video_Meet_List.asp?Param=<%= Rs("Ncid") %>" target="_blank"><%= Title %></a></TD>
                        </TR>
                        <% 
				    Rs.Movenext
				   Wend
				   Rs.Close	
				    %>
                      </TABLE>
                    </div>
                    <div id=demo2></div>
                  </div>
                  <script>
<!--
  var speed		= 15;//滚动速度
  var rows		= 22;//每行高度
  var stim		= 80; //停留时间倍数 * speed
  var stop		= 0; //初始化值，不管
  demo2.innerHTML	= demo1.innerHTML
  function Marquee(){
    if(demo.scrollTop%rows==0 && stop<=stim){
      stop++;
      return;
    }
    stop = 0;
    if(demo2.offsetTop-demo.scrollTop<=0)
      demo.scrollTop-=demo1.offsetHeight
    else{
      demo.scrollTop++
    }
  }
  var MyMar	   = setInterval(Marquee,speed)
  demo.onmouseover = function() {clearInterval(MyMar)}
  demo.onmouseout  = function() {MyMar=setInterval(Marquee,speed)}
-->
</script> </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="25" align="left" valign="bottom" background="../Images/Video/left1_bg.jpg" style="padding-left:10px;"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="65" height="20" align="center" valign="bottom" bgcolor="#FFFFFF"><strong>职业指导</strong></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td style="BORDER-RIGHT: #B15696 1px solid; BORDER-LEFT: #B15696 1px solid;BORDER-bottom: #B15696 1px solid;padding-top:2px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
                          <tr align="center"> 
                            <td width="25%" height="23" class="c101" id="cl01" onMouseOver="csecBoard(1);"><strong>简历</strong></td>
                            <td width="25%" height="23" class="c102" id="cl02" onMouseOver="csecBoard(2);"><strong>面试</strong></td>
                            <td width="25%" height="23" class="c102" id="cl03" onMouseOver="csecBoard(3);"><strong>求职</strong></td>
                            <td width="25%" height="23" class="c102" id="cl04" onMouseOver="csecBoard(4);"><strong>职场</strong></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td> <div style="display:" id="cbx01"> 
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <% 
SQL = "Select Top 10 Title,FileName,Path,t_Color From [pH_New_Info] Where Title <>'' And (Typeid=10) And Flag=1 And Cityid="&c_City&" Order By DateAndTime Desc"
Set Rs = Conn.Execute(SQL)
While Not Rs.Eof					
%>
                            <tr> 
                              <td height="24">&middot;<a href="../<%= Rs("Path") %>/<%= Rs("FileName") %>" target="_blank"><font color="<%= Rs("t_Color") %>"><%= Left(Rs("Title"),13) %></font></a></td>
                            </tr>
                            <% 
 Rs.Movenext
Wend
Rs.Close
 %>
                          </table>
                        </div>
                        <div style="display:none;" id="cbx02"> 
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <% 
SQL = "Select Top 10 Title,FileName,Path,t_Color From [pH_New_Info] Where Title <>'' And (Typeid=11) And Flag=1 And Cityid="&c_City&" Order By DateAndTime Desc"
Set Rs = Conn.Execute(SQL)
While Not Rs.Eof					
%>
                            <tr> 
                              <td height="24">&middot;<a href="../<%= Rs("Path") %>/<%= Rs("FileName") %>" target="_blank"><font color="<%= Rs("t_Color") %>"><%= Left(Rs("Title"),13) %></font></a></td>
                            </tr>
                            <% 
 Rs.Movenext
Wend
Rs.Close
 %>
                          </table>
                        </div>
                        <div style="display:none;" id="cbx03"> 
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <% 
SQL = "Select Top 10 Title,FileName,Path,t_Color From [pH_New_Info] Where Title <>'' And (Typeid=8) And Flag=1 And Cityid="&c_City&" Order By DateAndTime Desc"
Set Rs = Conn.Execute(SQL)
While Not Rs.Eof					
%>
                            <tr> 
                              <td height="24">&middot;<a href="../<%= Rs("Path") %>/<%= Rs("FileName") %>" target="_blank"><font color="<%= Rs("t_Color") %>"><%= Left(Rs("Title"),13) %></font></a></td>
                            </tr>
                            <% 
 Rs.Movenext
Wend
Rs.Close
 %>
                          </table>
                        </div>
                        <div style="display:none;" id="cbx04"> 
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <% 
SQL = "Select Top 10 Title,FileName,Path,t_Color From [pH_New_Info] Where Title <>'' And (Typeid=7) And Flag=1 And Cityid="&c_City&" Order By DateAndTime Desc"
Set Rs = Conn.Execute(SQL)
While Not Rs.Eof					
%>
                            <tr> 
                              <td height="24">&middot;<a href="../<%= Rs("Path") %>/<%= Rs("FileName") %>" target="_blank"><font color="<%= Rs("t_Color") %>"><%= Left(Rs("Title"),13) %></font></a></td>
                            </tr>
                            <% 
 Rs.Movenext
Wend
Rs.Close
 %>
                          </table>
                        </div></td>
                    </tr>
                  </table></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table></td>
          <td width="5">&nbsp;</td>
          <td> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="17"><img src="../Images/Video/right1_left.jpg" width="17" height="24"></td>
                <td background="../Images/Video/right1_bg.jpg"><strong>视频面试</strong></td>
                <td width="11"><img src="../Images/Video/right1_right.jpg" width="11" height="24"></td>
              </tr>
            </table>
            <table width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <% 
SQL = "Select Top 8 R.RoomID,R.RoomName,R.RoomRenName,R.BeginTime,R.MemberNum,R.MaxMemberNum,C.CompanyName,C.Comid From RoomTable as R,pH_Company_Base As c Where R.BeginTime<=getdate() And R.EndTime>=getdate() And Type=0 And R.RoomRenName=C.Username  And Cityid="&c_City&" Order By R.RoomId Desc"
Set Rs = Conn.Execute(SQL)

For i = 1 to 4
 If Rs.Eof Then Exit For
 %>
              <tr> 
                <% 
			  For j = 1 to 2
			   If Rs.Eof Then Exit For
 				Id = Rs("RoomId")
 				RoomName = Rs("RoomName")
 				RoomRenName = Rs("RoomRenName")
  				BeginTime = Rs("BeginTime")
  				MemberNum = Rs("MemberNum")
  				MaxMemberNum = Rs("MaxMemberNum")
  				CompanyName = Rs("CompanyName")
  				Comid = Rs("Comid")
  				If MemberNum <= MaxMemberNum Then
    				Str = "<a href=LoginVideo.asp?RoomId="&Id&" target=_blank>进入</a>"
  				Else
    				Str = "满员"
  				End if
			   %>
                <td width="50%"> <table width="99%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td width="20"><img src="../Images/video2.gif" width="14" height="16"></td>
                            <td valign="bottom"><a href="javascript:window.open('LoginVideo.asp?RoomId=<%= Id %>','','fullscreen=0,menubar=no,width=1024,height=740,resizable=yes, left=0, top=0');location.href='index.asp';"><font color="666666"><strong><%= RoomName %></strong></font></a></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td height="3"></td>
                    </tr>
                    <tr> 
                      <td height="2" bgcolor="#dddddd"></td>
                    </tr>
                    <tr> 
                      <td height="25" style="BORDER-RIGHT: #dddddd 1px solid;BORDER-LEFT: #dddddd 1px solid;BORDER-BOTTOM: #dddddd 1px solid"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr> 
                            <td height="25">面试房间：<%= RoomName %></td>
                          </tr>
                          <tr> 
                            <td height="25">企业名称：<a href="../Company/Info/Com_View.asp?Param=<%= Comid %>" target="_blank"><%= CompanyName %></a></td>
                          </tr>
                          <tr> 
                            <td height="25">面试时间：<%= BeginTime %></td>
                          </tr>
                          <tr> 
                            <td height="25">该房间现有<%= MemberNum&"/"&MaxMemberNum %>人</td>
                          </tr>
                          <tr> 
                            <td height="25" align="right">| <a href="javascript:window.open('LoginVideo.asp?RoomId=<%= Id %>','','fullscreen=0,menubar=no,width=1024,height=740,resizable=yes, left=0, top=0');location.href='index.asp';">进入房间参加面试</a></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table>
                  <table width="98%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="5"></td>
                    </tr>
                  </table></td>
                <% 
				Rs.Movenext
			   Next
				 %>
              </tr>
              <% 
			 Next
			 Rs.Close 
			   %>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="right"><a href="Video_Room_More.asp" target="_blank">更多视频面试...</a>&nbsp;</td>
              </tr>
            </table>
            
          </td>
        </tr>
      </table>
      
	  </td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><!--#include file="../c_Include/Footer.asp" --></td>
  </tr>
</table>
</body>
</html>
