📄 joinexam.aspx
字号:
<%@ Page language="c#" Codebehind="JoinExam.aspx.cs" AutoEventWireup="false" Inherits="BSNetExam.Examing.JoinExam" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>考试现场</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script language="javascript" src="../CSS/ExamConeter.js"></script>
<LINK href="../CSS/STYLE.CSS" type="text/css" rel="stylesheet">
<STYLE>.outborder { BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #99ccff 1px solid; BORDER-LEFT: #333333 1px solid; BORDER-BOTTOM: #000000 1px solid; BACKGROUND-COLOR: #336699 }
.inputborder { BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; COLOR: #00ff00; BORDER-BOTTOM: 1px solid; BACKGROUND-COLOR: #333333; TEXT-ALIGN: center }
</STYLE>
<SCRIPT language="javascript">
<!--
float_init = 1;
function DHTML_Init(Object) {
if (navigator.userAgent.match(/Mozilla\/5\../) && float_init) {
SetObjectOffsetTop(Object, undefined);
}
}
function All (ID) {
if (document.all) { return document.all[ID]; }
else if (document.documentElement){
return document.getElementById (ID);
}
else if (document.layers) { return document.layers[ID]; }
}
function GetWindowOffsetTop() {
if (window.innerHeight) { return window.pageYOffset; }
else if (document.body) { return document.body.scrollTop; }
}
function GetWindowHeight() {
if (window.innerHeight) { return window.innerHeight; }
else if (document.body) { return document.body.clientHeight; }}
function GetObjectHeight(Object) {
DHTML_Init(Object);
if (document.all || document.documentElement) {
Clip = Object.style.clip;
if (! Clip) { return Object.offsetHeight; }
else { return GetClipElement (Clip, 'Bottom'); }}
else if (document.layers) { return Object.clip.height; }}
function GetClipElement (Clip, Element) {
Clip = Clip.substr(Clip.indexOf('(') + 1);
Clip = Clip.substr(0, Clip.length - 1);
Clippers = Clip.split (" ");
for (i = 0; i < Clippers.length; i++) {
if (Clippers[i] != 'auto') {
Clippers[i] = Clippers[i].replace (/D/g, ""); }
}
ClipTop = Number(Clippers[0]);
ClipRight = Number(Clippers[1]);
ClipBottom = Number(Clippers[2]);
ClipLeft = Number(Clippers[3]);
if (Element == 'Top') { return ClipTop; }
else if (Element == 'Right') { return ClipRight; }
else if (Element == 'Bottom') { return ClipBottom; }
else if (Element == 'Left') { return ClipLeft; }
else { return undefined; }}
function GetObjectOffsetTop(Object) {
DHTML_Init(Object);
if (Object.offsetTop) { return Object.offsetTop; }
else if (document.layers) { return Object.top; }
}
function SetObjectOffsetTop(Object, Offset) {
if (Object.style) { Object.style.top = Offset; }
else if (Object.top) { Object.top = Offset; }}
CenterMenu = 1;
MenuBorder = 100;
TimeCheck = 250;
TimeUpdate = 15;
DivUpdate = 15;
Minimum = 50;
AddHeight = -4;
function ScrollMenu() {
Menu = All('persistMenu');
WinTop = GetWindowOffsetTop();
WinHeight = GetWindowHeight() + AddHeight;
MenuTop = GetObjectOffsetTop(Menu);
MenuHeight = GetObjectHeight (Menu);
MenuNew = (CenterMenu) ? Math.round (WinTop + (WinHeight - MenuHeight) / 1) : WinTop + MenuBorder;
if (MenuNew < Minimum)
{ MenuNew = Minimum; }
if (MenuTop != MenuNew) {
if ( (MenuTop + MenuHeight) < WinTop || MenuTop > (WinTop + WinHeight) ) {
SetObjectOffsetTop (Menu, (MenuTop < MenuNew) ? (WinTop - MenuHeight) : (WinTop + WinHeight));
}
else {
Add = (MenuTop < MenuNew) ? 1 : -1;
SetObjectOffsetTop (Menu, MenuTop + Math.round((MenuNew - MenuTop) / DivUpdate) + Add);
}
}
window.setTimeout('ScrollMenu()', (GetObjectOffsetTop(Menu) == MenuNew) ? TimeCheck : TimeUpdate);
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</SCRIPT>
</HEAD>
<body leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
<FORM id="TestExam" onsubmit="return submitit();" method="post" runat="server">
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
<TR height="35">
<TD align="center" colSpan="3"><font style="FONT-SIZE: 16px" face="黑体" color="#0054a6"><asp:label id="labExamName" runat="server"></asp:label></font></TD>
</TR>
<TR>
<TD align="center"><asp:Label id="labPaperStatus" runat="server" Visible="False"></asp:Label><STRONG>
科目:</STRONG>
<asp:label id="labSubject" runat="server"></asp:label></TD>
<TD align="center"><STRONG>总分:</STRONG>
<asp:label id="labFen" runat="server"></asp:label>分</TD>
<TD align="center"><STRONG>时间:</STRONG>
<asp:label id="labTime" runat="server"></asp:label>分钟</TD>
</TR>
<TR>
<TD colSpan="3">
<hr color="#999999" SIZE="1">
</TD>
</TR>
<TR>
<TD colSpan="3"><asp:label id="labSTitle" runat="server" Visible="False" ForeColor="#0000cc"></asp:label><asp:label id="labSFen" runat="server" Visible="False"></asp:label><br>
<asp:datagrid id="DataGridS" runat="server" Visible="False" BorderWidth="0px" Width="100%" AutoGenerateColumns="False"
ShowHeader="False">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<TABLE id="Table2" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
<TR>
<TD>
<asp:Label id=labSDataTitle runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"RubricTitle") %>'>
</asp:Label></TD>
</TR>
<TR>
<TD>
<asp:RadioButtonList id="RBLSData" runat="server" RepeatDirection="Horizontal"></asp:RadioButtonList></TD>
</TR>
<TR>
<TD>
<asp:Label id=labSOKAnswer runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"OKAnswer") %>'>
</asp:Label></TD>
</TR>
<TR>
<TD>
<HR color="#999999" SIZE="1">
</TD>
</TR>
</TABLE>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid><asp:label id="labDTitle" runat="server" Visible="False" ForeColor="#0000cc"></asp:label><asp:label id="labDFen" runat="server" Visible="False"></asp:label><br>
<asp:datagrid id="DataGridD" runat="server" Visible="False" BorderWidth="0px" Width="100%" AutoGenerateColumns="False"
ShowHeader="False">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<TABLE id="Table3" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
<TR>
<TD>
<asp:Label id=labDDataTitle runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"RubricTitle") %>'>
</asp:Label></TD>
</TR>
<TR>
<TD>
<asp:CheckBoxList id="CBLDData" runat="server" RepeatDirection="Horizontal"></asp:CheckBoxList></TD>
</TR>
<TR>
<TD>
<asp:Label id="labDOKAnswer" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"OKAnswer") %>'>
</asp:Label></TD>
</TR>
<TR>
<TD>
<HR color="#999999" SIZE="1">
</TD>
</TR>
</TABLE>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid><asp:label id="labBTitle" runat="server" Visible="False" ForeColor="#0000cc"></asp:label><asp:label id="labBFen" runat="server" Visible="False"></asp:label><br>
<asp:datagrid id="DataGridB" runat="server" Visible="False" BorderWidth="0px" Width="100%" AutoGenerateColumns="False"
ShowHeader="False">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
<TR>
<TD>
<asp:Label id=labBDataTitle runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"RubricTitle") %>'>
</asp:Label></TD>
</TR>
<TR>
<TD>
<asp:RadioButtonList id="RBLBData" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="Y">正确</asp:ListItem>
<asp:ListItem Value="N">错误</asp:ListItem>
</asp:RadioButtonList></TD>
</TR>
<TR>
<TD>
<asp:Label id="labBOKAnswer" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"OKAnswer") %>'>
</asp:Label></TD>
</TR>
<TR>
<TD>
<HR color="#999999" SIZE="1">
</TD>
</TR>
</TABLE>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid><asp:label id="labFTitle" runat="server" Visible="False" ForeColor="#0000cc"></asp:label><asp:label id="labFFen" runat="server" Visible="False"></asp:label><br>
<asp:datagrid id="DataGridF" runat="server" Visible="False" BorderWidth="0px" Width="100%" AutoGenerateColumns="False"
ShowHeader="False">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<TABLE id="Table5" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
<TR>
<TD>
<asp:Label id=labFDataTitle runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"RubricTitle") %>'>
</asp:Label></TD>
</TR>
<TR>
<TD>
<asp:TextBox id="txtFAnswerA" runat="server" Width="100px" CssClass="text" Visible="False"></asp:TextBox>
<asp:TextBox id="txtFAnswerB" runat="server" Width="100px" CssClass="text" Visible="False"></asp:TextBox>
<asp:TextBox id="txtFAnswerC" runat="server" Width="100px" CssClass="text" Visible="False"></asp:TextBox>
<asp:TextBox id="txtFAnswerD" runat="server" Width="100px" CssClass="text" Visible="False"></asp:TextBox></TD>
</TR>
<TR>
<TD>
<asp:Label id="labFOKAnswer" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"OKAnswer") %>'>
</asp:Label></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -