Mail Error - Contact Webmaster");
mysql_select_db ($dbname) or die ("Mail Error - Contact Webmaster");
$girlinfo = mysql_query($gets_query,$link) or die(mysql_error());
$wtfman = mysql_fetch_object($girlinfo);
$status = $wtfman->status;
$girlname = $wtfman->name;
$alt_email1 = $wtfman->alt_email1;
$alt_email2 = $wtfman->alt_email2;
$alt_email3 = $wtfman->alt_email3;
$girlemail = $wtfman->email;
$add = "INSERT INTO BR_contact SET type = '$type', datetime = NOW(), name = '$name', email = '$email', phone = '$phone', address = '$address', city = '$city', state = '$state', zip = '$zip', contact = '$contact', girl = '$girl', message = '$message', ip = '$ip'";
mysql_query($add,$link) or die("Mail Error - Contact Webmaster");
$dennis = "Dennis Hof ";
$webmaster = "KimZ ";
$to = "$girlemail";
$subject = "Contact - $girlname - BunnyRanch.com";
$message = "You have a message from $name please contact him by $contact.\n
name = $name
email = $email
phone = $phone
address = $address
city = $city
state = $state
zip = $zip\n
contact = $contact\n
message = $message\n";
$headers .= "From: $name <$email>\r\n";
$response = "Thank You For Contacting $girlname @ The BunnyRanch";
$responsemessage = "
You've reached the World Famous BunnyRanch home of the HBO's smash hit CATHOUSE. The BunnyRanch has been providing legal and safe sexual services since 1955. We pride ourselves in bringing you the finest ladies from around the world including Playboy Playmates, Penthouse Pets, Hustler Honeys and over 300 XXX Stars.
Hello, I'm Dennis Hof the Owner of the Moonlite BunnyRanch. I would like to thank you for your interest in $girlname. Your message is sent directly to her. Please let me know if she does not contact you within an appropriate time frame. Please don't hesitate to contact us with any questions or concerns at the address below.
Dennis Hof
Contact@bunnyranch.com
";
$responseheader = "From: ContactBunnyRanch ";
if ($status == 'available'){
mail($girlemail, $subject, $message, $headers) or die("error no send");
mail($dennis, $subject, $message, $headers) or die("error no send");
mail($email, $response, $responsemessage, $responseheader);
header ("location: http://www.bunnyranch.com/thankyou-$type.html");
}else{
if (!$alt_email1){
}
else{
mail($alt_email1, $subject, $message, $headers) or die("error no send");
mail($dennis, $subject, $message, $headers) or die("error no send");
}
if (!$alt_email2){
}
else{
mail($alt_email2, $subject, $message, $headers) or die("error no send");
mail($dennis, $subject, $message, $headers) or die("error no send");
}
if (!$alt_email3){
}
else{
mail($alt_email3, $subject, $message, $headers) or die("error no send");
mail($dennis, $subject, $message, $headers) or die("error no send");
}
if (!$alt_email4){
}
else{
mail($alt_email4, $subject, $message, $headers) or die("error no send");
mail($dennis, $subject, $message, $headers) or die("error no send");
}
if ($contact == 'email'){
mail($email, $response, $responsemessage, $responseheader);
}
header ("location: http://www.bunnyranch.com/thankyou-$type.html");
exit;
}
?>