%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/cwg/wp-content/themes/cwg/
Upload File :
Create Path :
Current File : //var/www/cwg/wp-content/themes/cwg/reset-password.php

<?php

/**
 * The main template file
 * Template Name: Reset Password
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package onepoint
 */

?>

<!----Should be placed when there is no carousel-->
<div class="js-headerGap h-[51px]"></div>

<?php
if (is_user_logged_in()) {
    wp_redirect(home_url());
} else {
    do_action('woocommerce_before_lost_password_form');
    get_header();

?>

    <div class="cwg-container-main">
        <div class="flex items-center justify-center h-[200px] mt-5">
            <?php include(locate_template('/assets/img/logo-cwg-gallery-black.svg')); ?>
        </div>
        <div>
            <div class="font-medium">LOST YOUR PASSWORD ?</div>
            <form name="loginform" method="post">
                <div class="w-full px-3 my-4 border-grey-darker border-solid border">
                    <div class="text-[10px] text-grey-placeholder font-thin pt-0.5">Email address</div>
                    <input type="text" name="user_login" id="user_login" name="log" placeholder="xxxx" class="custom-placeholder w-full placeholder-black" />
                </div>
                <?php do_action('woocommerce_lostpassword_form'); ?>
                <input type="submit" value="RESET PASSWORD" class="btn-stroked-grey w-full mt-5 font-thin text-white bg-grey-dark mb-[60px]" />
                <input type="hidden" name="wc_reset_password" value="true">
                <?php wp_nonce_field('lost_password', 'woocommerce-lost-password-nonce'); ?>

            </form>
            <div class="h-[1px] w-full bg-grey-separator mb-[60px]"></div>
            <div class="font-medium">I DON'T HAVE AN ACCOUNT</div>
            <div class="font-light text-xs">Enjoy added benefits and a richer experience by creating a personal account</div>
            <a href="<?= the_permalink(265324) . isset($_GET["redirect_to_checkout"]) ? "?redirect_to_checkout" : "" ?>" class="btn-stroked w-full font-thin mt-4 mb-[60px]">
                CREATE AN ACCOUNT
            </a>
            <div class="h-[1px] w-full bg-grey-separator mb-[60px]"></div>
        </div>
    </div>
<?php
    get_footer();
}
?>

Zerion Mini Shell 1.0