You cannot register while logged in"; include("footer.php"); } ?>
Email Address is already registered.
Click the back button on your browser to correct this."; include("footer.php"); } //Check to see if password and confirm password match if($xpassword != $xcpassword){ define("TITLE", "Password Mismatch"); include("header.php"); $message = "

Password and Confirm Password do not match!
Click the back button on your browser to correct this."; echo $message; include("footer.php"); } $startdate = date("F j, Y"); $startdate = $startdate." - ".date("g:i a")." EST"; $confirmationnumber = rand(1000, 1000000); $confirmationnumber = $confirmationnumber."-".rand(1000, 1000000); $confirmationnumber = $confirmationnumber."-".rand(1000, 1000000); // Make a MySQL Connection mysql_connect("localhost", "marinetw", "usmarines7") or die(mysql_error()); mysql_select_db("marinetw_memberdatabase") or die(mysql_error()); // Insert a row of information into the table "members" mysql_query("INSERT INTO members (Blocked, email, password, firstname, lastname, displayname, startdate, age, gender, ethnic, maritalstatus, location, state, country, education, occupation, income, children, smoker, drinker, herefor, herefor1, herefor2, herefor3, aboutme, whyimhere, willingto, willingto1, willingto2, includeministers, personals, emailme, newsletter, confirmationnumber, active) VALUES('Yes', '$xemail', '$xpassword', '$xfirstname', '$xlastname', '$xdisplayname', '$startdate', '$xage', '$xgender', '$xethnic', '$xmaritalstatus', '$xlocation', '$xstate', '$xcountry', '$xeducation', '$xoccupation', '$xincome', '$xchildren', '$xsmoker', '$xdrinker', '$xherefor', '$xherefor1', '$xherefor2', '$xherefor3', '$xaboutme', '$xwhyimhere', '$xwillingto', '$xwillingto1', '$xwillingto2', '$xincludeministers', '$xpersonals', '$xemailme', '$xnewsletter', '$confirmationnumber', 'No') "); mysql_query("INSERT INTO cosmetic (email, startdate) VALUES('$xemail', '$startdate') "); // Sends an email to the new member about their registration global $HTTP_POST_VARS; $to = $xemail; $subject = "Thank you for your registration!"; // message $message = ' Thank you for your registration!

'.$xfirstname.' '.$xlastname.',

I would like to take this opportunity to extend my thanks to you for registering as a member of Christian Polygyny. Here at Christian Polygyny we are committed to spreading the truth of Biblical Patriarchy/Polygyny and educating others as to the truth. We hope that you will also join us in this quest to spread the truth. By signing up as a member of Christian Polygyny you are able to enjoy all the free benefits such as posting a profile and contacting other members through the site. Make sure to check out the other great features of the site as well. There is a large discussion forum, a free computer wallpaper section, links to other great sites and much more. Again, I thank you for signing up as a member of Christian Polygyny. Thank you for your time. Take care and God bless.

In order to activate your account you must click on the link below or copy and paste it into your web browser.
http://polygyny.dukeofmarshall.com/activate.php?con='.$confirmationnumber.'&user='.$xemail.'

Site Moderator/Administrator,
Todd D. Webb





Below is a copy of your registration information for your records.
Email Address: '.$xemail.'
Password: '.$xpassword.'

First Name: '.$xfirstname.'
Last Name: '.$xlastname.'
Display Name: '.$xdisplayname.'
Age: '.$xage.'
Gender: '.$xgender.'
Ethnicity: '.$xethnic.'
Marital Status: '.$xmaritalstatus.'
Location: '.$xlocation.'
State: '.$xstate.'
Country: '.$xcountry.'
Education: '.$xeducation.'
Occupation: '.$xoccupation.'
Income: '.$xincome.'
Children: '.$xchildren.'
Smoker: '.$xsmoker.'
Drinker: '.$xdrinker.'
Here For: '.$xherefor.' '.$xherefor1.' '.$xherefor2.' '.$xherefor3.'
About Me: '.$xaboutme.'
Why I\'m Here: '.$xwhyimhere.'
Willing To: '.$xwillingto.' '.$xwillingto1.' '.$xwillingto2.'
Include Ministers: '.$xincludeministers.'
Include In Personals: '.$xpersonals.'
Emails From Members: '.$xemailme.'
Newsletter: '.$xnewsletter.'


