<del datetime="2012-01-23T10:44:11+00:00"><?php
/* Set e-mail re</del>cipient */
$myemail  = "info@carlylecleaners.com";
$yourname = $_POST['yourname'];
$email    = $_POST['email'];

$ip= $_SERVER["REMOTE_ADDR"];
$date=date("d m Y ");
$time= date("H:i");
 $subject = "Customer ordered a door-to-door service ";

$neighborhood= $_POST['neighborhood'];
$address=$_POST['address'];
$city= $_POST['city'];
$zip= $_POST['zip'];
$phone= $_POST['phone'];
$pickups=$_POST['pickups'];
$deliveries= $_POST['deliveries'];
$deliveryinstructions= $_POST['deliveryinstructions'];
$starch= $_POST['starch'];

if(empty($yourname)){?>
<script type="text/javascript">
alert('Please fill in your name');
history.go(-1);
</script>
<?php exit();
}


if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
{
?>
<script type="text/javascript">
alert('Please enter a valid email address ');
history.go(-1);
</script>
<?php exit();
}



$message = "Hello!

Your customer ordered a door-to-door service. 

Name: $yourname
E-mail: $email
Subject: $subject
date:$date
time:$time
ip address:$ip

neighborhood : $neighborhood  
City : $city 
Zip : $zip 

Phone: $phone 

Pick ups : $pickups 
 
Deliveries : $deliveries
Delivery Instructions : $deliveryinstructions
Starch Preference : $starch

End of message
";

/* Send the message using mail() function */
mail($myemail, $subject, $message );


?>




<div id="f1">
<div id="f3">
<div class="columncontainer">
<div class="fcolumn">
<div class="fcolumnpage">

<img src="../wp-content/uploads/2011/10/doortodoorservice/carlylecleaners_bestdrycleanig_sanmateo_ca_doortodoorservice_minivan.jpg" alt="" /> 

 <div class="fpagetext"><span class="callout">Door-To-Door-Service</span>
Now you can enjoy the top quality services of Carlyle Cleaners at our convenient new location - your front door. You can rest assured that your cleaning and laundry are being done by a company that insists on quality results.

</div>
 

<img class="lines" src="../wp-content/uploads/2011/10/carlylecleaners_bestdrycleanig_sanmateo_ca_shorterlinebkg.png" alt="" /> 

<img src="../wp-content/uploads/2011/10/doortodoorservice/carlylecleaners_bestdrycleanig_sanmateo_ca_doortodoorservice_delivery.png" alt="" />
<div class="fpagetext">Carlyle  Cleaners has provided meticulous garment care since 1995, and uses a gentle and environmentally friendly cleaning process.</div>
</div>
</div>
<div class="tcolumn">
<div class="section">

<div class="maintitle">
<div class="maintitletext">Order Request</div>
</div>


<div class="tcolumntext">


<div class="deliverform"><div class="align-left">
<span class="bold">Thank you for your order.</span>
Our staff will check our availability and get back to you shortly with a confirmation email. Please take in mind that this page will be an order request but not confirm any order. Following is your order request. 

Name: <?php echo $yourname ?><br>
E-mail: <?php echo $email ?><br>
 
Neighborhood: <?php echo $neighborhood ?><br>
Address : <?php echo $address?><br>
City : <?php echo $city?><br>
Zip : <?php echo $zip ?><br>
Phone : <?php echo $phone ?><br>

Pickups : <?php echo $pickups ?><br>
Deliveries : <?php echo $deliveries ?><br>
Delivery instructions : <?php echo $deliveryinstructions ?><br>
Starch preference: <?php echo $starch ?><br>


</div>
  </div>

</div>
</div>
</div>
<div class="fcolumn">
<div class="fcolumnpage"><a href="#">
<div class="fpagetext">

<img src="../wp-content/uploads/2011/10/doortodoorservice/carlylecleaners_bestdrycleanig_sanmateo_ca_doortodoorservice_specialoffer.png" alt="" style="width:197px; height:100px;" />

<span class="callout">Sign up now, and receive $10 off your first order! </span>

</div>
</a> <img class="lines" src="../wp-content/uploads/2011/10/shorterlinebkg.png" alt="" />
<br><br>
<a href="http://www.carlylecleaners.com/?page_id=30">
<img src="../wp-content/uploads/2011/10/doortodoorservice/carlylecleaners_bestdrycleanig_sanmateo_ca_doortodoorservice_phone.png" alt="" style="width:197px; height:93px;" /> 
 </a>
<div class="fpagetext">

<span class="callout">Questions? Call 650 685-6370. </span>
Upon receipt of your sign-up form, you will be contacted to get your credit card number for billing purposes. We accept Visa, Mastercard, American Express and Discover.)

</div>
</a><a href="#"></a>

</div>
</div>
</div>
</div>
</div>