escape($concat_email)); $unikey = stripslashes($wpdb->escape($_GET['uk'])); $action = stripslashes($wpdb->escape($_GET['ac'])); // CHECK IF CAN ACCESS if (ALO_em_can_access_subscrpage ($email, $unikey) == false ) : // if cannot echo "

Sorry, but you cannot enter the requested page.

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

Your subscription is successfully activated. You'll receive the next newsletter. Thank you.

"; } else { echo "

Error during activation. Please check the activation link in the e-mail you received.

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

Your subscription is successfully deleted. Cheers.

";; } else { echo "

Error during deleting your unsubscription. Please retry.

"; echo "

If it fails again you can contact the administrator: ".get_option('admin_email')."

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