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.
 
 
 
 
 
 

79 lines
2.4 KiB

<!-- $Id: tstart.htt,v 1.3 2006/09/19 20:02:17 ddoughty Exp $ -->
<HTML>
<HEAD>
<TITLE><%=TEST.desc%></TITLE>
<%=SYSTEM.INCLUDEJS global.js %>
<SCRIPT language="JavaScript">
<!--
var btnAlreadyClicked=false;
function btn_pause(e)
{
if (btnAlreadyClicked == true) { return false;}
btnAlreadyClicked=true;
return true;
}
function cancel_test() {
<%=SYSTEM.STARTIF?TEST.nopopup Y INCLUDE %>
if ("<%=CANDIDATE.selfreg%>" == "Y") {
sURL="<%=PATHS.cgiroot%>/regsas.pl";
} else {
sURL="<%=PATHS.cgiroot%>/regcnd.pl";
}
sURL+="?tid=<%=SESSION.tid%>";
if ("<%=FORM.lang%>" != "") {
sURL+="&lang=<%=FORM.lang%>";
}
top.location=sURL;
<%=SYSTEM.ELSE%>
top.close();
<%=SYSTEM.ENDIF%>
}
// -->
</SCRIPT>
<link rel="stylesheet" type="text/css" href="/<%=CLIENT.clid%>/<%=CLIENT.clid%>.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080">
<blockquote>
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 width="100%">
<TR>
<td colspan="2" align="left">
<%=SYSTEM.STARTIF?FORM.usingcustomins Y EXCLUDE %>
<%=PHRASE.455%> <B><%=CANDIDATE.nmf%> <%=CANDIDATE.nml%></B>.<BR>
<%=PHRASE.462%> <B><%=TEST.desc%></B>.<BR>
&nbsp;<BR>
<%=SYSTEM.ENDIF%>
<%=TEST.instructions%><BR>
</td>
</TR>
<%=SYSTEM.STARTIF?FORM.allowstart Y INCLUDE %>
<TR>
<td align="center">
<form method="post" action="<%=PATHS.cgiroot%>/tqrs.pl">
<input name="lang" type="hidden" value="<%=SESSION.lang%>">
<input type="hidden" name="tid" value="<%=SESSION.tid%>">
<input type="hidden" name="tstid" value="<%=TEST.id%>">
<INPUT TYPE=SUBMIT NAME="submit" VALUE="<%=FORM.submitvalue%>" onClick="return btn_pause(this)">
</form>
</td>
<td align="center">
<form onSubmit="cancel_test()">
<input name="lang" type="hidden" value="<%=SESSION.lang%>">
<INPUT TYPE=SUBMIT NAME="submit" VALUE="<%=PHRASE.510%>" onClick="return btn_pause(this)">
</form>
</td>
</TR>
<%=SYSTEM.ELSE%>
<TR>
<td colspan="2" align="center">
<form onSubmit="cancel_test()">
<input name="lang" type="hidden" value="<%=SESSION.lang%>">
<INPUT TYPE=SUBMIT NAME="submit" VALUE="<%=PHRASE.262%>" onClick="return btn_pause(this)">
</form>
</td>
</TR>
<%=SYSTEM.ENDIF%>
</TABLE>
</blockquote>
</BODY>
</HTML>