escape($concat_email)); $unikey = stripslashes($wpdb->escape($_GET['uk'])); $action = stripslashes($wpdb->escape($_GET['ac'])); // If there is not an activation/unsubscribe request if (ALO_em_can_access_subscrpage ($email, $unikey) == false ) : // if cannot $optin_msg = get_option('ALO_em_optin_msg'); $optout_msg = get_option('ALO_em_optout_msg'); echo "
Your subscription was successfully activated. You'll receive the next newsletter. Thank you.
"; } else { echo "Error during activation. Please check the activation link.
"; } } // Unsubscribe if ($action == 'unsubscribe') { if (ALO_em_delete_subscriber_by_email($email, $unikey)) { echo "Your subscription was successfully deleted. Bye bye.
";; } else { echo "Error during unsubscription. Try again.
"; echo "If it fails again you can contact the administrator: ".get_option('admin_email')."
"; } } endif; // end CHECK IF CAN ACCESS ?>