WINKELWAGEN\n"; if (count($cart)) { if ($confirm) { echo "

Error: Unable to connect to Anacom Merchant Services. Try again later.

"; echo "

Bedankt voor uw bestelling!

"; echo "

U ontvangt de bestelde producten binnen enkele dagen.

"; } else { if ($checkout) { echo "

AFREKENEN

\n"; if ($creditcard) $cardtype = CCValidationSolution($creditcard); if ($voornaam && $achternaam && $adres && $postcode && $woonplaats && $email && $cardtype) { $total = total(); echo "

Klik op "ok" om € " .sprintf("%01.2f",$total["price"]) . " af te schrijven van $cardtype nummer $creditcard

"; echo "
"; echo "

\n"; } else { echo "\n"; echo "\n"; echo "\n"; reset($cart); while (list ($id, $count) = each ($cart)){ echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } $total = total(); echo "\n"; echo "\n"; echo "
productprijsaantalsubtotaal
" . $products[$id]["name"] . "€ " . $products[$id]["price"] . "$count€ " . sprintf("%01.2f",$products[$id]["price"] * $count ) . "

" . $total["count"] . " items  € " . sprintf("%01.2f",$total["price"]) . "
"; echo "

Vul onderstaand formulier volledig in en klik op "ok" om bovenstaande producten te bestellen.

"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
voornaam:
achternaam:
adres:
postcode:
woonplaats:
e-mail:
creditcard nummer:
"; echo "
"; echo "

\n"; echo "
\n"; } } else { echo "
\n"; echo "\n"; echo "\n"; echo "\n"; reset($cart); while (list ($id, $count) = each ($cart)){ echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } $total = total(); echo "\n"; echo "\n"; echo "
productprijsaantalsubtotaal
" . $products[$id]["name"] . "€ " . $products[$id]["price"] . "€ " . sprintf("%01.2f",$products[$id]["price"] * $count ) . "

" . $total["count"] . " items  € " . sprintf("%01.2f",$total["price"]) . "
"; echo "

\n"; echo "
\n"; } } } else { echo "
Uw winkelwagen is leeg

\n"; } ?>