0 && $DefaultAgeID) { if (!$Sex) { $Sex = $_POST["Sex"]; } $tblAges = GetAgesForSexWithDefaultAge($MeetingID, $Sex, $DefaultAgeID); $tblEvents = GetEventsWithDefaultAgeID($MeetingID, $DefaultAgeID); } $DOB = date("d/m/Y", strtotime_nonus($DOBValue)); if ($TShirt1Needed == 1) { $TShirt1Needed="on"; } if ($TShirt2Needed == 1) { $TShirt2Needed="on"; } if($LearningDisability == 1) { $LearningDisability = "on"; } if($VisionImpaired == 1) { $VisionImpaired = "on"; } if($HearingImpaired == 1) { $HearingImpaired = "on"; } if ($ClaimingResidential == 1) { $ClaimingResidential = "on"; $ResidenceSince = date("d/m/Y", strtotime_nonus($ResidenceSinceValue)); $ResidencePostcode = $row["ResidencePostcode"]; $Residence = $row["Residence"]; } mysql_free_result($tblRegInfo); $SQL = "select * from tblRegistrations INNER JOIN tblRegistrationEvents on tblRegistrationEvents.RegID = tblRegistrations.RegID inner join tblEvents on tblEvents.EventID = tblRegistrationEvents.EventID inner join tblAges on tblAges.AgeID = tblRegistrationEvents.AgeID INNER JOIN tblMeeting ON tblMeeting.MeetingID = tblRegistrations.MeetID WHERE tblRegistrations.RegID=$CancelledRegID order by DBID "; $tblRegEvents = RunQuery($SQL); $EventNo=1; while($row = mysql_fetch_array($tblRegEvents)){ $EventNames[$EventNo] = $row["EvCode"]; $AgeNames[$EventNo] = $row["Abb"]; if ($row["PBText"]) { $PBValues[$EventNo] = $row["PBText"]; $PBDateValue = $row["PBDate"]; if ($PBDateValue) { $PBDates[$EventNo] = date("d/m/Y", $PBDateValue); } $PBVenues[$EventNo] = $row["PBVenue"]; } $EventNo = $EventNo + 1; } mysql_free_result($tblRegEvents); if ($_REQUEST["BackButtonPressed"]) { $Submitted = 0; } else { $Submitted=1; } } else if ($_POST["submit"] == "Register") { $Forename = $_POST["FName"]; $Surname = $_POST["SName"]; $Address = $_POST["Address"]; $ClubName = $_POST["Club"]; $Mobile = $_POST["MobileNo"]; $TelNo = $_POST["TelNo"]; $RegNo = $_POST["RegNo"]; $DOB = $_POST["DOB"]; $DOBAge1 = $_POST["DOBAge1"]; $DOBAge2 = $_POST["DOBAge2"]; $Postcode = $_POST["Postcode"]; $EmailAddress = $_POST["EmailAddress"]; $OtherClub = $_POST["OtherClub"]; $Residence = $_POST["Residence"]; $ResidenceSince = $_POST["ResidenceSince"]; $Education = $_POST["Education"]; $EducationSince = $_POST["EducationSince"]; $Workplace = $_POST["Workplace"]; $WorkplaceSince = $_POST["WorkplaceSince"]; $Birthplace = $_POST["Birthplace"]; $ClubColours = $_POST["ClubColours"]; $ClaimingResidential = $_POST["ClaimingResidential"]; $ResidencePostcode = $_POST["ResidencePostcode"]; $Disability = $_POST["disability"]; $TShirt1Needed = $_POST["chkTShirt1"]; $TShirt2Needed = $_POST["chkTShirt2"]; if ($TShirt1Needed == 1) { $TShirt1Needed="on"; } if ($TShirt2Needed == 1) { $TShirt2Needed="on"; } $pb100 = $_POST["pb100"]; $pb200 = $_POST["pb200"]; $pb400 = $_POST["pb400"]; $pb800 = $_POST["pb800"]; $pb1500 = $_POST["pb1500"]; $pbLongJump = $_POST["pbLongJump"]; $pbJavelin = $_POST["pbJavelin"]; $pbHurdles = $_POST["pbHurdles"]; $pbShot = $_POST["pbShot"]; $pbDiscus = $_POST["pbDiscus"]; $pbHurdles = $_POST["pbHurdles"]; $pbPoleVault = $_POST["pbPoleVault"]; $pbHighJump = $_POST["pbHighJump"]; $DefaultAgeID = $_POST["DefaultAgeID"]; $HearingImpaired = $_POST["HearingImpaired"]; $PhysicalDisability = $_POST["PhysicalDisability"]; $VisionImpaired = $_POST["VisionImpaired"]; $LearningDisability = $_POST["LearningDisability"]; $Classification = $_POST["Classification"]; if($LearningDisability == 1) { $LearningDisability = "on"; } if($VisionImpaired == 1) { $VisionImpaired = "on"; } if($HearingImpaired == 1) { $HearingImpaired = "on"; } $DisciplinesProvided = 0; if ($pb100) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pb200) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pb800) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pb1500) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pbLongJump) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pbHighJump) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pbJavelin) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pbShot) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pbHurdles) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pb100) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pb400) {$DisciplinesProvided = $DisciplinesProvided + 1;} if ($pbPoleVault) {$DisciplinesProvided = $DisciplinesProvided + 1;} $EventNo = 1; $RegNoNeeded = 1; if ($MeetingID == 146) { $RegNoNeeded = 0; } if ($MeetingID == 147) { $RegNoNeeded = 0; } while ($EventNo <= $MaxEvents) { $EventNames[$EventNo] = $_POST["Event$EventNo"]; $EventNo = $EventNo + 1; } $AgeNo = 1; while ($AgeNo <= $MaxEvents) { $AgeNames[$AgeNo] = $_POST["Age$AgeNo"]; $AgeNo = $AgeNo + 1; } $PBNo = 1; while ($PBNo <= $MaxEvents) { $PBValues[$PBNo] = $_POST["PBValue$PBNo"]; $PBNo = $PBNo + 1; } $PBNo = 1; while ($PBNo <= $MaxEvents) { $PBDates[$PBNo] = $_POST["PBDate$PBNo"]; $PBNo = $PBNo + 1; } $PBNo = 1; while ($PBNo <= $MaxEvents) { $PBVenues[$PBNo] = $_POST["Venue$PBNo"]; $PBNo = $PBNo + 1; } ConnectToDB(); $ErrorMessage = ValidateForm($MaxEvents, $MeetingID, $RegNoNeeded); if ($ErrorMessage=="") { $RegistrationID = RegisterAthleteForMeeting($MaxEvents, $MeetingID); $Submitted = 1; } else { $Submitted = 2; } } // echo $_REQUEST["DOBChanged"]; if ($_REQUEST["DOBChanged"]&&$_POST["submit"] == "Register") { if ($DefaultAgeID <> 0 && $DefaultAgeID) { if (!$Sex) { $Sex = $_POST["Sex"]; } $tblAges = GetAgesForSexWithDefaultAge($MeetingID, $Sex, $DefaultAgeID); $tblEvents = GetEventsWithDefaultAgeID($MeetingID, $DefaultAgeID); } } if ($_REQUEST["DOBChanged"]&&$_POST["submit"] <> "Register") { $Forename = $_POST["FName"]; $Surname = $_POST["SName"]; $Address = $_POST["Address"]; $ClubName = $_POST["Club"]; $Mobile = $_POST["MobileNo"]; $TelNo = $_POST["TelNo"]; $RegNo = $_POST["RegNo"]; $DOB = $_POST["DOB"]; $DOBAge1 = $_POST["DOBAge1"]; $DOBAge2 = $_POST["DOBAge2"]; $Postcode = $_POST["Postcode"]; $EmailAddress = $_POST["EmailAddress"]; $OtherClub = $_POST["OtherClub"]; $Residence = $_POST["Residence"]; $ResidenceSince = $_POST["ResidenceSince"]; $Education = $_POST["Education"]; $EducationSince = $_POST["EducationSince"]; $Workplace = $_POST["Workplace"]; $WorkplaceSince = $_POST["WorkplaceSince"]; $Birthplace = $_POST["Birthplace"]; $ClubColours = $_POST["ClubColours"]; $DefaultAgeID = $_POST["DefaultAgeID"]; $HearingImpaired = $_POST["HearingImpaired"]; $PhysicalDisability = $_POST["PhysicalDisability"]; $VisionImpaired = $_POST["VisionImpaired"]; $LearningDisability = $_POST["LearningDisability"]; $Classification = $_POST["Classification"]; $Disability = $_POST["disability"]; $TShirt1Needed = $_POST["chkTShirt1"]; $TShirt2Needed = $_POST["chkTShirt2"]; if ($TShirt1Needed == 1) { $TShirt1Needed="on"; } if ($TShirt2Needed == 1) { $TShirt2Needed="on"; } if($LearningDisability == 1) { $LearningDisability = "on"; } if($VisionImpaired == 1) { $VisionImpaired = "on"; } if($HearingImpaired == 1) { $HearingImpaired = "on"; } $dateorig = $_POST["DOB"]; if (!checkDateFormat($dateorig)) { $ErrorMessage = "Please ensure that DOB has been specified and is in the format dd/mm/yyyy"; $DefaultAgeID = 0; } else { $date1 = substr($dateorig, 6, 4) . '-' . substr($dateorig, 3, 2) . '-' . substr($dateorig, 0, 2) ; $Sex = $_POST["Sex"]; if ($_REQUEST["BackButtonPressed"]) { $DefaultAgeID = $_REQUEST["DefaultAgeID"]; } if ($_POST["BackButtonPressed"]) { $DefaultAgeID = $_POST["DefaultAgeID"]; } //echo $SQL; //echo $DefaultAgeID; if (!$DefaultAgeID || $DefaultAgeID <= 0) { //echo "reerer"; $year = (float)date("Y", strtotime($date1)); $numericYear = (float)date("Y", strtotime($date1)).date("m", strtotime($date1)).date("d", strtotime($date1)); if ($_POST["Under20"]) { $cutOffDateTemp = $MeetingYear.'-12-31'; } else { $cutOffDateTemp = $MeetingYear.'-08-31'; } $cutOffDate = $cutOffDateTemp; $difference = date_diff(date_create($date1), date_create($cutOffDate))->y; $contractBegin = date("d/m/Y", strtotime_nonus("19991231")); if($year <= 1999) { $SQL = "SELECT * FROM tblAges WHERE Sex = $Sex AND AgeID IN (SELECT AgeID FROM tblMeetEventAges WHERE MeetID = $MeetingID AND AgeID IN(64,65 ))"; } else { $SQL = "SELECT * FROM tblAges WHERE $difference >= MinYears AND $difference <= MaxYears AND Sex = $Sex AND AgeID IN (SELECT AgeID FROM tblMeetEventAges WHERE MeetID = $MeetingID)"; } //echo $SQL; $tblRegInfo = RunQuery($SQL); $row = mysql_fetch_array($tblRegInfo); if ($MeetingID != 10 && $MeetingID != 16 && $MeetingID != 9) { if ($_REQUEST["Sex"] == "2") { //echo ("Male"); if ($difference > 20) { $DefaultAgeID = 64; } } else { if ($difference > 20) { $DefaultAgeID = 65; } // echo ("Female"); } } //echo("DEFAULTAGEID "); // echo($DefaultAgeID); //echo("DEFAULTAGEID "); //Senior Women = 65 //Senior Men = 64 //Under 20 Men = 62 //Under 20 Women = //echo($test); if (!$_POST["Sex"] || $_POST["Sex"] == 0) { $ErrorMessage = "Please choose Male or Female"; $DefaultAgeID = 0; } else if (!$row["Abb"] || !$_POST["DOB"]) { if ($MeetingID < 14 && $MeetingID != 11 && $MeetingID != 11) { $ErrorMessage = "Unable to calculate age group. Please check DOB and try again. This meeting only accepts Under 15s or older"; } else { $ErrorMessage = "Unable to calculate age group. Please check DOB and try again."; } $DefaultAgeID = 0; } else { // echo $row["AgeName"]; $ErrorMessage = ""; $DefaultAgeID = $row["AgeID"]; //echo $difference; if ($year <= 1999) { $tblAges = GetAgesForSexEnforcingSenior($MeetingID, $Sex, $DefaultAgeID); } else { $tblAges = GetAgesForSexWithDefaultAge($MeetingID, $Sex, $DefaultAgeID); } $tblEvents = GetEventsWithDefaultAgeID($MeetingID, $DefaultAgeID); } } } //$date1 = $row["AgeName"]; //echo "AGE"; //echo $DefaultAgeID; //echo "END"; //printf($date1); //echo "DOBCHANGED"; //Clear events if DOB or sex Changed /* $pb100 = $_POST["pb100"]; $pb200 = $_POST["pb200"]; $pb400 = $_POST["pb400"]; $pb800 = $_POST["pb800"]; $pb1500 = $_POST["pb1500"]; $pbLongJump = $_POST["pbLongJump"]; $pbJavelin = $_POST["pbJavelin"]; $pbHurdles = $_POST["pbHurdles"]; $pbShot = $_POST["pbShot"]; $pbDiscus = $_POST["pbDiscus"]; $pbHurdles = $_POST["pbHurdles"]; $pbPoleVault = $_POST["pbPoleVault"]; $pbHighJump = $_POST["pbHighJump"]; */ } else { } } catch (Exception $e) { $ErrorMessage = $e->getMessage(); } ?> Online Registration
0) ?>
Personal Information
Registration Details Confirmation
Personal Information
"Other Club") { ?> 135) { ?> 134) { ?> "Select An Event"&&$EventNames[$EventNo]<>"") { $TotalEvents = $TotalEvents + 1; } $EventNo = $EventNo + 1; } $SQL = "select OrigCostMethod, COALESCE((tblMeeting.Band1EventCost * Band1Events), 0) + COALESCE((Band2EventCost * Band2Events), 0) + (TShirt1Needed * 9) + (TShirt2Needed * 9) as EntryFee from tblMeeting inner join tblRegistrations on tblRegistrations.MeetID = tblMeeting.MeetingID where RegID = $RegistrationID"; $tbl = RunQuery($SQL); $row = mysql_fetch_array($tbl); $EntryFee = $row["EntryFee"]; $OrigCostMethod = $row["OrigCostMethod"]; if ($OrigCostMethod == 1) { if ($MeetingID == 11 ) { if ($TotalEvents > 2){ $EntryFee = 10 + (($TotalEvents - 2) * 4); } else { $EntryFee = 5 * $TotalEvents; } } else { if ($MeetingID == 10 ) { if ($TotalEvents >= 3){ $EntryFee = 10 * $TotalEvents; } else { $EntryFee = 11 * $TotalEvents; } } else { if ($TotalEvents >= 3){ $EntryFee = 6 * $TotalEvents; } else { $EntryFee = 7 * $TotalEvents; } } } if ($TShirt1Needed == "on") { $EntryFee = $EntryFee + 8; } if ($TShirt2Needed == "on") { $EntryFee = $EntryFee + 8; } } mysql_free_result($tbl); ?>
Athlete Name
Club
Address
Postcode
Email Address
Date of Birth
Club Colours
Telephone Number
Mobile Number
EA Registration Number
Meeting Qualification
Place Of Birth
Workplace
Education
Residential Qualification
Residence Address
Residence Postcode
Since
Nature Of Impairment
No
Learning DisabilityYes
Hearing ImpairedNo
Hearing ImpairedYes
Visually ImpairedNo
Visually ImpairedYes
Physical Disability
Classification
Disability Code
Event Information Entry Fee £
"Select An Event") {?>
Event Age Group Personal Best Personal Best Date Personal Best Venue
< 133) { ?>
Discipline Personal Bests
100 Metres
200 Metres
400 Metres
6/800 Metres
1,500 Metres
Hurdles
Long Jump
High Jump
Javelin
Pole Vault
Discus
Shot
Declaration
I hereby declare that I am an Amateur as defined by UKA Rule 21 S1 and eligible to compete either by birth or residence in the above meeting
I hereby declare:
(i) That I am eligible to compete according to the rules of UK Athletics.
(ii) That I will abide by the UKA and ECCA laws and rules for Competition.
(iii) That I am qualified to take part in the Championship.
(iv) Kent County Athletic Association shall not be liable to the participant for any loss, damage or injury however caused arising out of or in the course of, or in connection with the holding of the event.
You must agree to the declaration before continuing
"_xclick", "business" => "kcaa@saxtonenterprises.com", "lc" => "GB", "currency_code" => "GBP", "no_shipping" => "1", "item_name" => "$MeetingName", "amount" => "$EntryFee", "product" => "Event Entry Fees", "quantity" => "1", "email" => "$EmailAddress", "custom" => "$RegistrationID", "cancel_return" => "http://www.kcaa.org.uk/onlineregs/newmeeting2.php?CancelledRegID=$RegistrationID&MeetID=", "return" => "http://www.kcaa.org.uk/onlineregs/paymentmade.php" ); function paypal_encrypt($hash) { //Sample PayPal Button Encryption: Copyright 2006-2010 StellarWebSolutions.com //Not for resale - license agreement at //http://www.stellarwebsolutions.com/en/eula.php global $MY_KEY_FILE; global $MY_CERT_FILE; global $PAYPAL_CERT_FILE; global $OPENSSL; if (!file_exists($MY_KEY_FILE)) { echo "ERROR: MY_KEY_FILE $MY_KEY_FILE not found\n"; echo "ERROR: MY_KEY_FILE $MY_KEY_FILE not found\n"; } if (!file_exists($MY_CERT_FILE)) { echo "ERROR: MY_CERT_FILE $MY_CERT_FILE not found\n"; } if (!file_exists($PAYPAL_CERT_FILE)) { echo "ERROR: PAYPAL_CERT_FILE $PAYPAL_CERT_FILE not found\n"; } //Assign Build Notation for PayPal Support $hash['bn']= 'SEAA Competition LTD'; $data = ""; foreach ($hash as $key => $value) { if ($value != "") { //echo "Adding to blob: $key=$value\n"; $data .= "$key=$value\n"; } } $openssl_cmd = "($OPENSSL smime -sign -signer $MY_CERT_FILE -inkey $MY_KEY_FILE " . "-outform der -nodetach -binary <<_EOF_\n$data\n_EOF_\n) | " . "$OPENSSL smime -encrypt -des3 -binary -outform pem $PAYPAL_CERT_FILE"; exec($openssl_cmd, $output, $error); if (!$error) { return implode("\n",$output); } else { return "ERROR: encryption failed"; } }; $encrypted =$form; ?>

Online Entry
Closing date . No late or telephone entries accepted.
£ Per event
£ Per event. £ Per event
£ First 2 events. £ Per additional event
TShirt design for 2019 will be blue Dri-fit
Before registering for this meeting please see Entry to Track & Field Championship Information
I have read and understand the entry conditions
All Personal Bests should be within the last 18 months
Surname First Name
      Enter details if other club selected
Club Other Club
Email Address EA Reg No
Telephone No Mobile No
Address
Postcode Birthplace
Sex Date Of Birth dd/mm/yyyy 4) && ($MeetingID <> 6) && ($MeetingID <> 14) && ($MeetingID <> 13) && ($MeetingID <> 10) && ($MeetingID <> 11) && ($MeetingID <> 9) && ($MeetingID <> 1) && ($MeetingID <>3)) { ?> Under 20 Athlete
Disability
T Shirt 1 £9 Tick if yes and select size: Tick if yes and select size:
T Shirt 2 £9 Tick if yes and select size: Tick if yes and select size:
Nature Of Impairment
Learning Disability
Learning Disability
Hearing Impaired
Hearing Impaired
Visually Impaired
Visually Impaired
Physical Disability
Classification
Residential Qualification
Claim residential qualification
Claim residential qualification
Address
Postcode Continuously since
dd/mm/yyyy
Discipline Personal Bests
100 Metres 200 Metres 400 Metres
6/800 Metres 1500 Metres Hurdles
High Jump Pole Vault Long Jump
Shot Discus Javelin
0) { ?>
Event Information
Middle distance Personal Best performances should be entered in the format MM:ss
Age Group Event Personal Best PB Date PB Venue
"") { ?>
0") {?>
You must read and acknowledge entry conditions before registering