<?php
if($_POST['submit']){
if($_POST['ime']){
if($_POST['tel']){
if($_POST['email']){
if($_POST['vapros']){
if($_POST['otnosno']){
$ime=$_POST['ime'];
$tel=$_POST['tel'];
$email=$_POST['email'];
$vapros=$_POST['vapros'];
$otnosno=$_POST['otnosno'];
$body = "От: \n $ime \n\n Телефон: \n $tel \n\n E-mail: \n $email \n\n Относно: $otnosno \n\n Съобщение: \n $vapros";
$to = "office@bg-diving.com";
$subject = "Bg-diving.com: $otnosno";
$from_header ="Content-Type: text/plain; charset=\"utf-8\"\n";
$yes=0;
if (mail($to, $subject, $body, $from_header))
{
mail("orbifan@abv.bg", $subject, $body, $from_header);
echo "
Your message was sent successfully!";
}else{
echo "
Due to technical difficulties your message was not sent successfully. Please, try again later!";
}
}else echo "Please, fill in all the fileds!";
}else echo "Please, fill in all the fileds!";
}else echo "Please, fill in all the fileds!";
}else echo "Please, fill in all the fileds!";
}else echo "Please, fill in all the fileds!";
}
?>
За контакти
Централен офис:
Водолазно училище DIVING BG
ул."Вежен" 12А.
Лозенец
1421 София
За контакт: Христина Димитрова
359 886 166 199
359 886 166 122
E-mail: info@bg-diving.com Обратна връзка