<%' FP_ASP ASP Automatically generated by a FrontPage Component. Do not Edit.

On Error Resume Next
Session("FP_OldCodePage") = Session.CodePage
Session("FP_OldLCID") = Session.LCID
Session.CodePage = 1252
Err.Clear

strErrorUrl = ""

If Request.ServerVariables("REQUEST_METHOD") = "POST" Then
If Request.Form("VTI-GROUP") = "0" Then
	Err.Clear

	Set fp_conn =  Server.CreateObject("ADODB.Connection")
	FP_DumpError strErrorUrl, "Cannot create connection"

	Set fp_rs = Server.CreateObject("ADODB.Recordset")
	FP_DumpError strErrorUrl, "Cannot create record set"

	fp_conn.Open Application("registrationForm_ConnectionString")
	FP_DumpError strErrorUrl, "Cannot open database"

	fp_rs.Open "Results", fp_conn, 1, 3, 2 ' adOpenKeySet, adLockOptimistic, adCmdTable
	FP_DumpError strErrorUrl, "Cannot open record set"

	fp_rs.AddNew
	FP_DumpError strErrorUrl, "Cannot add new record set to the database"
	Dim arFormFields0(24)
	Dim arFormDBFields0(24)
	Dim arFormValues0(24)

	arFormFields0(0) = "T23"
	arFormDBFields0(0) = "T23"
	arFormValues0(0) = Request("T23")
	arFormFields0(1) = "T34"
	arFormDBFields0(1) = "T34"
	arFormValues0(1) = Request("T34")
	arFormFields0(2) = "T24"
	arFormDBFields0(2) = "T24"
	arFormValues0(2) = Request("T24")
	arFormFields0(3) = "D4"
	arFormDBFields0(3) = "D4"
	arFormValues0(3) = Request("D4")
	arFormFields0(4) = "R1"
	arFormDBFields0(4) = "R1"
	arFormValues0(4) = Request("R1")
	arFormFields0(5) = "T35"
	arFormDBFields0(5) = "T35"
	arFormValues0(5) = Request("T35")
	arFormFields0(6) = "T25"
	arFormDBFields0(6) = "T25"
	arFormValues0(6) = Request("T25")
	arFormFields0(7) = "D5"
	arFormDBFields0(7) = "D5"
	arFormValues0(7) = Request("D5")
	arFormFields0(8) = "R2"
	arFormDBFields0(8) = "R2"
	arFormValues0(8) = Request("R2")
	arFormFields0(9) = "S3"
	arFormDBFields0(9) = "S3"
	arFormValues0(9) = Request("S3")
	arFormFields0(10) = "T36"
	arFormDBFields0(10) = "T36"
	arFormValues0(10) = Request("T36")
	arFormFields0(11) = "T26"
	arFormDBFields0(11) = "T26"
	arFormValues0(11) = Request("T26")
	arFormFields0(12) = "D6"
	arFormDBFields0(12) = "D6"
	arFormValues0(12) = Request("D6")
	arFormFields0(13) = "S4"
	arFormDBFields0(13) = "S4"
	arFormValues0(13) = Request("S4")
	arFormFields0(14) = "T37"
	arFormDBFields0(14) = "T37"
	arFormValues0(14) = Request("T37")
	arFormFields0(15) = "T27"
	arFormDBFields0(15) = "T27"
	arFormValues0(15) = Request("T27")
	arFormFields0(16) = "T28"
	arFormDBFields0(16) = "T28"
	arFormValues0(16) = Request("T28")
	arFormFields0(17) = "T29"
	arFormDBFields0(17) = "T29"
	arFormValues0(17) = Request("T29")
	arFormFields0(18) = "T30"
	arFormDBFields0(18) = "T30"
	arFormValues0(18) = Request("T30")
	arFormFields0(19) = "T31"
	arFormDBFields0(19) = "T31"
	arFormValues0(19) = Request("T31")
	arFormFields0(20) = "F2"
	arFormDBFields0(20) = "F2"
	arFormValues0(20) = Request("F2")
	arFormFields0(21) = "T32"
	arFormDBFields0(21) = "T32"
	arFormValues0(21) = Request("T32")
	arFormFields0(22) = "T22"
	arFormDBFields0(22) = "T22"
	arFormValues0(22) = Request("T22")
	arFormFields0(23) = "T33"
	arFormDBFields0(23) = "T33"
	arFormValues0(23) = Request("T33")

	FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0

	If Request.ServerVariables("REMOTE_HOST") <> "" Then
		FP_SaveFieldToDB fp_rs, Request.ServerVariables("REMOTE_HOST"), "Remote_computer_name"
	End If
	If Request.ServerVariables("HTTP_USER_AGENT") <> "" Then
		FP_SaveFieldToDB fp_rs, Request.ServerVariables("HTTP_USER_AGENT"), "Browser_type"
	End If
	FP_SaveFieldToDB fp_rs, Now, "Timestamp"
	If Request.ServerVariables("REMOTE_USER") <> "" Then
		FP_SaveFieldToDB fp_rs, Request.ServerVariables("REMOTE_USER"), "User_name"
	End If

	fp_rs.Update
	FP_DumpError strErrorUrl, "Cannot update the database"

	fp_rs.Close
	fp_conn.Close

	Session("FP_SavedFields")=arFormFields0
	Session("FP_SavedValues")=arFormValues0
	Session.CodePage = Session("FP_OldCodePage")
	Session.LCID = Session("FP_OldLCID")
	Response.Redirect "Register/confirm.asp"

