\n"; echo "$text"; if (!$brief) echo "\n"; echo "\n"; if (!empty($comment)) echo $comment; if (!$brief) echo "\n"; } function in_password($text,$name,$value,$size=32,$maxlength=255,$brief=false,$comment="",$ro=0) { if (!$brief) echo "\n"; echo "$text"; if (!$brief) echo "\n"; echo "\n"; if (!empty($comment)) echo $comment; if (!$brief) echo "\n"; } function in_textarea($text,$name,$value="",$rows=5,$cols=32,$brief=false,$comment="") { if (!$brief) echo "\n"; echo "$text"; if (!$brief) echo "\n"; echo "\n"; if (!empty($comment)) echo $comment; if (!$brief) echo "\n"; } function in_select($text,$name,$values,$value="",$brief=false,$comment="") { if (!$brief) echo "\n"; echo "$text"; if (!$brief) echo "\n"; echo "\n"; if (!empty($comment)) echo $comment; if (!$brief) echo "\n"; } function in_mselect($text,$name,$values,$value="",$brief=false,$comment="",$msize="4") { if (!$brief) echo "\n"; echo "$text"; if (!$brief) echo "\n"; echo "\n"; if (!empty($comment)) echo $comment; if (!$brief) echo "\n"; } function in_checkbox($text,$name,$value="",$brief=false) { $checked=($value=="on" ? "checked" : ""); if (!$brief) echo "\n"; echo "$text"; if (!$brief) echo "\n"; echo "\n"; if (!$brief) echo "\n"; } ?>

If you really want to know.

If you have a problem with this function, please send us an email at or call
us at . If you do not reach someone, please leave a message. We will get back to you.

