:
email:
:
"; if ($_POST[op] != "ds") { echo "$form_block"; } else if ($_POST[op] =="ds") { if ($_POST[name] == "") { $name_err = "
"; $send="no"; } if ($_POST[email] == "") { $email_err = " email
"; $send="no"; } if ($_POST[comments] == "") { $message_err = "
"; $send="no"; } if ($send !="no") { $msg = " ZELENYI-DVOR.RU\n"; $msg .=": $_POST[name]\n"; $msg .="EMAIL: $_POST[email]\n"; $msg .="$_POST[comments]\n"; $to = "master@zelenyi-dvor.ru"; $subject = " ZELENYI-DVOR.RU"; $mailheaders = "From: \n"; $mailheaders .= "Reply-To: $_POST[email]\n"; mail ($to, $subject, $msg, $mailheaders); echo "

. .

"; } else if ($send == "no") { echo "$name_err"; echo "$email_err"; echo "$message_err"; echo "$form_block"; } } ?>