'; $error = false; $is_attachment = false; // determine is the form was submitted $submit = (!empty($_POST)) ? $_POST['submit'] : null; $form_submitted = (empty($submit)) ? false : true; if ($form_submitted) { // read out data foreach ($_POST as $k => $v) $$k = $v; // verify required data if (empty($_SESSION['6_letters_code']) || strcasecmp($_SESSION['6_letters_code'], $_POST['6_letters_code']) != 0 ) { //Note: the captcha code is compared case insensitively. //if you want case sensitive match, update the check above to // strcmp() $error_msg .= "
  • The captcha code does not match!
  • "; $error = true; } if (!$name) { $error_msg .= "
  • Full Name
  • "; $error = true; } if (!$email) { $error_msg .= "
  • E-mail Address
  • "; $error = true; } if (!$phone) { $error_msg .= "
  • Telephone
  • "; $error = true; } if (!$boatmake) { $error_msg .= "
  • Boat Make
  • "; $error = true; } if ($email) { if (!eregi("^[a-z0-9_]+@[a-z0-9\-]+\.[a-z0-9\-\.]+$", $email)) { $error_msg .= "
  • Invalid Email Address
  • "; $error = true; } } if ($phone) { if (!eregi("(^(.*)[0-9]{3})(.*)([0-9]{3})(.*)([0-9]{4}$)", $phone)) { $error_msg .= "
  • Invalid Phone Number
  • "; $error = true; } } if (trim($_FILES['file']['tmp_name']) != "") $is_attachment = true; if ($is_attachment) { if ($_FILES['file']['error'] != 0) { $error_msg .= "
  • Your file was not attached properly. Please, try again.
  • "; $error = true; } if (!in_array($_FILES['file']['type'], array("image/jpg", "image/pjpg", "image/jpeg", "image/pjpeg", "image/png", "image/gif"))) { $error_msg .= "
  • Incorrect file type. Only .jpg, .jpeg, .gif, .png files allowed.
  • "; $error = true; } if ($_FILES['file']['size'] > 2 * 1024 * 1024) { $error_msg .= "
  • Your file is larger than 2Mb. Please, adjust the size and try again.
  • "; $error = true; } } $error_msg .= ""; // email message if no errors occurred if (!$error) { // prepare message $msg = "

    Full Name: $name
    "; $msg .= "Boat Make: $boatmake
    "; $msg .= "E-mail Address: $email
    "; $msg .= "Phone Number: $phone
    "; $msg .= "Message: --- $message ---
    "; $msg .= ($TTopCanvas != '') ? "T-Top Canvas: $TTopCanvas
    " : ""; $msg .= ($TTopFiberglass != '') ? "T Top Fiberglass: $TTopFiberglass
    " : ""; $msg .= ($RocketLauncher != '') ? "Rocket Launcher: $RocketLauncher
    " : ""; $msg .= ($HardTop != '') ? "Hard Top(Boats less than 24'): $HardTop
    " : ""; $msg .= ($BasicArch != '') ? "Basic Arch(no rod holders): $BasicArch
    " : ""; $msg .= ($ReinforcedRadarArch != '') ? "Reinforced RadarArch: $ReinforcedRadarArch
    " : ""; $msg .= ($ReinforcedRadarArchwFoldableBimini != '') ? "Reinforced Radar Arch w/Foldable Bimini: $ReinforcedRadarArchwFoldableBimini
    " : ""; $msg .= ($HalfTower != '') ? "Half Tower(boats 24'<): $HalfTower
    " : ""; $msg .= ($PowderCoatedRadarArch != '') ? "Powder Coated Radar Arch: $PowderCoatedRadarArch
    " : ""; $msg .= ($GoldTulipStyleRodHolder != '') ? "Gold Tulip Style Rod Holder: $GoldTulipStyleRodHolder
    " : ""; $msg .= ($BlackTulipStyleRodHolder != '') ? "Black Tulip Style Rod Holder: $BlackTulipStyleRodHolder
    " : ""; $msg .= ($SilverTulipStyleRodHolder != '') ? "Silver Tulip Style Rod Holder: $SilverTulipStyleRodHolder
    " : ""; $msg .= ($LiftingEyes != '') ? "Lifting Eyes: $LiftingEyes
    " : ""; $msg .= ($PerkoAnchorRunningLight != '') ? "Perko Anchor Running Light: $PerkoAnchorRunningLight
    " : ""; $msg .= ($HalogenLightMount != '') ? "Halogen Light Mount: $HalogenLightMount
    " : ""; $msg .= ($CenterRiggerHolder != '') ? "Center Rigger Holder(weld-on): $CenterRiggerHolder
    " : ""; $msg .= ($InstrumentLocker != '') ? "Instrument Locker: $InstrumentLocker
    " : ""; $msg .= ($TwoBowsCollapsibleBiminiTop != '') ? "Two Bows Collapsible BiminiTop: $TwoBowsCollapsibleBiminiTop
    " : ""; $msg .= ($SportSlam100AOutriggerMount != '') ? "Sport Slam 100A Outrigger Mount: $SportSlam100AOutriggerMount
    " : ""; $msg .= ($GrandSlam350OutriggerMount != '') ? "Grand Slam 350H Outrigger Mount: $GrandSlam350OutriggerMount
    " : ""; $msg .= ($GrandSlam350SOutriggerMount != '') ? "Grand Slam350S Outrigger Mount: $GrandSlam350SOutriggerMounts
    " : ""; $msg .= ($GrandSlam270OutriggerMount != '') ? "Grand Slam270 Outrigger Mount: $GrandSlam270OutriggerMount
    " : ""; $msg .= ($OutriggerMountingPlates != '') ? "Outrigger Mounting Plates: $OutriggerMountingPlates
    " : ""; $msg .= "

    "; $subject = "BOATTOWERS Web Order"; // multipart boundary $message–ź = ''; # $file = $_FILES['file']['tmp_name']; if ($is_attachment) { $messageA .= "--1a2a3a\r\n"; $messageA .= "Content-Type: text/html; charset=\"iso-8859-1\"\r\n" . "Content-Transfer-Encoding: 7bit\r\n\r\n" . $msg . "\r\n" . "--1a2a3a\r\n"; $file = file_get_contents($_FILES['file']['tmp_name']); $messageA .= "Content-Type: " . $_FILES['file']['type'] . "; name=\"" . $_FILES['file']['name'] . "\"\r\n" . "Content-Transfer-Encoding: base64\r\n" . "Content-disposition: attachment; file=\"" . $_FILES['file']['name'] . "\"\r\n" . "\r\n" . chunk_split(base64_encode($file)) . "--1a2a3a--"; } else { $messageA = $msg; } // prepare message header $headers = "From: $name $email\r\n"; $headers .= "Sub: Boattowers Web Order $email\r\n"; $headers .= "Reply-To: $name $email\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= ($is_attachment) ? "Content-Type: multipart/mixed; boundary=\"1a2a3a\"" : "Content-type: text/html; charset=iso-8859-1\r\n"; // send out email mail("sales@boattowers.com", $subject, $messageA, $headers); } } ?> Order Form
    CUSTOM MARINE WORK 0RDER FORM
    Thank you for your order, . This is the information you submitted:
    We will get back to you ASAP to confirm your order " . $error_msg . "\n"; } ?>
    QTY PRODUCT PRICE
    " size="5" maxlength="5"/> T-Top (canvas) $1,790
    " size="5" maxlength="5"/> T-Top (fiberglass ) $2,390
    " size="5" maxlength="5"/> Rocket Launcher (anodized) $450
    "/> Hard Top (Boats 24'<) $3,190
    " size="5" maxlength="5"/> Basic Radar Arch (no rod holders) $1,090
    "/> Reinforced Radar Arch $1,290
    " size="5" maxlength="5"/> Reinforced Radar Arch w/Foldable Bimini $2,180
    " size="5" maxlength="5"/> Powder Coated Radar Arch $2,190
    " size="5" maxlength="5"/> Half Tower (Boats 24'<) $2,490
     
    AVAILABLE OPTIONS FOR THE ABOVE PRODUCTS
    QTY DESCRIPTION PRICE
    "/> Gold Tulip Style Rod Holder $69
    "/> Black Tulip Style Rod Holder $85
    "/> Silver Tulip Style Rod Holder $69
    "/> Lifting Eyes $60
    "/> Perko Fold Down Combination Anchor Running Light $75
    "/> Halogen Light Mount $25
    "/> Center Rigger Holder (weld-on) $65
    "/> Instrument Locker 24"x14"x9" (incl. weld-on brackets & Install) $425
    "/> 2 Bows Collapsible Bimini Top (Including Sunbrella Canvas) $890
    "/> Grand Slam 170 Outrigger Mounts $549
    " maxlength="5"> Grand Slam 380 Outrigger Mounts $1,688
    "/> Grand Slam 280 Outrigger Mounts $1,015
    "/> Grand Slam 280 Outrigger Kit $1,477
    "/> Outrigger Mounting Plates (weld-on) $85 ea
    DELIVERY INFORMATION
    Full Name (*) Message
     
    Address:
    City:
    State:
    Zip Code:
    Boat Make (*)
    Model:
    Year:
    Boat Photo: (Attach boat picture if available)
    Phone: (*)
    E-mail (*)
    Message




    Can't read the image? Click here to refresh

    All prices are FOB Lakewood NJ 08701 and do not include freight.

    Shipping and handling charges based on destination (call for details).

    Copyright © 2001 Metal Creations, Inc. All Rights Reserved