\n"; echo "\n"; } else { echo "\n"; } ?> "; } if ($email_err == 1) { echo ""; } // ------------------------------------------------------------------------------- // Only show remember me feature to "New Customers" // ------------------------------------------------------------------------------- if (eregi("Y", $OPTIONS['DISPLAY_REMEMBERME']) && !session_is_registered("REPEATCUSTOMER")) { echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo ""; } // End Remember Me Row // ------------------------------------------------------------------------------- // Build dynamic display options, like 'local country' and such // ------------------------------------------------------------------------------- $result = mysql_query("SELECT * FROM cart_options"); $OPTIONS = mysql_fetch_array($result); //040406 - Pull Currency Info $localNat = $OPTIONS[LOCAL_COUNTRY]; $dispState = $OPTIONS[DISPLAY_STATE]; $dispZip = $OPTIONS[DISPLAY_ZIP]; $noShow = ""; if ( $dispState == "noshow" ) { $noShow = " colspan=\"2\""; } if ( eregi("STATE~", $OPTIONS['DISPLAY_REQUIRED']) ) { $reqSate = "*"; } $noZip = ""; if ( $OPTIONS['DISPLAY_ZIP'] == "noshow" ) { $noZip = " colspan=\"2\""; } if ( eregi("ZIPCODE~", $OPTIONS['DISPLAY_REQUIRED']) ) { $reqZip = "*"; } function getErr( $txt, $err, $return = "echo" ) { global $err_read; $chkThis = $err_read; if ( eregi($err,$chkThis) ) { $rez = "$txt"; } else { $rez = "$txt"; } if ( $return == "echo" ) { echo $rez; } else { return $rez; } } function getStates( $field ) { $stateOpts = ""; global $dispState; global ${$field}; if ($dispState != "tfield" && $dispState != "noshow") { $stateOpts .= " \n"; } elseif ($dispState == "tfield") { $stateOpts .= "\n"; } elseif ($dispState == "noshow") { $stateOpts .= "\n"; } echo $stateOpts; } function getNats( $field ) { $natOpts = " \n"; echo $natOpts; } ?> \n"; } */ ?> ".$reqZip."".getErr($showZip.":","F", "return")."
\n"; echo " \n"; echo "\n"; } ?> \n"; echo "

".$reqSate.lang("State/Province").":
\n"; getStates("BSTATE"); echo "

\n"; echo "\n"; } ?> \n"; if ($shippingsame == "1") { $CHECKED = "CHECKED"; } else { $CHECKED = ""; } ?> ".$reqZip."".getErr($showZip.":","N", "return")."
\n"; echo " \n"; echo "\n"; } ?> \n"; echo "

".$reqSate.lang("State/Province").":
\n"; getStates("SSTATE"); echo "

\n"; echo "\n"; } ?>
".lang("The state you selected to ship your order to does not appear to be valid.")." ".lang("Please correct and re-submit your information.")."
".lang("The email address you provided is not a valid email address.")." ".lang("Please correct and re-submit your information.")."
".lang("Customer Registration")."
\n"; if ( strtoupper($REMEMBERME) == "ON" || strtoupper($_SESSION['REMEMBERME']) == "ON" ) { $chk_rememberme = " checked"; } else { $chk_rememberme = ""; } echo " \n"; echo " ".lang("Yes, I want you to remember my Billing & Shipping Information the next time I purchase something.")."\n"; echo "
\n"; echo " ".lang("Choose a password").":
\n"; echo " \n"; echo "
".lang("Verify your password").":
\n"; echo '
'; if ($pwerror == 1) { echo "".lang("The passwords that you entered do not match each other. Please check the spelling and re-submit.")."

"; } if ($rm_err == 1) { echo "".lang("You have elected to register as a customer but did not choose a password for your account. Please do so now.")."

"; } echo "(".lang("If you are not using the customer registration feature, you may leave the password fields blank").")
*Please complete all required fields and re-submit.
*
*
():
* get("nopobox_msg") != "no" ) { echo "(".lang("No PO Boxes").")\n"; } ?>

>*
>*:
*
*:

*".lang("INVALID EMAIL ADDRESS")."
"; } ?> ()
   
> get("nopobox_msg") != "no" ) { echo lang("Note: we do not ship to P.O. Boxes.")."\n"; } ?>
   
*
*
():
* get("nopobox_msg") != "no" ) { echo "(".lang("No PO Boxes").")\n"; } ?>

>*
>*:
*
 
   
   
\n\n"; if ( $localNat == "" || $localNat == "No Default Country" ) { if ($BCOUNTRY != "") { echo " document.CHECKOUT1.BCOUNTRY.options.value = \"$BCOUNTRY\";\n"; } if ($SCOUNTRY != "") { echo " document.CHECKOUT1.SCOUNTRY.options.value = \"$SCOUNTRY\";\n"; } } if ( $bphone_display != "" ) { echo " document.CHECKOUT1.BPHONE.value = '".$bphone_display."';\n"; } if ( $sphone_display != "" ) { echo " document.CHECKOUT1.SPHONE.value = '".$sphone_display."';\n"; } # State/Province if ( $BSTATE != "" ) { echo "document.CHECKOUT1.BSTATE.value = \"".$BSTATE."\";\n"; } else { echo "document.CHECKOUT1.BSTATE.value = \"\";\n"; } if ( $SSTATE != "" ) { echo "document.CHECKOUT1.SSTATE.value = \"".$SSTATE."\";\n"; } else { echo "document.CHECKOUT1.SSTATE.value = \"\";\n"; } echo "\n\n\n"; ?>