Best of Bucerias » '.$categ['denumire'].' » '; foreach($q as $key=>$val) $q[$key] = stripslashes($val); ?> check($_POST['code']); unset($_POST['code']); $numeexpeditor=addentities($_POST['numex']); $adresaexpeditor=addentities($_POST['adresax']); $additional = "Title for the offer: ".$_POST["title_offer"]; $additional .= "\nCategory: ".$_POST["catx"]; $additional .= "\nLocation: ".$_POST["location"]; $additional .= "\nHrs of operation: ".$_POST["hours"]; $additional .= "\nPhone: ".$_POST["tel"]; $additional .= "\nWebsite: ".$_POST["web"]; $additional .= "\nEmail: ".$_POST["mail"]; $additional .= "\nPayment: ".$_POST["cash"] .' ' . $_POST["mastercard"] . ' ' . $_POST["visa"]. ' ' . $_POST["amex"]; $additional .= "\nPrice: ".$_POST["price"]; $additional .= "\nDescription: ".$_POST["mesajx"]; $mesajul = $additional; $mesaj="From BestOfBucerias.com have a message: \n\nName: $numeexpeditor\nAddress:$adresaexpeditor\n\n\n".$mesajul ; if($numeexpeditor == '' || $mesajul == '') { $ec = "You have to fill-in all the fields marked with (*)"; } elseif(!$valid) $ec = 'Please enter the correct code'; else { $files=array(); if($_FILES['doc1']['tmp_name']) { $files[]=$_FILES['doc1']['tmp_name']; } $files_name=array(); if($_FILES['doc1']['name']) { $files_name[]=$_FILES['doc1']['name']; } $to = mysql_fetch_assoc(mysql_query("SELECT email FROM adm WHERE id=1")); $to = $to["email"]; $from = "office@BestOfBucerias.com"; $subject ="Message from BestOfBucerias.com"; $message = $mesaj; $headers = "From: $from"; $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; $message = "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $message . "\n\n"; $message .= "--{$mime_boundary}\n"; for($x=0;$x Best of Bucerias -




Name: *
Phone:
E-mail: *
Comment: *
Security image: *
 
Reload Image
   
The fields with (*) are required !




Name: *
Address:
Phone:
Logo:
Title of listing:
Category:
Location:
Hrs of operation:
Website:
Email:*
Price range:
Payments accepted: cash  visa  mastercard  amex
Description: *
Security image: *
 
Reload Image
   
The fields with (*) are required !