2595 Cordes Dr. Sugar Land, Texas
(281) 980 - 3030 | houstonkiaikido@yahoo.com


2012 Seminar with Kashiwaya Sensei

2012 Seminar with Kashiwaya Sensei
18 Nov

check($_POST[‘txtSecCode’]) == false)
//{
//$errMsg = $errMsg . “
Incorrect security code.”;
//}

if (!isset($_POST[‘txtFirstName’]) || strlen($_POST[‘txtFirstName’]) == 0 ||
!isset($_POST[‘txtLastName’]) || strlen($_POST[‘txtLastName’]) == 0 ||
!isset($_POST[‘txtEmail’]) || strlen($_POST[‘txtEmail’]) == 0 ||
!isset($_POST[‘rdCurHKA’]) || strlen($_POST[‘rdCurHKA’]) == 0 ||
!isset($_POST[‘txtPhone1’]) || strlen($_POST[‘txtPhone1’]) == 0 ||
!isset($_POST[‘txtPhone2’]) || strlen($_POST[‘txtPhone2’]) == 0 ||
!isset($_POST[‘txtPhone3’]) || strlen($_POST[‘txtPhone3’]) == 0 ||
!isset($_POST[‘cboPhoneType’]) || strlen($_POST[‘cboPhoneType’]) == 0 ||
!isset($_POST[‘txtAddress1’]) || strlen($_POST[‘txtAddress1’]) == 0 ||
!isset($_POST[‘txtCity’]) || strlen($_POST[‘txtCity’]) == 0 ||
!isset($_POST[‘cboState’]) || strlen($_POST[‘cboState’]) == 0 ||
!isset($_POST[‘txtZip’]) || strlen($_POST[‘txtZip’]) == 0 ||
!isset($_POST[‘txtEmergencyContact’]) || strlen($_POST[‘txtEmergencyContact’]) == 0 ||
!isset($_POST[‘txtEPhone1’]) || strlen($_POST[‘txtEPhone1’]) == 0 ||
!isset($_POST[‘txtEPhone2’]) || strlen($_POST[‘txtEPhone2’]) == 0 ||
!isset($_POST[‘txtEPhone3’]) || strlen($_POST[‘txtEPhone3’]) == 0 ||
!isset($_POST[‘chkDays’]) || strlen($_POST[‘chkDays’]) == 0)
{
$errMsg = $errMsg . “
Not all required fields were filled in. Fields marked with an asterisk (*) are required.”;
}
else
{
if (!preg_match(‘/^[_A-z0-9-]+((\.|\+)[_A-z0-9-]+)*@[A-z0-9-]+(\.[A-z0-9-]+)*(\.[A-z]{2,4})$/’, $_POST[‘txtEmail’]))
{
$errMsg = $errMsg . “
Invalid email address.”;
}
if (!is_numeric($_POST[‘txtPhone1’]) || !is_numeric($_POST[‘txtPhone2’]) || !is_numeric($_POST[‘txtPhone3’]) ||
strlen($_POST[‘txtPhone1’]) < 3 || strlen($_POST['txtPhone2']) < 3 || strlen($_POST['txtPhone3']) < 4) { $errMsg = $errMsg . "
Invalid phone number.”;
}
if (!is_numeric($_POST[‘txtZip’]) || strlen($_POST[‘txtZip’]) < 5) { $errMsg = $errMsg . "
Invalid zip code”;
}
if (!is_numeric($_POST[‘txtEPhone1’]) || !is_numeric($_POST[‘txtEPhone2’]) || !is_numeric($_POST[‘txtEPhone3’]) ||
strlen($_POST[‘txtEPhone1’]) < 3 || strlen($_POST['txtEPhone2']) < 3 || strlen($_POST['txtEPhone3']) < 4) { $errMsg = $errMsg . "
Invalid emergency contact phone number.”;
}
}