Please do not respond or reply to this email as your email will not be received. This newsletter was sent out automatically by our servers. To contact the administrator please do so through the contact section at http://polygyny.dukeofmarshall.com/ '; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'To: '. $to . "\r\n"; $headers .= 'From: Christian Polygyny Registration ' . "\r\n"; //$headers .= 'Cc: DukeOfMarshall@gmail.com' . "\r\n"; //$headers .= 'Bcc: DukeOfMarshall@gmail.com' . "\r\n"; // Mail it mail($to, $subject, $message, $headers); // Mail sent to the moderator announcing a new member has sigend up $to = "DukeOfMarshall@gmail.com"; $subject = "You have a new member to Christian Polygyny"; // message $message = ' You have a new member to Christian Polygyny

'.$xfirstname.' '.$xlastname.',

Below is their contact information that they registered with.

Below is a copy of '.$xfirstname.' '.$xlastname.'\'s information for your records.
Email Address: '.$xemail.'
First Name: '.$xfirstname.'
Last Name: '.$xlastname.'
Display Name: '.$xdisplayname.'
Age: '.$xage.'
Gender: '.$xgender.'
Ethnicity: '.$xethnic.'
Marital Status: '.$xmaritalstatus.'
Location: '.$xlocation.'
State: '.$xstate.'
Country: '.$xcountry.'
Education: '.$xeducation.'
Occupation: '.$xoccupation.'
Income: '.$xincome.'
Children: '.$xchildren.'
Smoker: '.$xsmoker.'
Drinker: '.$xdrinker.'
Here For: '.$xherefor.' '.$xherefor1.' '.$xherefor2.' '.$xherefor3.'
About Me: '.$xaboutme.'
Why I\'m Here: '.$xwhyimhere.'
Willing To: '.$xwillingto.' '.$xwillingto1.' '.$xwillingto2.'
Include Ministers: '.$xincludeministers.'
Include In Personals: '.$xpersonals.'
Emails From Members: '.$xemailme.'
Newsletter: '.$xnewsletter.'


Please do not respond or reply to this email as your email will not be received. This newsletter was sent out automatically by our servers. To contact the administrator please do so through the contact section at http://polygyny.dukeofmarshall.com/ '; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'To: '. $to . "\r\n"; $headers .= 'From: Christian Polygyny Registration ' . "\r\n"; //$headers .= 'Cc: DukeOfMarshall@gmail.com' . "\r\n"; //$headers .= 'Bcc: DukeOfMarshall@gmail.com' . "\r\n"; mail($to, $subject, $message, $headers); define("TITLE", "New Registration Complete"); include("header.php"); echo "

"; echo "Thank you for your registration! An email will be sent to you shortly with a link to activate your account.

Click here to return to the home page. "; mysql_close(); include("footer.php"); } function signupform() { define("TITLE", "Registration Form"); include("header.php"); ?>

* Required
Email:*">
Password:*
Confirm Password:*
First Name:">
Last Name:">
Display Name:*">
Age:">
Gender:
Ethnicity:
Marital Status:
Location:">
State:
Country:
Education:
Occupation:">
Income:
Children:
Smoker:
Drinker:
I Am Here For:Friends
Networking
Marriage/Relationship
Sister Wife
About Me:
Why I'm Here:
I Am Willing To:
(Ministers Only)
Preach The Truth About Polygyny
Conduct Polygynous Weddings
Conduct Fellowship Meetings
Include Contact Information In "Ministers" Section:
(Ministers Only)
Yes
No
Include In Personals Section? Yes No
Receive Emails From
Other Members?**
Yes No
Receive Site Newsletter? Yes No
By filling information into the form above and clicking the submit button I attest that I have read the terms and conditions and agree to them.


**You're email address will not be revealed to other members.