"; $allOK = 0; } if(!$inJmeno){ $err .= "You did not enter the name
"; $allOK = 0; } if(!$inUlice){ $err .= "You did not enter the street address
"; $allOK = 0; } if(!$inMesto){ $err .= "You did not enter the city address
"; $allOK = 0; } if(!$inPsc){ $err .= "You did not enter the ZIP code
"; $allOK = 0; } if($allOK){ $mailRCPT = "chodskavlna@centrum.cz"; $mailSBJCT = "Objednávka cd"; $tmpDate = date("d.m.Y"); $mailMSG = "Objednávka cd:\n----------------------------------------\nPočet: ".$inPocet."\nJméno: ".$inJmeno."\nUlice: ".$inUlice."\nMěsto: ".$inMesto."\nPSČ: ".$inPsc."\n\n\nDatum objednávky: ".$tmpDate."\n"; $mailINFO = "From: webmaster@{$_SERVER['SERVER_NAME']}\r\n"."Reply-To: webmaster@{$_SERVER['SERVER_NAME']}\r\n"."X-Mailer: PHP/" . phpversion(); mail($mailRCPT, $mailSBJCT, $mailMSG, $mailINFO); } } ?>

Please, enter below your mailing address and we will send you the `Vobrázky' CD through the mail.

cd cover

the price is 300 kč (12 €), including post costs Your order was submitted. Close this window here."; } else{ echo "

The following errors appeared:
$err\n"; echo "

\n"; echo "

required number of CDs: \n"; echo "


\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
address
name:
street:
city:
ZIP code:


\n"; echo "
\n"; } } else{ echo "
\n"; echo "

required number of CDs: \n"; echo "


\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
address
name:
street:
city:
ZIP code:


\n"; echo "
\n"; } ?>