$message\n"; } function resource_head() { ?> border=1 cellspacing=1 cellpadding=5 bgcolor=#FFFFFF> The Spirit of Ma'at - Notify Form
\n\n\n\n"; in_textarea("Comments or
Questions","comments",$comments,6,51); winfooter(); ?>
Ma'at Magazines Ma'at Shop Letters
from Drunvalo
News Archives
",$user_notification_subj,$user_notification_text,"From: $webmaster_email\nReply-To: $webmaster_email\nX-Mailer: PHP/".phpversion()); } list($u_id,$firstname_,$lastname_,$address1_,$address2_,$city_,$state_,$zipcode_,$country_,$phone_,$code)=@mysql_fetch_row($result); if ($instruction==1) { if (!empty($newemail)) { if ($code=="A" || $code=="T" || $code=="C") security_notify_user(); else { mysql_query("update users set email='".addslashes($newemail)."' where u_id='".addslashes($u_id)."'") or die($mysql_error_msg); } } if ($firstname!=$firstname_ || $lastname!=$lastname_ || $address1!=$address1_ || $address2!=$address2_ || $city!=$city_ || $state!=$state_ || $zipcode!=$zipcode_ || $country!=$country_ || $phone!=$phone_) { $user_notification_subj="Subscription update information"; $user_notification_text= "Hi $firstname!\n\n". "If you want to change your account information, please use the instruction\n". "\"2 Please update my mailing list information.\". Using the instruction 1\n". "will not change other fields except for e-mail.\n". "The form URL is http://www.spiritofmaat.com/notifyform.php\n". "You can go there and fill in only those fields which are to be changed.\n\n". $mail_signature; mail("$firstname $lastname <".(empty($newemail) ? $email : $newemail).">",$user_notification_subj,$user_notification_text,"From: $webmaster_email\nReply-To: $webmaster_email\nX-Mailer: PHP/".phpversion()); } } else { if ($code=="A" || $code=="T" || $code=="C") security_notify_user(); else { mysql_query("update users set email='".addslashes(empty($newemail) ? $email : $newemail)."',firstname='".addslashes($firstname)."',lastname='".addslashes($lastname)."',".(empty($address1) ? "" : "address1='".addslashes($address1)."',").(empty($address2) ? "" : "address2='".addslashes($address2)."',").(empty($city) ? "" : "city='".addslashes($city)."',").(empty($state) ? "" : "state='".addslashes($state)."',").(empty($country) ? "" : "country='".addslashes($country)."',").(empty($zipcode) ? "" : "zipcode='".addslashes($zipcode)."',").(empty($phone) ? "" : "phone_home='".addslashes($phone)."',")."date_modified=now(),archive='ON' where u_id='".addslashes($u_id)."'") or die($mysql_error_msg); } } } mysql_free_result($result);*/ break; case 3: case 4: break; case 5: $result=mysql_query("select u_id,username,email,code from users where email='".addslashes($email)."'"); if (mysql_num_rows($result)==0) { mysql_free_result($result); $result=mysql_query("select u_id,username,email,code from users where email='".addslashes($newemail)."'"); } if (mysql_num_rows($result)==0) { $user_notification_subj="Removal request failure"; $user_notification_text= "Hi $firstname!\n\n". "You have requested to remove your email address from mailing list at\n". "Spirit of Ma'at. Removal failed because the email address you have\n". "supplied is not in our database.\n\n". $mail_signature; mail("$firstname $lastname <$email>",$user_notification_subj,$user_notification_text,"From: $webmaster_email\nReply-To: $webmaster_email\nX-Mailer: PHP/".phpversion()); } else { list($u_id,$username,$u_email,$code)=@mysql_fetch_row($result); if ($code=="A" || $code=="T") { $webmaster_notification_subj="Mail list removal failure"; $webmaster_notification_text= "This is notification that user whose username is \"$username\",\n". "e-mail is \"$u_email\", has requested to remove him(her)\n". "from mailing list. Though, his code is \"$code\".\n\n"; mail($webmaster_email,$webmaster_notification_subj,$webmaster_notification_text,"From: $service_email\nX-Mailer: PHP/".phpversion()); } else { mysql_query("delete from users where u_id='".addslashes($u_id)."'"); } } mysql_free_result($result); break; /*madm default: die("Invalid instruction code. Please contact webmaster.");*/ } $webmaster_confirmation_subj="Notify Form"; $webmaster_confirmation_text= "First name: $firstname\n". "Last name: $lastname\n". "E-Mail: $email\n". "Country: $country\n". "Phone: $phone\n". //madm "Instructions: $instructions[$instruction]\n". "Comments: $comments\n\n--\n"; $user_confirmation_subj="Notify Form Verification"; $user_confirmation_text= "This is your notification requestion confirmation from\n". "The Spirit of Ma'at.\n\n". "We have received the following information:\n"; $user_confirmation_text.="Name: $firstname $lastname\n"; if (!empty($newemail)) $user_confirmation_text.="New E-Mail: $newemail\n"; if (!empty($address1)) $user_confirmation_text.="Street (1): $address1\n"; if (!empty($address2)) $user_confirmation_text.="Street (2): $address2\n"; if (!empty($city)) $user_confirmation_text.="City: $city\n"; if (!empty($state)) $user_confirmation_text.="State: $states[$state]\n"; if (!empty($zipcode)) $user_confirmation_text.="Zipcode: $zipcode\n"; if (!empty($country)) $user_confirmation_text.="Country: $country\n"; if (!empty($phone)) $user_confirmation_text.="Phone: $phone\n"; $user_confirmation_text.= "Your message has been sent to Spirit of Ma'at.\n". "We will reply to your request as soon as we have the opportunity.\n". "Thank you for your support!\n"; //madm "Instructions: $instructions[$instruction]\n\n". /* madm "If any of the above information is incorrect, you may correct it by ". "replying to this email with the word \"correction\" in the subject line ". "and then explaining your correction(s).\n\n". "IF YOU FEEL YOU HAVE RECEIVED THIS EMAIL IN ERROR, YOU MAY REMOVE YOUR ". "EMAIL ADDRESS FROM OUR LIST BY REPLYING WITH THE WORD \"remove\" IN THE ". "SUBJECT LINE.\n";*/ mail($notify_email,$webmaster_confirmation_subj,$webmaster_confirmation_text,"From: $email\nReply-To: $email\nX-Mailer: PHP/".phpversion()); mail("$firstname $lastname <$email>",$user_confirmation_subj,$user_confirmation_text,"From: $webmaster_email\nReply-To: $webmaster_email\nX-Mailer: PHP/".phpversion()); ?>

Welcome to The Spirit of Ma'at.

Within the next few minutes, you should receive a message confirming your notification request. If you receive this, it is because your email address was valid, and your notification request has been duly processed. If not, please try again.

Return to     Contact Page     Home Page

The following errors were detected:
\n"; ?>

Contact Form

First Name:","firstname",$firstname,30,40/*,false,"Note: bold items are required."*/); in_text("Last Name:","lastname",$lastname,30,40); in_text("EMail Addr:","email",$email,40,60); in_select("Country:","country",$countries,$country); in_text("Phone (optional):","phone",$phone,16,20); //madm in_select("Instructions:","instruction",$instructions,$instruction); //madm echo "
 Note: Your information will not be sold or used in any other
manner than to alert you of Ma'at products, announcements, and events.

Note: bold items are required.

To add your name to the Spirit of Ma'at email list please click here.