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.
323 lines
9.1 KiB
323 lines
9.1 KiB
<!-- Generated by SMI Webmeister 11/13/99 1:42:39 PM -->
|
|
<!-- Source File: grpdef.htt -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Group Registration Form</TITLE>
|
|
<BASEFONT FACE="Arial">
|
|
<SCRIPT language="JavaScript">
|
|
<!--
|
|
var down, csec, syncform;
|
|
|
|
function wdw_onLoad() {
|
|
syncform = top.findex.document.syncform
|
|
syncform.csec.value = <%=SYSTEM.autologout%>;
|
|
set_validdates();
|
|
monitor();
|
|
}
|
|
|
|
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%>;
|
|
}
|
|
|
|
function set_validdates() {
|
|
var objForm, sDate, sValue, nIdx;
|
|
objForm = document.form1
|
|
sDate=objForm.validfrom.value;
|
|
sValue=sDate.substring(0,2);
|
|
for (nIdx=0; nIdx < objForm.validfrommonth.options.length; nIdx++) {
|
|
if (objForm.validfrommonth.options[nIdx].value == sValue) {
|
|
objForm.validfrommonth.selectedIndex = nIdx;
|
|
break;
|
|
}
|
|
}
|
|
sValue=sDate.substring(3,5);
|
|
for (nIdx=0; nIdx < objForm.validfromday.options.length; nIdx++) {
|
|
if (objForm.validfromday.options[nIdx].value == sValue) {
|
|
objForm.validfromday.selectedIndex = nIdx;
|
|
break;
|
|
}
|
|
}
|
|
sValue=sDate.substring(6,10);
|
|
for (nIdx=0; nIdx < objForm.validfromyear.options.length; nIdx++) {
|
|
if (objForm.validfromyear.options[nIdx].value == sValue) {
|
|
objForm.validfromyear.selectedIndex = nIdx;
|
|
break;
|
|
}
|
|
}
|
|
sDate=objForm.validto.value;
|
|
sValue=sDate.substring(0,2);
|
|
for (nIdx=0; nIdx < objForm.validtomonth.options.length; nIdx++) {
|
|
if (objForm.validtomonth.options[nIdx].value == sValue) {
|
|
objForm.validtomonth.selectedIndex = nIdx;
|
|
break;
|
|
}
|
|
}
|
|
sValue=sDate.substring(3,5);
|
|
for (nIdx=0; nIdx < objForm.validtoday.options.length; nIdx++) {
|
|
if (objForm.validtoday.options[nIdx].value == sValue) {
|
|
objForm.validtoday.selectedIndex = nIdx;
|
|
break;
|
|
}
|
|
}
|
|
sValue=sDate.substring(6,10);
|
|
for (nIdx=0; nIdx < objForm.validtoyear.options.length; nIdx++) {
|
|
if (objForm.validtoyear.options[nIdx].value == sValue) {
|
|
objForm.validtoyear.selectedIndex = nIdx;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
function all_roster(objForm, bDeselect) {
|
|
var nIdx;
|
|
for (nIdx=0; nIdx < objForm.idlist.options.length; nIdx++) {
|
|
objForm.idlist.options[nIdx].selected = (bDeselect) ? false : true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
function all_tests(objForm, bDeselect) {
|
|
var nIdx;
|
|
for (nIdx=0; nIdx < objForm.tstid.options.length; nIdx++) {
|
|
objForm.tstid.options[nIdx].selected = (bDeselect) ? false : true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
function form1_validate(objForm) {
|
|
return false;
|
|
}
|
|
|
|
function form1_submit(objForm) {
|
|
var nIdx;
|
|
nIdx = objForm.validfrommonth.selectedIndex;
|
|
objForm.validfrom.value = objForm.validfrommonth.options[nIdx].value;
|
|
nIdx = objForm.validfromday.selectedIndex;
|
|
objForm.validfrom.value += "-"+objForm.validfromday.options[nIdx].value;
|
|
nIdx = objForm.validfromyear.selectedIndex;
|
|
objForm.validfrom.value += "-"+objForm.validfromyear.options[nIdx].value;
|
|
nIdx = objForm.validtomonth.selectedIndex;
|
|
objForm.validto.value = objForm.validtomonth.options[nIdx].value;
|
|
nIdx = objForm.validtoday.selectedIndex;
|
|
objForm.validto.value += "-"+objForm.validtoday.options[nIdx].value;
|
|
nIdx = objForm.validtoyear.selectedIndex;
|
|
objForm.validto.value += "-"+objForm.validtoyear.options[nIdx].value;
|
|
return true;
|
|
// alert("This feature is only available for active accounts.");
|
|
// return false;
|
|
}
|
|
|
|
function grpid_check(objForm) {
|
|
var sURL,down;
|
|
if (objForm.chkgrpid.checked) {
|
|
sURL = "<%=PATHS.cgiroot%>/groupid.pl?tid=<%=SESSION.tid%>";
|
|
objWdw = window.open("", "helpwindow", "height=300, width=300, resizable=no, scrollbars=auto");
|
|
objWdw.document.open();
|
|
objWdw.document.write("<CENTER>Retrieving Registration Group List<BR>Please Wait ...</CENTER>");
|
|
objWdw.document.location = sURL;
|
|
objForm.chkgrpid.checked=false;
|
|
}
|
|
}
|
|
|
|
function chkadd_Click(objForm) {
|
|
if (objForm.chkadd.checked) {
|
|
objForm.chkadd.checked = false;
|
|
}
|
|
}
|
|
|
|
function chkdel_Click(objForm) {
|
|
if (objForm.chkdel.checked) {
|
|
objForm.chkdel.checked = false;
|
|
}
|
|
}
|
|
// -->
|
|
</SCRIPT>
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="#000000" TEXT="#FFFFFF" LINK="#0080FF" VLINK="#FF00FF" ALINK="#FFFF00"
|
|
onLoad="wdw_onLoad()">
|
|
<CENTER>
|
|
<FORM NAME="form1" METHOD=POST ACTION="<%=PATHS.cgiroot%>/grpdef.pl"
|
|
enctype="multipart/form-data" onSubmit="return form1_submit(this)">
|
|
<INPUT TYPE="HIDDEN" NAME="tid" VALUE="<%=SESSION.tid%>">
|
|
<INPUT TYPE="HIDDEN" NAME="new" VALUE="<%=FORM.new%>">
|
|
<INPUT TYPE="HIDDEN" NAME="dbop" VALUE="<%=FORM.pageid%>">
|
|
<INPUT TYPE="HIDDEN" NAME="validfrom" VALUE="<%=GROUP.validfrom%>">
|
|
<INPUT TYPE="HIDDEN" NAME="validto" VALUE="<%=GROUP.validto%>">
|
|
<TABLE CELLSPACING=0 CELLPADDING=2 BORDER=1 width=100%>
|
|
<TR>
|
|
<TD ALIGN="left" VALIGN="middle" NOWRAP>
|
|
<TABLE CELLSPACING=0 CELLPADDING=2 BORDER=0 width=100%>
|
|
<TR>
|
|
<TD ALIGN="left" VALIGN="middle" NOWRAP>
|
|
<FONT SIZE=2>
|
|
<%=PHRASE.224%>: <%=GROUP.grpid%>
|
|
<INPUT TYPE=HIDDEN NAME="grpid" VALUE="<%=GROUP.grpid%>">
|
|
</FONT>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="middle" NOWRAP>
|
|
<FONT SIZE=2>
|
|
<%=PHRASE.227%>: <%=GROUP.grpowner%>
|
|
<INPUT TYPE=hidden NAME="grpowner" VALUE="<%=GROUP.grpowner%>">
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD ALIGN="left" VALIGN="middle" NOWRAP>
|
|
<TABLE CELLSPACING=0 CELLPADDING=2 BORDER=0>
|
|
<TR>
|
|
<TD rowspan=2 ALIGN="right" VALIGN="top" NOWRAP>
|
|
<FONT SIZE=2>
|
|
<%=PHRASE.226%>:
|
|
</FONT>
|
|
</TD>
|
|
<TD rowspan=2 ALIGN="left" VALIGN="top" NOWRAP>
|
|
<FONT SIZE=2>
|
|
<INPUT TYPE=TEXT NAME="grpnme" VALUE="<%=GROUP.grpnme%>" SIZE=30 onChange="reset_autotimer()">
|
|
</FONT>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" NOWRAP>
|
|
<FONT SIZE=2>
|
|
Open From:
|
|
</TD>
|
|
<TD ALIGN="left" VALIGN="top" NOWRAP>
|
|
<FONT SIZE=2>
|
|
<SELECT NAME="validfrommonth">
|
|
<%=SYSTEM.months%>
|
|
</SELECT>
|
|
<SELECT NAME="validfromday">
|
|
<%=SYSTEM.days%>
|
|
</SELECT>
|
|
<SELECT NAME="validfromyear">
|
|
<%=SYSTEM.years%>
|
|
</SELECT>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD ALIGN="right" VALIGN="top" NOWRAP>
|
|
<FONT SIZE=2>
|
|
Through:
|
|
</TD>
|
|
<TD ALIGN="left" VALIGN="top" NOWRAP>
|
|
<FONT SIZE=2>
|
|
<SELECT NAME="validtomonth">
|
|
<%=SYSTEM.months%>
|
|
</SELECT>
|
|
<SELECT NAME="validtoday">
|
|
<%=SYSTEM.days%>
|
|
</SELECT>
|
|
<SELECT NAME="validtoyear">
|
|
<%=SYSTEM.years%>
|
|
</SELECT>
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<Font Size=1> <BR></font>
|
|
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%>
|
|
<TR>
|
|
<TD COLSPAN=2 ALIGN="center" VALIGN="middle">
|
|
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
|
|
<TR>
|
|
<TD rowspan=2 ALIGN="left" VALIGN="middle" NOWRAP>
|
|
<FONT SIZE=2>
|
|
<%=PHRASE.764%><BR>
|
|
<SELECT NAME="idlist" SIZE=6 multiple onClick="reset_autotimer()">
|
|
<%=GROUP.roster%>
|
|
</SELECT><BR>
|
|
</FONT>
|
|
</TD>
|
|
<TD ALIGN="left" VALIGN="middle">
|
|
<FONT SIZE=1>
|
|
<INPUT TYPE=CHECKBOX NAME="chkselallroster" onClick="return all_roster(this.form, 0)">Select All<BR>
|
|
<INPUT TYPE=CHECKBOX NAME="chkselallroster" onClick="return all_roster(this.form, 1)">Deselect All
|
|
</FONT>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="middle">
|
|
<FONT SIZE=1>
|
|
Select All <INPUT TYPE=CHECKBOX NAME="chkselalltests" onClick="return all_tests(this.form, 0)"><BR>
|
|
Deselect All <INPUT TYPE=CHECKBOX NAME="chkselalltests" onClick="return all_tests(this.form, 1)">
|
|
</FONT>
|
|
</TD>
|
|
<TD rowspan=2 ALIGN="left" VALIGN="middle" NOWRAP>
|
|
<FONT SIZE=2>
|
|
<%=PHRASE.765%><BR>
|
|
<SELECT NAME="tstid" SIZE=6 multiple onClick="reset_autotimer()">
|
|
<%=GROUP.tests%>
|
|
</SELECT><BR>
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD colspan=2 ALIGN="center" VALIGN="middle">
|
|
<FONT SIZE=1 COLOR="#FFFF00">
|
|
To select or deselect an individual member or test,
|
|
Hold down the Ctrl Key and
|
|
Click the left mouse button.
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD colspan=4 ALIGN="center" VALIGN="top">
|
|
<FONT SIZE=2 COLOR="#FFFF00">
|
|
<BR>
|
|
Register (1-999)
|
|
<input type=text name="guestidcount" value="0" size=4 maxlength=4>
|
|
Guest IDs Starting At
|
|
<input type=text name="guestidstart" value="1" size=4 maxlength=4>
|
|
Using (1-999)
|
|
<input type=text name="guestmastercount" Size=4 maxlength=3 value="1">
|
|
Master Tests/Surveys<BR>
|
|
and Preview
|
|
<input type=checkbox name="guestidpreview" checked>
|
|
before printing.<BR>
|
|
</FONT>
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD colspan=4 ALIGN="center" VALIGN="middle" NOWRAP>
|
|
<INPUT TYPE=SUBMIT VALUE="Register Members for Tests"><BR>
|
|
<FONT SIZE=1><NOBR>
|
|
<A HREF="#top">ROSTER</A>
|
|
<A HREF="#unscored">UNSCORED</A>
|
|
<A HREF="#summary">SUMMARY</A>
|
|
</NOBR></FONT>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD COLSPAN="4" ALIGN="left" VALIGN="middle" NOWRAP><HR></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD COLSPAN="4" ALIGN="left" VALIGN="middle" NOWRAP> </TD>
|
|
</TR>
|
|
<TR>
|
|
<TD COLSPAN="4" ALIGN="left" VALIGN="middle" NOWRAP> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</FORM>
|
|
</CENTER>
|
|
</BODY>
|
|
</HTML>
|
|
|