%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/cwg/wp-content/themes/cwg/woocommerce/myaccount/
Upload File :
Create Path :
Current File : //var/www/cwg/wp-content/themes/cwg/woocommerce/myaccount/communication-preferences.php

<?php
    $user = get_current_user_id();
?>

<h2 class="text-[13px] md:text-[15px]">COMMUNICATION PREFERENCES</h2>
        <form name="update_communication_preferences" method="post">
            <label class="container-checkbox mt-4 text-xs font-light mb-5" for="receive-newsletter-carpenters">
                Yes, I would like to receive Carpenters Workshop Gallery newsletter
                <input type="checkbox" name="newscarcheck" id="receive-newsletter-carpenters" <?php echo (get_field('newsletter_carpenters', 'user_'.$user) ? 'checked="checked"' : ''); ?>>
                <span class="checkmark-checkbox"></span>
            </label>
            <label class="container-checkbox text-xs font-light mb-5" for="receive-newsletter-design">
                Yes, I would like to receive the Design Edit newsletter
                <input type="checkbox" name="newsdescheck" id="receive-newsletter-design" <?php echo (get_field('newsletter_design', 'user_'.$user) ? 'checked="checked"' : ''); ?>>
                <span class="checkmark-checkbox"></span>
            </label>
            <label class="container-checkbox text-xs font-light mb-5" for="contact-by-email">
                I wish to be contacted by Carpenters Workshop Gallery by email to receive personalised information on artworks and artists 
                <input type="checkbox" name="emailcheck" id="contact-by-email" <?php echo (get_field('contact_email', 'user_'.$user) ? 'checked="checked"' : ''); ?>>
                <span class="checkmark-checkbox"></span>
            </label>

            <input id="wp-submit" type="submit" name="update_communication_preferences" value="SAVE CHANGES" class="flex justify-center items-center rounded-none h-[40px] border border-solid border-grey-darker text-xs cursor-pointer w-full font-thin text-white bg-grey-dark my-4"/>
        </form>

Zerion Mini Shell 1.0