// ====================================\
@include_once('_dir.php');
// ====================================/
call('trim',array(&$name,&$email,&$subject,&$question));
if ($action==1)
if ($question=='') $Message='
Error: enter message
';
elseif (@mail($Config['contact_email'],header_encode("Contact from $Config[site_name]",$SITE_CHARSET),
"Name: $name\nE-mail: $email\nSubject: $subject\nMessage: $question",
"From: $SERVER_MAIL_FROM\nContent-type: text/plain; charset=$SITE_CHARSET")) {
redirect('contact_us.html?action=2');
exit;
}
else $Message='Internal Error
';
elseif ($action==2) $Message='Your message has been sent to administration
';
include_once("$ROOT_PATH/common/all_head.php");
?>
= $Message ?>
include_once("$ROOT_PATH/common/all_tail.php");
?>