AddPostVar ('g_main_contact', '
  • Please enter a Main Contact
  • '); $main_contact = $httpVars->GetVar ('g_main_contact'); $httpVars->AddPostVar ('g_main_contact_address', '', false); $main_contact_address = $httpVars->GetVar ('g_main_contact_address'); $httpVars->AddPostVar ('g_main_contact_email', '
  • Please Enter a Main Contact Email Address
  • '); $main_contact_email = $httpVars->GetVar ('g_main_contact_email'); $httpVars->AddPostVar ('g_main_contact_phone', '
  • Please Enter a Main Contact Phone
  • '); $main_contact_phone = $httpVars->GetVar ('g_main_contact_phone'); $httpVars->AddPostVar ('g_main_contact_fax', '', false); $main_contact_fax = $httpVars->GetVar ('g_main_contact_fax'); $httpVars->AddPostVar ('g_credit_contact', '', false); $credit_contact = $httpVars->GetVar ('g_credit_contact'); $httpVars->AddPostVar ('g_credit_contact_email', '', false); $credit_contact_email = $httpVars->GetVar ('g_credit_contact_email'); $httpVars->AddPostVar ('g_credit_contact_phone', '', false); $credit_contact_phone = $httpVars->GetVar ('g_credit_contact_phone'); $httpVars->AddPostVar ('g_credit_contact_fax', '', false); $credit_contact_fax = $httpVars->GetVar ('g_credit_contact_fax'); $httpVars->AddPostVar ('g_mdf_fund_admin', '', false); $mdf_fund_admin = $httpVars->GetVar ('g_mdf_fund_admin'); $httpVars->AddPostVar ('g_president', '', false); $president = $httpVars->GetVar ('g_president'); $httpVars->AddPostVar ('g_vp_finanace', '', false); $vp_finanace = $httpVars->GetVar ('g_vp_finanace'); $httpVars->AddPostVar ('g_order_contact', '', false); $order_contact = $httpVars->GetVar ('g_order_contact'); $httpVars->AddPostVar ('g_order_contact_email', '', false); $order_contact_email = $httpVars->GetVar ('g_order_contact_email'); $httpVars->AddPostVar ('g_order_contact_phone', '', false); $order_contact_phone = $httpVars->GetVar ('g_order_contact_phone'); $httpVars->AddPostVar ('g_order_contact_fax', '', false); $order_contact_fax = $httpVars->GetVar ('g_order_contact_fax'); $httpVars->AddPostVar ('g_local_warehouse_yes', '', false); $local_warehouse_yes = $httpVars->GetVar ('g_local_warehouse_yes'); $httpVars->AddPostVar ('g_local_warehouse_no', '', false); $local_warehouse_no = $httpVars->GetVar ('g_local_warehouse_no'); $httpVars->AddPostVar ('g_pick_up_allow_yes', '', false); $pick_up_allow_yes = $httpVars->GetVar ('g_pick_up_allow_yes'); $httpVars->AddPostVar ('g_pick_up_allow_no', '', false); $pick_up_allow_no = $httpVars->GetVar ('g_pick_up_allow_no'); $httpVars->AddPostVar ('g_pick_up_address', '', false); $pick_up_address = $httpVars->GetVar ('g_pick_up_address'); $httpVars->AddPostVar ('g_invoice_copies_yes', '', false); $invoice_copies_yes = $httpVars->GetVar ('g_invoice_copies_yes'); $httpVars->AddPostVar ('g_invoice_copies_no', '', false); $invoice_copies_no = $httpVars->GetVar ('g_invoice_copies_no'); $httpVars->AddPostVar ('g_invoice_how_often', '', false); $invoice_how_often = $httpVars->GetVar ('g_invoice_how_often'); $httpVars->AddPostVar ('g_upc', '', false); $upc = $httpVars->GetVar ('g_upc'); $httpVars->AddPostVar ('g_guaranteed_sale', '', false); $guaranteed_sale = $httpVars->GetVar ('g_guaranteed_sale'); $httpVars->AddPostVar ('g_product_coded_yes', '', false); $product_coded_yes = $httpVars->GetVar ('g_product_coded_yes'); $httpVars->AddPostVar ('g_product_coded_no', '', false); $product_coded_no = $httpVars->GetVar ('g_product_coded_no'); $httpVars->AddPostVar ('g_product_coded_how_often', '', false); $product_coded_how_often = $httpVars->GetVar ('g_product_coded_how_often'); $httpVars->AddPostVar ('g_read_code', '', false); $read_code = $httpVars->GetVar ('g_read_code'); $httpVars->AddPostVar ('g_price_protection_yes', '', false); $price_protection_yes = $httpVars->GetVar ('g_price_protection_yes'); $httpVars->AddPostVar ('g_price_protection_no', '', false); $price_protection_no = $httpVars->GetVar ('g_price_protection_no'); $httpVars->AddPostVar ('g_commission_rate', '', false); $commission_rate = $httpVars->GetVar ('g_commission_rate'); $httpVars->AddPostVar ('g_spoil_procedure', '', false); $spoil_procedure = $httpVars->GetVar ('g_spoil_procedure'); //////////////////////////////////////////////////////////////////////////////////// if ($httpVars->GetErrorStr () != '') { $errorStr = ""; } // Everything is good, send emails // else { // Include email class // include ("global/email.php"); // Include subject and message // include ("global/new_sub_text.php"); $fromName = $main_contact; $fromEmail = $main_contact_email; // prepare checkbox strings for form output $local_warehouse = ''; if ($local_warehouse_yes) { $local_warehouse = 'Yes'; } elseif ($local_warehouse_no) { $local_warehouse = 'No'; } $pick_up_allow = ''; if ($pick_up_allow_yes) { $pick_up_allow = 'Yes'; } elseif ($pick_up_allow_no) { $pick_up_allow = 'No'; } $invoice_copies = ''; if ($invoice_copies_yes) { $invoice_copies = 'Yes'; } elseif ($invoice_copies_no) { $invoice_copies = 'No'; } $product_coded = ''; if ($product_coded_yes) { $product_coded= 'Yes'; } elseif ($product_coded_no) { $product_coded = 'No'; } $price_protection = ''; if ($price_protection_yes) { $price_protection= 'Yes'; } elseif ($price_protection_no) { $price_protection = 'No'; } $toName = 'tpgsite.com'; $message = sprintf ($message, $main_contact, $main_contact_address, $main_contact_email, $main_contact_phone, $main_contact_fax, $credit_contact, $credit_contact_email, $credit_contact_phone, $credit_contact_fax, $mdf_fund_admin, $president, $vp_finanace, $order_contact, $order_contact_email, $order_contact_phone, $order_contact_fax, $local_warehouse, $pick_up_allow, $pick_up_address, $invoice_copies, $invoice_how_often, $upc, $guaranteed_sale, $product_coded, $product_coded_how_often, $read_code, $price_protection, $commission_rate, $spoil_procedure); // send form to TGP Sales $toEmail = 'info@thedomain.com'; $email = new email (); $email->SendHTMLEmail ($toName, $toEmail, $fromName, $fromEmail, $subject, $message); // send form to Drew Trujillo $toEmail = 'drewt@tpgsite.com'; $email = new email (); $email->SendHTMLEmail ($toName, $toEmail, $fromName, $fromEmail, $subject, $message); header("Location: http://www.tpgsalesservices.com/new_thank.html"); } } ?> the performance group

    new client forms










    the Performance Group New Client Forms

    MAIN CONTACT:

    ADDRESS:

    EMAIL:

    PHONE:

    FAX:


    CONTACT ON CREDIT PROBLEMS:

    EMAIL:

    PHONE:

    FAX:


    MDF FUND ADMINISTRATOR:

    PRESIDENT:

    V.P. OF FINANCE:


    ORDER CONTACT:

    EMAIL:

    PHONE:

    FAX:


    LOCAL WAREHOUSE?: YES NO
    PICK UP ALLOW?: YES NO
    ADDRESS:


    WILL YOU SUPPLY US WITH INVOICE COPIES? YES NO
    HOW OFTEN?


    MANUFACTURER'S UPC


    GUARANTEED SALE:


    PRODUCT CODED?: YES NO
    HOW OFTEN?

    HOW TO READ CODE


    PRICE PROTECTION: YES NO

    COMMISSION RATE:

    SPOILS PROCEDURE:


    The Performance Group©2003. All Rights Reserved