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 // if there is action show error msg if(isset($_GET['ac'])) echo "

".__("Error during operation.", "alo-easymail") ."

"; echo "
"; echo ALO_em_show_widget_form(); echo "
"; else: // if can go on // Activate if ($action == 'activate') { if (ALO_em_edit_subscriber_state_by_email($email, "1", $unikey)) { echo "

".__("Your subscription was successfully activated. You will receive the next newsletter. Thank you.", "alo-easymail")."

"; } else { echo "

".__("Error during activation. Please check the activation link.", "alo-easymail")."

"; } } // Unsubscribe if ($action == 'unsubscribe') { if (ALO_em_delete_subscriber_by_email($email, $unikey)) { echo "

".__("Your subscription was successfully deleted. Bye bye.", "alo-easymail")."

";; } else { echo "

".__("Error during unsubscription.", "alo-easymail")." ". __("Try again.", "alo-easymail"). "

"; echo "

".__("If it fails again you can contact the administrator", "alo-easymail").": ".get_option('admin_email')."

"; } } endif; // end CHECK IF CAN ACCESS ?>