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.
 
 
 
 
 
 

111 lines
4.0 KiB

<!-- $Id: regauto.htt,v 1.2 2006/06/07 16:01:32 ddoughty Exp $ -->
<HTML>
<HEAD>
<TITLE>Auto-login Registration Form</TITLE>
<BASEFONT FACE="Arial">
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
<STYLE>
<!--
BUTTON {font-size: 10px;height: 20;}
SELECT {font-size: 10px;}
INPUT {font-size: 10px;height: 20;}
-->
</STYLE>
<%=SYSTEM.ENDIF%>
<%=SYSTEM.INCLUDEJS global.js %>
<SCRIPT language="JavaScript">
<!--
function wdw_onLoad() {
var i;
if (document.form2.tstid.value == "<%=FORM.testid%>") {
form2_submit(document.form2);
}
}
function form1_logout(objForm) {
var sURL;
sURL = "<%=PATHS.cgiroot%>/logout.pl?tid=<%=SESSION.tid%>&idle=N&lang=<%=SESSION.lang%>";
top.document.location.replace(sURL);
return true;
}
function form2_submit(objForm) {
var sURL;
sURL="<%=PATHS.cgiroot%>/tstframes.pl?tid=<%=SESSION.tid%>&dbop=starttest&tstid="+objForm.tstid.value;
//objWdw = window.open("", "testwindow", "fullscreen=yes,resizable=no,scrollbars=auto");
objWdw = window.open("", "testwindow", "height="+screen.height+"width="+screen.width+",screenX=0,screenY=0,left=0,top=0,resizable=yes,scrollbars=auto");
objWdw.document.open();
objWdw.document.write("<CENTER><H1><%=PHRASE.476%><BR><%=PHRASE.479%></CENTER></BR>");
objWdw.document.location=sURL;
objWdw.document.close();
bReload=true;
objForm.submit();
return true;
}
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%>">
<CENTER>
<FORM name="form1" METHOD=POST ACTION="<%=PATHS.cgiroot%>/regtacl.pl">
<input type=hidden name="dbop" value="">
<INPUT NAME="tid" TYPE=HIDDEN VALUE="<%=SESSION.tid%>">
<INPUT NAME="clid" TYPE=HIDDEN VALUE="<%=SESSION.clid%>">
<INPUT NAME="uac" TYPE=HIDDEN VALUE="<%=SESSION.uac%>">
<INPUT TYPE="HIDDEN" NAME="lang" VALUE="<%=SESSION.lang%>">
<INPUT TYPE="HIDDEN" NAME="reqadr" VALUE="<%=CLIENT.clreqadr%>">
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR>
<TD ALIGN="center" VALIGN="top">
<FONT SIZE=1 COLOR="<%=SYSTEM.HEADERCOLOR%>">
<%=CLIENT.clorg%> <%=CLIENT.cldept%><BR>
<%=CLIENT.logo%><BR>
<%=CLIENT.clunit%><BR>
</FONT>
</TD>
<TD ALIGN="center" VALIGN="top">
<FONT SIZE=4 COLOR="<%=SYSTEM.HEADERCOLOR%>">
<B><I><%=CLIENT.sitename%></I></B><BR>
</FONT>
</TD>
</TR>
<TR>
<TD colspan=2 align=center>
<INPUT TYPE=HIDDEN NAME="sal" SIZE=6 MAXLENGTH=15 VALUE="<%=CANDIDATE.sal%>">
<INPUT TYPE=HIDDEN NAME="nmf" SIZE=15 MAXLENGTH=15 VALUE="<%=CANDIDATE.nmf%>">
<INPUT TYPE=HIDDEN NAME="nmm" SIZE=1 MAXLENGTH=1 VALUE="<%=CANDIDATE.nmm%>">
<INPUT TYPE=HIDDEN NAME="nml" SIZE=20 MAXLENGTH=20 VALUE="<%=CANDIDATE.nml%>">
<INPUT TYPE=HIDDEN NAME="adr" SIZE=30 MAXLENGTH=30 VALUE="<%=CANDIDATE.adr%>">
<INPUT TYPE=HIDDEN NAME="cty" SIZE=25 MAXLENGTH=25 VALUE="<%=CANDIDATE.cty%>">
<INPUT TYPE=HIDDEN NAME="ste" SIZE=4 MAXLENGTH=4 VALUE="<%=CANDIDATE.ste%>">
<INPUT TYPE=HIDDEN NAME="pst" SIZE=10 MAXLENGTH=10 VALUE="<%=CANDIDATE.pst%>">
<INPUT TYPE=HIDDEN NAME="ctry" SIZE=4 MAXLENGTH=4 VALUE="<%=CANDIDATE.ctry%>">
<INPUT TYPE=HIDDEN NAME="eml" SIZE=30 MAXLENGTH=30 VALUE="<%=CANDIDATE.eml%>">
<INPUT TYPE=BUTTON VALUE="<%=PHRASE.262%>" onClick="return form1_logout(document.form1)">
</TD>
</TR>
</TABLE>
</FORM>
<FORM NAME="form2" METHOD=POST ACTION="<%=PATHS.cgiroot%>/regtacl.pl" TARGET="testwindow">
<INPUT TYPE="HIDDEN" NAME="tid" VALUE="<%=SESSION.tid%>">
<INPUT TYPE="HIDDEN" NAME="dbop" VALUE="starttest">
<INPUT TYPE="HIDDEN" NAME="reqadr" VALUE="<%=CLIENT.clreqadr%>">
<INPUT TYPE=HIDDEN NAME="lang" VALUE="<%=SESSION.lang%>">
<%=CANDIDATE.tacltests%>
</FORM>
</TD>
</TR>
</TABLE>
<HR WIDTH="90%">
<FONT SIZE=1 COLOR="#806F6C">
<%=PHRASE.428%> <i>TestManager</i> <%=PHRASE.80%> <i>SurveyManager</i> <%=PHRASE.218%>
<A HREF="http://www.actscorp.com/softwareoverview.htm"><%=PHRASE.469%></A>.<BR>
<%=PHRASE.136%><BR>
</FONT>
</CENTER>
</BODY>
</HTML>