if (strlen($errMsg) == 0)
{
$customTag = “2012 Kashiwaya Seminar”;
$phone = $_POST[‘txtPhone1’] . $_POST[‘txtPhone2’] . $_POST[‘txtPhone3’];
$ePhone = $_POST[‘txtEPhone1’] . $_POST[‘txtEPhone2’] . $_POST[‘txtEPhone3’];

$amount = 0;
$daysAttending = “”;
for ($i = 0; $i < count($_POST['chkDays']); $i++) { if ($_POST['chkDays'][$i] == "Fri") { $daysAttending = $daysAttending . "Friday, "; $amount += 25; } if ($_POST['chkDays'][$i] == "Sat") { $daysAttending = $daysAttending . "Saturday, "; $amount += 65; } if ($_POST['chkDays'][$i] == "Sun") { $daysAttending = $daysAttending . "Sunday, "; $amount += 45; } } if (count($_POST['chkDays']) == 3 || $amount > 100)
$amount = 100;
if ($_POST[‘rdCurHKA’] == 1 && $amount > 75)
$amount = 75;

$result = $dbAccess->RegisterSeminar($_POST[‘txtFirstName’], $_POST[‘txtLastName’], $_POST[‘txtEmail’], $_POST[‘txtDojoName’], $_POST[‘txtAikidoRank’], $phone, $_POST[‘cboPhoneType’], $_POST[‘txtAddress1’], $_POST[‘txtAddress2’], $_POST[‘txtCity’], $_POST[‘cboState’], $_POST[‘txtZip’], $_POST[‘txtEmergencyContact’], $ePhone, $daysAttending, $customTag);

if (!$result)
{
$errMsg = $errMsg . “
There was an error receiving your registration information. Please try again, or send an email to houstonkiaikido@yahoo.com.”;
}
else
{
$to = $_POST[‘txtEmail’];
$subject = “Registration Confirmation for Houston Ki Aikido 2012 Seminar with Kashiwaya Sensei”;

$message = ““;
$message = $message . “

Thank you for registering for our 2012 Seminar with Kashiwaya Sensei. A copy of your registration information is included below. Note that your registration is not complete until payment confirmation is received. If you submitted your payment online through PayPal, you will receive a second email with payment confirmation.

“;
$message = $message . “Seminar classes will be held from Friday, December 14 through Sunday, December 16 at the Safety America Karate school located at 2595 Cordes Drive, Sugar Land, Texas. Directions and a map can be found at http://www.houstonkiaikido.org/location/

“;
$message = $message . “If you have any questions, you can email us at houstonkiaikido@yahoo.com.

“;

$message = $message . “Registration Information:

“;
$message = $message . “

Name: ” . $_POST[‘txtFirstName’] . ” ” . $_POST[‘txtLastName’] . “
“;
$message = $message . “Email: ” . $_POST[‘txtEmail’] . “
“;
$message = $message . “Name of Dojo: ” . $_POST[‘txtDojoName’] . “
“;
$message = $message . “Aikido Rank: ” . $_POST[‘txtAikidoRank’] . “
“;
$message = $message . $_POST[‘cboPhoneType’] . ” Phone Number: ” . $phone . “
“;
$message = $message . “Address: ” . $_POST[‘txtAddress1’] . ” ” . $_POST[‘txtAddress2’] . “, ” . $_POST[‘txtCity’] . “, ” . $_POST[‘cboState’] . ” ” . $_POST[‘txtZip’] . “
“;
$message = $message . “Emergency Contact: ” . $_POST[‘txtEmergencyContact’] . ” – ” . $ePhone . “
“;
$message = $message . “Days Attending: ” . $daysAttending . “
“;
$message = $message . “Amount due: $” . $amount;
$message = $message . “

“;
$message = $message . ““;
$message = stripslashes($message);

$headers = “From: Houston Ki Aikido \r\nReply-To: houstonkiaikido@yahoo.com\r\nBcc: mail@houstonkiaikido.org”;
$headers = $headers . “\r\nMIME-Version: 1.0\r\nContent-type: text/html; charset=iso-8859-1”;
$mail_sent = @mail($to, $subject, $message, $headers);
}
}
}

?>

Please wait while we transfer you to PayPal…


















0)
{
$showForm = 1;
?>

There was an error with your registration form. See below:

Houston Ki Aikido is pleased to host Koichi Kashiwaya sensei, (8th dan, Shin Shin Toitsu Do Aikido), Chief Instructor of the Midland Ki Federation, from Friday, December 14 through Sunday, December 16, 2012. Please join us for this special seminar, “Painting with Ki”. Attend the seminar to find out more about this year’s unique theme.

Classes will be held at the Safety America facility, located at 2595 Cordes Drive, Sugar Land, Texas. Fees are $100 per student for the entire weekend. See the Seminar Schedule below for individual day fees.

You can register and pay for the seminar online using the form below. Payments are accepted via PayPal. Alternatively, you may print the registration form and bring it and your payment (check or cash only) on the day of the seminar.

Click here to download our seminar brochure, which includes additional information, maps, and a printable registration form.

Seminar Schedule:

Friday, December 14
6:30 PM – 7:00 PM
7:00 PM – 9:00 PM
Registration
Ki Class
Friday class only – $25
Saturday, December 15
9:00 AM – 9:30 AM
9:30 AM – 11:30 AM
1:00 PM – 4:00 PM
6:00 PM – 9:00 PM
9:00 PM – 11:00 PM
Registration
Ki-Aikido Class I
Ki-Aikido Class II
Special Ki Outing
Evening Celebration
Saturday classes only – $65

Sunday, December 16
9:00 AM – 9:30 AM
9:30 AM – 12:00 PM
1:30 PM – 4:30 PM
Registration
Outdoor Weapons
Dan Testing
Sunday class only – $45