Contact Us

get('plugin_support_email'); /** * Gets a variable from the request and prints the value, empty */ function app_contact_get_var($val = '', $default = '') { return !isset($_REQUEST[$val]) ? $default : trim($_REQUEST[$val], ' <>'); } /** * if the var conains mail fields */ function app_contact_check_inj($val = '') { return preg_match('#(\r|\n)(?:to|from|b?cc)\s*:#si', $val); } wp_get_current_user(); $name = app_contact_get_var('name', $current_user->user_firstname . ' ' . $current_user->user_lastname); $email = app_contact_get_var('email', $current_user->user_email); $phone = app_contact_get_var('phone'); $subject = app_contact_get_var('subject'); $message = app_contact_get_var('message'); $site = app_contact_get_var('site', $orb_wp_simple_ui_obj->get('site_url')); $contact_msg = ''; $errors = array(); if (!empty($_POST)) { foreach ($_POST as $key => $value) { if (app_contact_check_inj(app_contact_check_inj($value))) { $errors[] = "Invalid data in: $key"; } } if (empty($name) || preg_match('#[^\w-\'\"\s]#si', $name)) { $errors[] = "Invalid/empty name"; } // !preg_match('#^([0-9a-z]+[-._+&])*[\w-.]+@([-0-9a-z]+[.])+[a-z]{2,6}$#si', $email) if (empty($email) || !filter_input(INPUT_POST, "email", FILTER_VALIDATE_EMAIL)) { $errors[] = "Invalid/empty email"; } if (!empty($phone) && preg_match('#[^\d-+.()\sext:,@]#si', $phone)) { $errors[] = "Invalid/empty phone"; } if (empty($subject)) { $errors[] = "Invalid/empty reason"; } if (empty($message)) { $errors[] = "Invalid/empty message"; } if (empty($errors)) { $headers = "From: $name <$email>\r\n"; $headers .= "Content-type: text\r\n"; $email_subject = ' Contact Form: [' . $orb_wp_simple_ui_obj->get('plugin_name') . '] ' . $subject; $email_message = $message; if (!empty($phone)) { $email_message .= "\nPhone: $phone"; } if (!empty($site)) { $email_message .= "\nSite: $site"; } $status = wp_mail($to, $email_subject, $email_message, $headers); if ($status) { $contact_msg = $orb_wp_simple_ui_obj->message("Your message has been sent.", 1); // everything went fine let's clear the fields. $name = $phone = $email = $site = $subject = $message = ''; } else { $contact_msg = $orb_wp_simple_ui_obj->message("Cannot send email. Please send your request directly to: $to"); } } else { $contact_msg = $orb_wp_simple_ui_obj->message("

Errors:

" . join("
\n", $errors)); } } ?>

Please use this form to suggest new features, report bugs, or request a quote for a plugin customization or a new one.

Name: *
Email: *
Phone:
Site:
Reason: *
Message: *

If you want to reach us via email: get('plugin_support_email');?> or phone: US: 1-716-514-8880, Canada: 1-647-478-6512
Plugin's page: get('plugin_home_page');?>

Note: If you want priority support and/or troubleshooting please contacts us so we can discuss how much will cost.
We put higher priority on our commercial products and paying customers.
We love open source but we have bills to pay ...

or via skype: Skype Me™!