You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
2.0 KiB
86 lines
2.0 KiB
<!-- $Id: quesselect.htt,v 1.2 2004/08/13 14:36:10 ddoughty Exp $ -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Question <%=QUESTION.id%></TITLE>
|
|
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
|
|
<STYLE>
|
|
<!--
|
|
SELECT {font-size: 10px;}
|
|
INPUT {font-size: 10px;height: 20;}
|
|
-->
|
|
</STYLE>
|
|
<%=SYSTEM.ENDIF%>
|
|
<%=SYSTEM.INCLUDEJS global.js %>
|
|
<script language="JavaScript">
|
|
<!--
|
|
var down, csec, syncform;
|
|
|
|
function wdw_onLoad() {
|
|
var oform,i;
|
|
syncform = top.findex.document.syncform
|
|
syncform.csec.value = <%=SYSTEM.autologout%>;
|
|
monitor();
|
|
oform=document.form1;
|
|
for (n=0; n< oform.qid.options.length; n++) {
|
|
s=oform.qid.options[n].value;
|
|
if (s=="<%=FORM.qid%>") {
|
|
oform.qid.selectedIndex=n;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
function monitor() {
|
|
monitorrepeat();
|
|
}
|
|
function monitorrepeat() {
|
|
csec=syncform.csec.value;
|
|
csec--;
|
|
syncform.csec.value=csec;
|
|
if ((csec > 0)) {
|
|
down=setTimeout("monitorrepeat()",1000);
|
|
}
|
|
}
|
|
function reset_autotimer() {
|
|
syncform.csec.value=<%=SYSTEM.autologout%>;
|
|
}
|
|
|
|
window.onload=wdw_onLoad;
|
|
// -->
|
|
</SCRIPT>
|
|
</HEAD>
|
|
|
|
<BODY BACKGROUND="<%=SYSTEM.BACKGROUND%>" BGCOLOR="<%=SYSTEM.BGCOLOR%>"
|
|
TEXT="<%=SYSTEM.TEXT%>" LINK="<%=SYSTEM.LINK%>"
|
|
VLINK="<%=SYSTEM.VLINK%>" ALINK="<%=SYSTEM.ALINK%>">
|
|
<FORM NAME="form1" METHOD=POST ACTION="<%=PATHS.cgiroot%>/byquesrpt.pl" TARGET="rptwindow">
|
|
<INPUT TYPE=hidden NAME=tid VALUE=<%=SESSION.tid%>>
|
|
<INPUT TYPE=hidden NAME=tstid VALUE=<%=FORM.tstid%>>
|
|
<INPUT TYPE=hidden NAME=reportname VALUE=byques>
|
|
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH="100%">
|
|
<TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE=2 COLOR="<%=SYSTEM.HEADERCOLOR%>"><nobr>
|
|
<input type=checkbox name=csv> <%=PHRASE.788%>
|
|
</FONT>
|
|
</td>
|
|
</TR>
|
|
<TR>
|
|
<td align="left" valign="top" nowrap>
|
|
|
|
</td>
|
|
</TR>
|
|
<td align="left" valign="top" nowrap>
|
|
<FONT SIZE=2 COLOR="<%=SYSTEM.HEADERCOLOR%>"><nobr>
|
|
<%=PHRASE.331%>:
|
|
<SELECT NAME="qid" onChange="this.form.submit()">
|
|
<%=TEST.questionlist%>
|
|
</SELECT
|
|
<BR>
|
|
</nobr></FONT>
|
|
</td>
|
|
</TR>
|
|
</TABLE>
|
|
</FORM>
|
|
</BODY>
|
|
</HTML>
|
|
|