user_ip = $_SERVER['REMOTE_ADDR']; $objLog->user_id = 1;//$_SESSION['user_id']; $objLog->ddate = date("Y-m-d"); $objLog->loc_id = $_REQUEST['loc']; $aRow=$objLog->insertRec();*/ $url = "client_contact.php?loc=".$_REQUEST['loc']; $objrs = new zing_eatery_locationsclass; $objrs->Link = $link; $objrs->Reporttype="Fetch_Single_Records_By_Location_ID"; $objrs->loc_id = $_REQUEST['loc']; $result = $objrs->FetchRecords(); $res=mysqli_fetch_object($result); $admin_email = $res->loc_email; $stylesheet = $res->loc_stylesheet; } ?> <? echo stripslashes($res->loc_name);?>

Contact Us

Please Correct the following Errors:
    '; if ($_POST['Name'] == '') { $error .= '
  • Input Your Name
  • '; } if ($_POST['Em'] == '') { $error .= '
  • Input Email Address
  • '; } else { if (validEmail($_POST['Em']) == false) { $error .= '
  • Input a VALID email address
  • '; } } if ($_POST['Subj'] == '') { $error .= '
  • Please Provide a Subject Line
  • '; } if ($_POST['Cmts'] == '') { $error .= '
  • Please Send a Message
  • '; } if ($_SESSION['$count'] > '3') { $error .= '
  • Sorry, you can only send 3 messages within a 30 minute period.
  • '; } if (strlen($error) > 89) { echo '
    '.$error.'
'; // Fail on Errors // include('inc/php/form_contact_loc.php'); } else { $admin_email = trim($admin_email); //$admin_email = 'warreng@ecropolis.com'; $email = $_POST['Em']; $name = $_POST['Name']; $phone = $_POST['Ph']; $subject = $_POST['Subj']; $comments = htmlentities(trim($_POST['Cmts'])); $template = 'inc/php/tpl_emailcontact.php'; if ( file_exists($template) ) { ob_start(); require($template); $send_message = ob_get_contents(); ob_end_clean(); } /////////////////////////////////////// SEND MAIL require_once("admin/inc/classes/mailer/Rmail.php"); $mail = new Rmail(); $mail->setFrom($name." <".$email.">"); $mail->setBcc('Warren G. '); $mail->setSubject('Contact Form Zingfling.com: '.$subject); $mail->setHTML($send_message); $eresult = $mail->send(array($admin_email)); if ($eresult == 1) { $_SESSION['$count']++; ?>
Thank you for making contact. Please allow us approximately 24 hours to get back in touch.
There was an error sending your message.