form action="<?php echo $_SERVER['file://///Frank/serveur/HTTP/Teampneumatik/canada-fr/compresseurs/PHP_SELF']?>" method="post">
<?php
extract($_GET);
extract($_POST);
// CHANGE! your email address signed up with PayPal
$paypalemail = "sale@teampneumatik.com";
$currencycode = "CAD"; // Canadian dollars, US -> "USD"
$article = "169.00";
$name="S-10 Airlift Gen II (brackets only)";
$itemnumber="TP14201";
$shipping="19.99";
$shippingadd="9.99";
$taxesprovincerate="0.075";
$taxesfederalrate="0.07";
$taxesprovincedesc="Quebec Resident (TVQ)";
$taxesfederaldesc="Canada (TPS)";
$pourcent="%01.2f";
// LOGIC CHECK
if ($taxesprovince==="on") $taxesfederal="on";
// CALCULATE AMOUNTS
$subtotal = 0;
$subtotaltemp = 0;
$subtotal = $article*$quantity;
$quantityadd = $quantity - 1;
$subshipping = $shippingadd*$quantityadd;
$subtotaltax1 = 0;
$subtotaltax2 = 0;
$subtotaltax3 = 0;
$subtotaltax4 = 0;
$subtotaltax1 = $subtotal*$taxesfederalrate;
if ($taxesprovince==="on") $subtotaltax2 = ($subtotaltax1+$subtotal)*$taxesprovincerate;
$subtotaltax3 = $article*$taxesfederalrate;
if ($taxesprovince==="on") $subtotaltax4 = ($subtotaltax3+$article)*$taxesprovincerate;
$total = ($subtotal + $subtotaltax1 + $subtotaltax2 + $shipping + $subshipping);
$totalpay = ($article + $subtotaltax3 + $subtotaltax4);
$subtotaltemp = $article*$quantity;
?>
<select name="quantity" size="1">
<option selected>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>