From 4e3615f4136c156ae4099a2ad147dc33eacabe2e Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 5 Dec 2016 13:06:48 -0500 Subject: [PATCH] Putting form back Updating form so it works. Removing the credit card fields. --- form.html | 60 +++++++------ form2.html | 32 +++---- form2.phtml | 242 ++++++++++++++++++++++++++-------------------------- form3.phtml | 165 +++++++++++++++++------------------ 4 files changed, 251 insertions(+), 248 deletions(-) diff --git a/form.html b/form.html index 88641ae..6c17af4 100755 --- a/form.html +++ b/form.html @@ -57,7 +57,7 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 Classic CarClassic MotorcycleCustomer TestimonalsFAQ Section - + Shows and Events @@ -67,19 +67,19 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 Order OnlineHomeContact UsTell a Friend


-
+
+
+ Facebook + Twitter +
Corrosion Control Outdoors LLC
-
Luzerne, MI 48636
-
Phone: 231.360.9990
Luzerne, MI 48636
+
Phone: 231.360.9990
-
@@ -98,76 +98,75 @@ contact us at (231) 360-9990 to inquire
  • Prices include shipping and handling
  • We can custom make any size cocoon for your classic car or motorcycle - i.e: Tractor, ATV's, etc.
    -
  • diff --git a/form2.html b/form2.html index 326ac77..79d1397 100755 --- a/form2.html +++ b/form2.html @@ -88,7 +88,7 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0
    - @@ -375,7 +377,7 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0
    + @@ -120,7 +120,8 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0  *= Fields that are required to insure proper verification of your order

    Order Information:

    - @@ -361,13 +363,13 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 - - - - - - - + + + + + + +
    + +

    Customer Information:

     Zip:
    -
    + @@ -389,7 +391,7 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0
      - +   diff --git a/form2.phtml b/form2.phtml index 97a93bf..e40e47e 100644 --- a/form2.phtml +++ b/form2.phtml @@ -1,5 +1,5 @@ - -" .$monthName[$currentMonth]. " \n"; } $mo .= ""; - return $mo; + return $mo; } - // make year selector + // make year selector function pick_year($cc_exp_year) { - $useDate = Time() ; + $useDate = Time() ; $yr = ""; - return $yr; + return $yr; } ?> @@ -104,7 +104,7 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 - @@ -122,7 +122,7 @@ onLoad="MM_preloadImages('assets/splash/classiccar_on.gif','assets/splash/classi - + @@ -132,20 +132,20 @@ onLoad="MM_preloadImages('assets/splash/classiccar_on.gif','assets/splash/classi @@ -153,45 +153,45 @@ onLoad="MM_preloadImages('assets/splash/classiccar_on.gif','assets/splash/classi

    Classic Car and Motorcycle Cocoon Secured Order Form

    + //this.cc_type.optional = false; + //this.cc_type.r = 'Credit Card'; + //this.cc_name.optional=false; + //this.cc_name.r = 'Name on Card'; + //this.cc_num.optional=false; + //this.cc_num.r = 'Card Number'; + this.bill_fname.optional=false; + this.bill_fname.r='Billing First Name'; + this.bill_lname.optional = false; + this.bill_lname.r = 'Billing Name'; + this.bill_street.optional=false; + this.bill_street.r = 'Billing Address'; + this.bill_city.optional=false; + this.bill_city.r = 'Billing City'; + this.bill_state.optional=false; + this.bill_state.r = 'Billing State'; + this.bill_zip.optional=false; + this.bill_zip.r = 'ZIP Code'; + this.bill_phone.optional=false; + this.bill_phone.r = 'Billing Phone'; + this.make_model.optional=false; + this.make_model.r = 'Make/Model'; + this.length1.optional=false; + this.length1.r = 'Vehicle Length'; + this.width.optional=false; + this.width.r = 'Vehicle Width'; + this.height.optional=false; + this.height.r = 'Vehicle Height'; + this.comments.optional=true; + this.bill_email.optional=false; + this.bill_email.r = 'E-Mail Address'; + this.ship_fname.optional=true; + this.ship_lname.optional=true; + this.ship_street.optional=true; + this.ship_city.optional=true; + this.ship_state.optional=true; + this.ship_zip.optional=true; + return(verify(this)); + "> @@ -208,11 +208,11 @@ onLoad="MM_preloadImages('assets/splash/classiccar_on.gif','assets/splash/classi
    Classic CarClassic MotorcycleCustomer TestimonalsFAQ Section
    Shows and Events
    Order OnlineHomeContact UsTell a Friend


    -
    +
    +
    Luzerne, MI 48636
    +
    Phone: 231.360.9990
    + + +
    Corrosion Control Outdoors LLC
    -
    Luzerne, MI 48636
    -
    Phone: 231.360.9990
    - - -
    - +
    - + @@ -234,17 +234,17 @@ $amt_mc_tour = number_format( ($qty_mc_tour*319),2); $amt_mc_tour_un = number_format( ($qty_mc_tour_un*279),2); -$total = number_format( ( +$total = number_format( ( ($qty_small*390)+($qty_small_un*345)+($qty_med*435)+($qty_med_un*385)+($qty_large*540)+($qty_large_un*480)+ ($qty_mc_large*289)+($qty_mc_large_un*239)+($qty_mc_tour*319)+($qty_mc_tour_un*279) ),2); if(($qty_small)!="") - echo ' - - - - - '; + echo ' + + + + + '; if(($qty_small_un)!="") echo ' @@ -254,12 +254,12 @@ if(($qty_small_un)!="") '; if(($qty_med)!="") - echo ' - - - - - '; + echo ' + + + + + '; if(($qty_med_un)!="") echo ' @@ -270,12 +270,12 @@ if(($qty_med_un)!="") '; if(($qty_large)!="") - echo ' - - - - - '; + echo ' + + + + + '; if(($qty_large_un)!="") echo ' @@ -285,12 +285,12 @@ if(($qty_large_un)!="") '; if(($qty_mc_large)!="") - echo ' - - - - - '; + echo ' + + + + + '; if(($qty_mc_large_un)!="") echo ' @@ -302,12 +302,12 @@ if(($qty_mc_large_un)!="") if(($qty_mc_tour)!="") - echo ' - - - - - '; + echo ' + + + + + '; if(($qty_mc_tour_un)!="") echo ' @@ -331,17 +331,18 @@ if(($qty_mc_tour_un)!="")

    Order Information:

    Quantity
    Description
    Total
    '.$qty_small.'
    Small Car Cocoon 41625
    $'.$amt_small.'
    '.$qty_small.'
    Small Car Cocoon 41625
    $'.$amt_small.'
    '.$qty_med.'
    Medium Car Cocoon 48937
    $'.$amt_med.'
    '.$qty_med.'
    Medium Car Cocoon 48937
    $'.$amt_med.'
    '.$qty_large.'
    Large Car Cocoon 60750
    $'.$amt_large.'
    '.$qty_large.'
    Large Car Cocoon 60750
    $'.$amt_large.'
    $'.$amt_large_un.'
    '.$qty_mc_large.'
    Large Motorcycle Cocoon 26888
    $'.$amt_mc_large.'
    '.$qty_mc_large.'
    Large Motorcycle Cocoon 26888
    $'.$amt_mc_large.'
    '.$qty_mc_tour.'
    Touring Motorcycle Cocoon 27450
    $'.$amt_mc_tour.'
    '.$qty_mc_tour.'
    Touring Motorcycle Cocoon 27450
    $'.$amt_mc_tour.'
    - - +
    + + - + @@ -385,7 +387,7 @@ if(($qty_mc_tour_un)!="") - + @@ -393,7 +395,7 @@ if(($qty_mc_tour_un)!="") - + @@ -401,7 +403,7 @@ if(($qty_mc_tour_un)!="") - + @@ -409,11 +411,11 @@ if(($qty_mc_tour_un)!="") - + - - + @@ -481,7 +483,7 @@ if(($qty_mc_tour_un)!="") - + @@ -489,7 +491,7 @@ if(($qty_mc_tour_un)!="") - + @@ -512,16 +514,16 @@ if(($qty_mc_tour_un)!="") -* Car Dimensions (approximate): -[text field]Length x [text field]Width x [text field]Height - +* Car Dimensions (approximate): +[text field]Length x [text field]Width x [text field]Height + @@ -529,13 +531,13 @@ if(($qty_mc_tour_un)!="") - + - + @@ -543,7 +545,7 @@ if(($qty_mc_tour_un)!="") - + @@ -551,7 +553,7 @@ if(($qty_mc_tour_un)!="") - + @@ -559,7 +561,7 @@ if(($qty_mc_tour_un)!="") - + @@ -567,11 +569,11 @@ if(($qty_mc_tour_un)!="") - + - - + @@ -647,7 +649,7 @@ if(($qty_mc_tour_un)!="")

    Billing Information:

    * First Name:
    * Last Name:
    * Billing Address:
    * City:
    * State:
    +
    * Zip:
    * Email:
    * Phone:
    Length   - Width   + Width   Height  
    Comments:

    Shipping Information:
    (if different from billing address)

     First Name:
     Last Name:
    Shipping Address:
     City:
     State:
    +
     Zip:
    - +
    diff --git a/form3.phtml b/form3.phtml index 731f6c6..c204d73 100644 --- a/form3.phtml +++ b/form3.phtml @@ -1,4 +1,5 @@ -\nReply-To: $bill_email"); + "Classic Car Cocoon website order", + "$inv + ", + "From: Classic Car Cocoon Website\nReply-To: $bill_email"); //Confirm to Customer @@ -113,28 +114,28 @@ if(( isset($qty_small_un) )&&$qty_small_un !='') if(( isset($qty_med) )&&$qty_med !='') $conf .=" $qty_med 48937 Medium $$amt_med"; - + if(( isset($qty_med_un) )&&$qty_med_un !='') $conf .=" $qty_med_un 48937 Medium Unlined $$amt_med_un"; - + if(( isset($qty_large) )&&$qty_large !='') $conf .=" $qty_large 60750 Large $$amt_large"; - + if(( isset($qty_large_un) )&&$qty_large_un !='') $conf .=" $qty_large_un 60750 Large Unlined $$amt_large_un"; - - + + if(( isset($qty_mc_large) )&&$qty_mc_large !='') $conf .=" $qty_mc_large 26888 Large Cover $$amt_mc_large"; - + if(( isset($qty_mc_large_un) )&&$qty_mc_large_un !='') $conf .=" $qty_mc_large_un 26888 Large Cover Unlined $$amt_mc_large_un"; - + if(( isset($qty_mc_tour) )&&$qty_mc_tour !='') $conf .=" $qty_mc_tour 27450 Touring Size Cover $$amt_mc_tour"; @@ -159,8 +160,8 @@ $conf .="Your Billing Information: $bill_street $bill_city, $bill_state $bill_zip -Phone: $bill_phone -Email: $bill_email +Phone: $bill_phone +Email: $bill_email Make/Model: $make_model Vehicle Size: L= $length1 W= $width H= $height"; $conf .= "\n"; @@ -180,15 +181,15 @@ If you have any questions regarding your order, contact us at: Corrosion Control Outdoors LLC Luzerne, MI 48636 -Phone: 231.360.9990 +Phone: 231.360.9990 E-mail: info@classiccarcocoon.com "; mail( "$bill_email", - "Classic Car Cocoon Order Confirmation", - "$conf - ", - "From: Classic Car Cocoon Website"); + "Classic Car Cocoon Order Confirmation", + "$conf + ", + "From: Classic Car Cocoon Website"); @@ -254,7 +255,7 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 - + @@ -264,20 +265,20 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 @@ -290,12 +291,12 @@ You ordered:
    Classic CarClassic MotorcycleCustomer TestimonalsFAQ Section
    Shows and Events
    Order OnlineHomeContact UsTell a Friend


    -
    +
    +
    Corrosion Control Outdoors LLC
    -
    Luzerne, MI 48636
    -
    Phone: 231.360.9990
    -
    E-mail: +
    Luzerne, MI 48636
    +
    Phone: 231.360.9990
    + -
    - - - - '; + echo ' + + + + + '; if(($qty_small_un)!="") echo ' @@ -306,12 +307,12 @@ if(($qty_small_un)!="") '; if(($qty_med)!="") - echo ' - - - - - '; + echo ' + + + + + '; if(($qty_med_un)!="") echo ' @@ -322,12 +323,12 @@ if(($qty_med_un)!="") '; if(($qty_large)!="") - echo ' - - - - - '; + echo ' + + + + + '; if(($qty_large_un)!="") echo ' @@ -338,12 +339,12 @@ if(($qty_large_un)!="") '; if(($qty_mc_large)!="") - echo ' - - - - - '; + echo ' + + + + + '; if(($qty_mc_large_un)!="") echo ' @@ -354,28 +355,28 @@ if(($qty_mc_large_un)!="") '; if(($qty_mc_tour)!="") - echo ' - - - - - '; + echo ' + + + + + '; if(($qty_mc_tour_un)!="") echo ' - + '; - echo ' - - - - - '; + echo ' + + + + + '; ?>
    '.$qty_small.'
    Small Car Cocoon 41625
    $'.$amt_small.'
    '.$qty_small.'
    Small Car Cocoon 41625
    $'.$amt_small.'
    '.$qty_med.'
    Medium Car Cocoon 48937
    $'.$amt_med.'
    '.$qty_med.'
    Medium Car Cocoon 48937
    $'.$amt_med.'
    '.$qty_large.'
    Large Car Cocoon 60750
    $'.$amt_large.'
    '.$qty_large.'
    Large Car Cocoon 60750
    $'.$amt_large.'
    '.$qty_mc_large.'
    Large Motorcycle Cocoon 26888
    $'.$amt_mc_large.'
    '.$qty_mc_large.'
    Large Motorcycle Cocoon 26888
    $'.$amt_mc_large.'
    '.$qty_mc_tour.'
    Touring Motorcycle Cocoon 27450
    $'.$amt_mc_tour.'
    '.$qty_mc_tour.'
    Touring Motorcycle Cocoon 27450
    $'.$amt_mc_tour.'
    '.$qty_mc_tour_un.'
    '.$qty_mc_tour_un.'
    Touring Motorcycle Cocoon 27450 Unlined
    $'.$amt_mc_tour_un.'
     
    TOTAL (shipping included)
    $'.$total.'
     
    TOTAL (shipping included)
    $'.$total.'
    -- 2.17.1