End If
End If

Session.CodePage = Session("FP_OldCodePage")
Session.LCID = Session("FP_OldLCID")

%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Sign up now to be notified about</title>
<!--mstheme--><link rel="stylesheet" type="text/css" href="_themes/bars/bars1011.css"><meta name="Microsoft Theme" content="bars 1011">
</head>

<body>

<form method="POST" action="sign_up_now_to_be_notified_about%20terbaru.asp" webbot-action="--WEBBOT-SELF--">
	<!--webbot bot="SaveDatabase" suggestedext="asp" s-dataconnection="registrationForm" s-recordsource="Results" u-database-url="Register/fpdb/registrationForm.mdb" u-confirmation-url="Register/confirm.asp" s-builtin-fields="REMOTE_HOST HTTP_USER_AGENT Timestamp REMOTE_USER" s-builtin-dbfields="Remote_computer_name Browser_type Timestamp User_name" s-form-fields="T23 T34 T24 D4 R1 T35 T25 D5 R2 S3 T36 T26 D6 S4 T37 T27 T28 T29 T30 T31 F2 T32 T22 T33" s-form-dbfields="T23 T34 T24 D4 R1 T35 T25 D5 R2 S3 T36 T26 D6 S4 T37 T27 T28 T29 T30 T31 F2 T32 T22 T33" u-asp-include-url="Register/_fpclass/fpdbform.inc" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--#include file="Register/_fpclass/fpdbform.inc"--><!--webbot bot="SaveDatabase" endspan i-checksum="3114" -->
	<p><font face="Century Gothic">Sign up now to be notified about the most 
	recent news of Borneo Free Educational Fund.</font></p>
	<p align="left"><font face="Century Gothic">First, we need some basic info 
	to setup your account. </font></p>
	<table border="1" width="47%">
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">First 
			Name</font></td>
			<td colspan="4"><font face="Century Gothic">
			<input type="text" name="T22" size="64"></font></td>
		</tr>
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">Last 
			Name</font></td>
			<td colspan="4"><font face="Century Gothic">
			<input type="text" name="T23" size="64"></font></td>
		</tr>
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">Email
			</font></td>
			<td colspan="4"><font face="Century Gothic">
			<input type="text" name="T24" size="64"></font></td>
		</tr>
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">Re-enter 
			Email</font></td>
			<td colspan="4"><font face="Century Gothic">
			<input type="text" name="T25" size="64"></font></td>
		</tr>
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">Password</font></td>
			<td colspan="4"><font face="Century Gothic">
			<input type="text" name="T26" size="64"></font></td>
		</tr>
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">Birthday</font></td>
			<td width="30%"><font face="Century Gothic">
			<select size="1" name="D4">
			<option>Day:</option>
			<option>1</option>
			<option>2</option>
			<option>3</option>
			<option>4</option>
			<option>5</option>
			<option>6</option>
			<option>7</option>
			<option>8</option>
			<option>9</option>
			<option>10</option>
			<option>11</option>
			<option>12</option>
			<option>13</option>
			<option>14</option>
			<option>15</option>
			<option>16</option>
			<option>17</option>
			<option>18</option>
			<option>19</option>
			<option>20</option>
			<option>21</option>
			<option>22</option>
			<option>23</option>
			<option>24</option>
			<option>25</option>
			<option>26</option>
			<option>27</option>
			<option>28</option>
			<option>29</option>
			<option>30</option>
			<option>31</option>
			</select></font></td>
			<td width="30%" colspan="2"><font face="Century Gothic">
			<select size="1" name="D5">
			<option>Month:</option>
			<option>January</option>
			<option>February</option>
			<option>March</option>
			<option>April</option>
			<option>May</option>
			<option>June</option>
			<option>July</option>
			<option>August</option>
			<option>September</option>
			<option>October</option>
			<option>November</option>
			<option>December</option>
			</select></font></td>
			<td width="30%"><font face="Century Gothic">
			<select size="1" name="D6">
			<option>Year:</option>
			<option>2000</option>
			<option>2001</option>
			<option>2002</option>
			<option>2003</option>
			<option>2004</option>
			<option>2005</option>
			<option>2006</option>
			<option>2007</option>
			<option>2008</option>
			<option>2009</option>
			<option>2010</option>
			<option>2011</option>
			<option>2012</option>
			<option>2013</option>
			</select></font></td>
		</tr>
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">Gender</font></td>
			<td colspan="2"><font face="Century Gothic">
			<input type="radio" value="Male" name="R1"><font color="#000000">Male</font></font></td>
			<td colspan="2"><font face="Century Gothic">
			<input type="radio" value="Female" name="R2"><font color="#000000">Female</font></font></td>
		</tr>
	</table>
	<p><font face="Century Gothic">Next, we need your contact information.</font></p>
	<table border="1" width="55%">
		<tr>
			<td width="33%"><font face="Century Gothic" color="#000000">Phone no</font></td>
			<td width="65%"><font face="Century Gothic"><font color="#000000">
			Mobile phone:<br>
			&nbsp;</font><input type="text" name="T27" size="47"></font><p>
			<font face="Century Gothic"><font color="#000000">Home:<br>
			</font><input type="text" name="T28" size="47"></font></td>
		</tr>
		<tr>
			<td width="33%"><font face="Century Gothic" color="#000000">Address</font></td>
			<td width="65%"><font color="#000000" face="Century Gothic">
			<textarea rows="3" name="S3" cols="39"></textarea></font></td>
		</tr>
		<tr>
			<td width="33%"><font face="Century Gothic" color="#000000">Zip
			</font></td>
			<td width="65%"><font face="Century Gothic">
			<input type="text" name="T29" size="64"></font></td>
		</tr>
		<tr>
			<td width="33%"><font face="Century Gothic" color="#000000">
			Town/City</font></td>
			<td width="65%"><font face="Century Gothic">
			<input type="text" name="T30" size="64"></font></td>
		</tr>
		<tr>
			<td width="33%"><font face="Century Gothic" color="#000000">State</font></td>
			<td width="65%"><font face="Century Gothic">
			<input type="text" name="T31" size="64"></font></td>
		</tr>
		<tr>
			<td width="33%"><font face="Century Gothic" color="#000000">Please 
			upload your picture here: </font></td>
			<td width="65%"><font face="Century Gothic">
			<input type="file" name="F2" size="20"></font></td>
		</tr>
	</table>
	<p><font face="Century Gothic">Please fill in your school information:</font></p>
	<table border="1" width="47%">
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">School 
			Name</font></td>
			<td><font face="Century Gothic">
			<input type="text" name="T32" size="64"></font></td>
		</tr>
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">Contact 
			no</font></td>
			<td><font face="Century Gothic">
			<input type="text" name="T33" size="64"></font></td>
		</tr>
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">School 
			address</font></td>
			<td><font color="#000000" face="Century Gothic">
			<textarea rows="3" name="S4" cols="38"></textarea></font></td>
		</tr>
		<tr>
			<td width="33%"><font face="Century Gothic" color="#000000">Zip
			</font></td>
			<td width="65%"><font face="Century Gothic">
			<input type="text" name="T34" size="64"></font></td>
		</tr>
		<tr>
			<td width="33%"><font face="Century Gothic" color="#000000">
			Town/City</font></td>
			<td width="65%"><font face="Century Gothic">
			<input type="text" name="T35" size="64"></font></td>
		</tr>
		<tr>
			<td width="33%"><font face="Century Gothic" color="#000000">State</font></td>
			<td width="65%"><font face="Century Gothic">
			<input type="text" name="T36" size="64"></font></td>
		</tr>
		<tr>
			<td width="20%"><font face="Century Gothic" color="#000000">Form/ 
			Class </font></td>
			<td><font face="Century Gothic">
			<input type="text" name="T37" size="64"></font></td>
		</tr>
	</table>
	<p align="center"><font face="Century Gothic">
	<a href="Register/confirmRegistration.asp">
	<input type="submit" value="Submit" name="B1"></a><input type="reset" value="Reset" name="B2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	</font></p>
</form>
<p>&nbsp;</p>
<p>&nbsp;</p>

</body>

</html>
