Winning Smiles Dental Awards 2013, South West Dental Practice of the Year.
Winning Smiles Dental Awards 2013, Best Patient Care.
Stacks Image 653
console.log('$string');"; return; } function process_actions_stacks_in_3420_page41($action, $email, $first_name="", $last_name="", $custom="", $customtwo="") { if($action === 'export' or filter_var($email, FILTER_VALIDATE_EMAIL)) { require_once('files/postoffice-lib/MCAPI.class.php'); $api = new MCAPI('7f26aca05bfe825bb7e8c12be8750340-us3'); switch ($action) { case 'add': $merge_vars = array('FNAME'=>$first_name, 'LNAME'=>$last_name, 'CUSTOM'=>$custom, 'CUSTOMTWO'=>$customtwo); $retval = $api->listSubscribe('21ea8a4f4c', $email, $merge_vars); if ($api->errorCode){ log_message_stacks_in_3420_page41("MailChimp API Error: (".$api->errorCode.") ".$api->errorMessage); } break; case 'remove': $retval = $api->listUnsubscribe('21ea8a4f4c',$email); if ($api->errorCode){ log_message_stacks_in_3420_page41("MailChimp API Error: (".$api->errorCode.") ".$api->errorMessage); } break; default: break; } /* */ } return; } /* Process Requests */ if ( isset($_POST['action']) ) { $email = isset($_POST['email']) ? $_POST['email'] : ''; $first_name = isset($_POST['first_name']) ? $_POST['first_name'] : ''; $last_name = isset($_POST['last_name']) ? $_POST['last_name'] : ''; $custom = isset($_POST['custom']) ? $_POST['custom'] : ''; $customtwo = isset($_POST['customtwo']) ? $_POST['customtwo'] : ''; if (preg_match('/^changeme\@export\.csv$/', $email)) { process_actions_stacks_in_3420_page41('export', $email, $first_name, $last_name, $custom, $customtwo); } process_actions_stacks_in_3420_page41($_POST['action'], $email, $first_name, $last_name, $custom, $customtwo); } elseif ( isset($_GET['action']) ) { $email = isset($_GET['email']) ? $_GET['email'] : ''; $first_name = isset($_GET['first_name']) ? $_GET['first_name'] : ''; $last_name = isset($_GET['last_name']) ? $_GET['last_name'] : ''; $custom = isset($_GET['custom']) ? $_GET['custom'] : ''; $customtwo = isset($_GET['customtwo']) ? $_GET['customtwo'] : ''; process_actions_stacks_in_3420_page41($_GET['action'], $email, $first_name, $last_name, $custom, $customtwo); } ?>
E Newsletter Sign Up
Facebook Twitter +1-40-sq RSS

dentist@winningsmilesgillingham.com   |   01747 826222   |   Sitemap   |   Privacy Policy   |   This Page Last Updated On - 04/01/2015
© 2014 Winning Smiles (Gillingham) Limited