Prisräknare
Antal anställda :
$message .= $_POST[‘vardas’] . “
“;
$message .= “Företag: “;
$message .= $_POST[‘imone’] . “
“;
$message .= “E-post: ” . $_POST[‘elpastas’] . “
“;
$message .= “Tel: “;
$message .= $_POST[‘telefonas’] . “
“;
$message .= “Antal anställda: “;
$message .= $_POST[‘darbuotojai’] . “
“;
$message .= “Antal underlag (verifikation) per månad: “;
$message .= $_POST[‘saskaitos’] . “
“;
$message .= “Kaina: “;
$message .= $_POST[‘prel_suma’] . “
“;
$message .= “Date: “;
$message .= $data . ”
“;
$message = wordwrap($message, 70);
// To send HTML mail, the Content-type header must be set
$headers = ‘MIME-Version: 1.0’ . “\r\n”;
$headers .= ‘Content-type: text/html; charset=utf-8’ . “\r\n”;
$headers .= ‘From: www.contus-accounting.se’ . “\r\n”;
$headers .= ‘Reply-To: contus@contus-accounting.se. “\r\n”;
$subject = From www.contus-accounting.se price calculator’;
if (isset($_POST[‘send’]) && $_POST[‘send’] == TRUE) {
//mail(‘andrius@restart.lt’, $subject, $message, $headers);
mail(‘contus-se@restart.lt’, $subject, $message, $headers);
echo ”
Tack, vi tar kontakt med dig så snart v i kan.
“;
}
?>