📄 loginvideo.asp
字号:
<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<!--#include file="UserCookies.asp" -->
<%
Dim SQL,Rs
Dim RoomId,RoomName,Password
RoomId = SafeRequest("RoomId")
SQL = "Select RoomName,RoomPwd,MemberNum,MaxMemberNum,BeginTime,EndTime From [RoomTable] Where RoomId="&Cstr(RoomId)
Set Rs = Conn.Execute(SQL)
If Rs.Eof Then
Rs.Close
CloseDb
Response.write "没有找到该视频房间!"
Response.End()
ElseIf Rs("BeginTime") > Now Then
Rs.Close
CloseDb
Response.write "本次视频面试还没有开始!"
Response.End()
ElseIf Rs("EndTime") < Now Then
Rs.Close
CloseDb
Response.write "本次视频面试已经结束!"
Response.End()
ElseIf Rs("MemberNum") > Rs("MaxMemberNum") Then
Rs.Close
CloseDb
Response.write "该视频房间已经满员!"
Response.End()
End if
'//如果该房间没有设置密码,则直接进入
If Rs("RoomPwd") = "" Then
Rs.Close
CloseDb
Response.redirect "WebVT_Codes_2/Talk.asp?RoomId="&RoomId
End if
RoomName = Rs("RoomName")
Rs.Close
CloseDb
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE><%= Cls_WebName %> -- 视频面试</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<link href="../Css/Css.css" rel="stylesheet" type="text/css">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0>
<TABLE cellSpacing=0 cellPadding=0 width=775 align=center border=0>
<TBODY>
<TR>
<TD height="100">
<IFRAME border=0 name=Longinfrm marginWidth=0 frameSpacing=0
marginHeight=0 src="about:blank" frameBorder=0 noResize width=0
scrolling=no height=0></IFRAME></TD></TR>
<TR>
<TD background=Img/top_bggrey.gif> </TD></TR>
<TR>
<TD background=Img/index.jpg height=300>
<TABLE id=Table2 cellSpacing=0 cellPadding=0 width=270 align=left
border=0>
<FORM name="theForm" method=post action="WebVT_Codes_2/Talk.asp" onSubmit="return theForm_Check();">
<script language="JavaScript">
function theForm_Check()
{
if (document.theForm.RoomPwd.value=="")
{
alert("-请输入房间密码-");
document.theForm.RoomPwd.focus();
return false;
}
}
</script>
<TBODY>
<TR>
<TD colSpan=2 height=70> </TD></TR>
<TR>
<TD width="40%">
<DIV align=right>房间名称:</DIV></TD>
<TD>
<INPUT maxLength=20 name=txtname readonly Style="Width:100px;" value="<%= RoomName %>"></TD></TR>
<TR>
<TD>
<DIV align=right>输入密码:</DIV></TD>
<TD>
<DIV align=left>
<input type=password maxlength=20 name="RoomPwd" style="Width:100px;">
</DIV></TD></TR>
<TR>
<TD colSpan=2 height=40>
<DIV align=center>
<input type="hidden" name="RoomId" value="<%= RoomId %>">
<input type="hidden" name="RoomName" value="<%= RoomName %>">
<INPUT type=submit value=进入视频面试房间 name=Submit2>
</DIV></TD></TR></FORM>
</TABLE></TD></TR>
<TR>
<TD
background=Img/top_bggrey.gif> </TD></TR></TBODY></TABLE>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -