File: //home/salamatk/public_html/wp-content/plugins/woodmart-plus/template/myaccount/layout/layout-4.php
<style>
body
{
height: auto !important;
}
</style>
<?php if( isset( $_GET['action_register'] ) && !empty( $_GET['action_register'] ) && 'register' === $_GET['action_register'] ): ?>
<div class="all_center">
<div class="login_container">
<div class="white_card ">
<div class="alert" style="display:none" >
<div class="gap-x">
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="23" viewBox="0 0 22 23" fill="none">
<path d="M11 7.60417V12.4167" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M19.3234 8.36503V14.635C19.3234 15.6617 18.7733 16.615 17.8842 17.1375L12.4392 20.2817C11.55 20.795 10.45 20.795 9.55166 20.2817L4.10665 17.1375C3.21749 16.6242 2.66748 15.6708 2.66748 14.635V8.36503C2.66748 7.33836 3.21749 6.38499 4.10665 5.86249L9.55166 2.71833C10.4408 2.20499 11.5408 2.20499 12.4392 2.71833L17.8842 5.86249C18.7733 6.38499 19.3234 7.32919 19.3234 8.36503Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M11 15.35V15.4417" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<p></p>
</div>
</div>
<h2 class="text_center title_here"> <?php esc_html_e('ثبت نام','woodmartplus') ?> </h2>
<form class="gap-y-2 aramis_register_form" method="POST" action="/">
<?php if ( 'no' === get_option( 'woocommerce_registration_generate_username' ) ) : ?>
<div class="solid_input">
<label class="gap-x title_uname">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
<path d="M9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5Z" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M9 6V9.75" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8.99588 12H9.00262" stroke="#292D32" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<?php esc_html_e( 'نام کاربری', 'woodmartplus' ); ?> <span class="text_danger">*</span>
</label>
<div class="input_container">
<input type="text" name="username" placeholder="<?php esc_html_e( 'نام کاربری شما', 'woodmartplus' ); ?>" />
<span class="btn_clear" disabled>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="15" height="15" fill="currentColor">
<path d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM384 432H64c-8.8 0-16-7.2-16-16V96c0-8.8 7.2-16 16-16h320c8.8 0 16 7.2 16 16v320c0 8.8-7.2 16-16 16zm-87.6-272L224 232.4 151.6 160 128 183.6 200.4 256 128 328.4 151.6 352 224 279.6 296.4 352 320 328.4 247.6 256 320 183.6 296.4 160z"/>
</svg>
</span>
</div>
</div>
<?php endif; ?>
<div class="solid_input">
<label class="gap-x title_uname">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
<path d="M9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5Z" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M9 6V9.75" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8.99588 12H9.00262" stroke="#292D32" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<?php esc_html_e( 'آدرس ایمیل', 'woodmartplus' ); ?> <span class="text_danger">*</span>
</label>
<div class="input_container">
<input type="email" name="email" placeholder="<?php esc_html_e( 'آدرس ایمیل شما', 'woodmartplus' ); ?>" />
<span class="btn_clear" disabled>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="15" height="15" fill="currentColor">
<path d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM384 432H64c-8.8 0-16-7.2-16-16V96c0-8.8 7.2-16 16-16h320c8.8 0 16 7.2 16 16v320c0 8.8-7.2 16-16 16zm-87.6-272L224 232.4 151.6 160 128 183.6 200.4 256 128 328.4 151.6 352 224 279.6 296.4 352 320 328.4 247.6 256 320 183.6 296.4 160z"/>
</svg>
</span>
</div>
</div>
<?php if ( 'no' === get_option( 'woocommerce_registration_generate_password' ) ) : ?>
<div class="solid_input">
<label class="gap-x title_pass">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
<path d="M9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5Z" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M9 6V9.75" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8.99588 12H9.00262" stroke="#292D32" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<?php esc_html_e( 'رمز عبور', 'woodmartplus' ); ?><span class="text_danger">*</span>
</label>
<div class="input_container">
<input type="password" name="password" placeholder="<?php esc_html_e( 'رمز عبور شما', 'woodmartplus' ); ?>"/>
<span class="btn_clear">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="15" height="15" fill="currentColor">
<path d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM384 432H64c-8.8 0-16-7.2-16-16V96c0-8.8 7.2-16 16-16h320c8.8 0 16 7.2 16 16v320c0 8.8-7.2 16-16 16zm-87.6-272L224 232.4 151.6 160 128 183.6 200.4 256 128 328.4 151.6 352 224 279.6 296.4 352 320 328.4 247.6 256 320 183.6 296.4 160z"/>
</svg>
</span>
</div>
</div>
<?php endif; ?>
<?php wp_nonce_field('woodplus_form_register', 'nonce_woodplus_register'); ?>
<button type="submit" class="btn solid medium font_semibold aramis__register_btn">
<?php esc_html_e('ثبت نام','woodmartplus'); ?>
</button>
</form>
<div class="detail_register">
<p class="text_center register_link">
حساب دارید؟ <a href="<?php echo esc_url(wc_get_endpoint_url('my-account')); ?>" class="text_blue font_semibold">وارد شوید</a>.
</p>
<p class="text_darkgray login_condition">
<?php echo wplus_helper::generate_terms_condition(); ?>
</p>
</div>
</div>
</div>
</div>
<?php else: ?>
<main class="all_center">
<div class="login_container">
<div class="white_card">
<div class="alert" style="display:none" >
<div class="gap-x">
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="23" viewBox="0 0 22 23" fill="none">
<path d="M11 7.60417V12.4167" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M19.3234 8.36503V14.635C19.3234 15.6617 18.7733 16.615 17.8842 17.1375L12.4392 20.2817C11.55 20.795 10.45 20.795 9.55166 20.2817L4.10665 17.1375C3.21749 16.6242 2.66748 15.6708 2.66748 14.635V8.36503C2.66748 7.33836 3.21749 6.38499 4.10665 5.86249L9.55166 2.71833C10.4408 2.20499 11.5408 2.20499 12.4392 2.71833L17.8842 5.86249C18.7733 6.38499 19.3234 7.32919 19.3234 8.36503Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M11 15.35V15.4417" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<p></p>
</div>
</div>
<div class="parrent_aramis_login">
<h2 class="text_center title_here" style="/* text-align: center; *//* font-size: 36px; */color: #333;position: relative;/* display: inline-block; */padding-bottom: 10px;margin-bottom: 18px;">
ورود به سایت
<span style="position: absolute;bottom: 0;left: 0;right: 0;height: 2px;background-color: #929292;width: 100%;"></span>
</h2>
<form class="gap-y-2 aramis_login" method="post">
<div class="solid_input">
<label for="txtUsername" class="gap-x title_uname">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
<path d="M7.5 2.25L6 15.75" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12 2.25L10.5 15.75" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M2.625 6.75H16.125" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M1.875 11.25H15.375" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<?php esc_html_e('نام کاربری ','woodmartplus'); ?>
<span class="text_danger">*</span>
</label>
<div class="input_container">
<input type="text" id="txtUsername" placeholder="<?php esc_html_e('نام کاربری','woodmartplus') ?>" name="username"/>
<span class="btn_clear" disabled>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="15" height="15" fill="currentColor">
<path d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM384 432H64c-8.8 0-16-7.2-16-16V96c0-8.8 7.2-16 16-16h320c8.8 0 16 7.2 16 16v320c0 8.8-7.2 16-16 16zm-87.6-272L224 232.4 151.6 160 128 183.6 200.4 256 128 328.4 151.6 352 224 279.6 296.4 352 320 328.4 247.6 256 320 183.6 296.4 160z"/>
</svg>
</span>
</div>
</div>
<div class="solid_input">
<label for="txtPassword" class="gap-x title_pass">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
<path d="M4.5 7.5V6C4.5 3.5175 5.25 1.5 9 1.5C12.75 1.5 13.5 3.5175 13.5 6V7.5" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M12.75 16.5H5.25C2.25 16.5 1.5 15.75 1.5 12.75V11.25C1.5 8.25 2.25 7.5 5.25 7.5H12.75C15.75 7.5 16.5 8.25 16.5 11.25V12.75C16.5 15.75 15.75 16.5 12.75 16.5Z" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M11.9973 12H12.0041" stroke="#292D32" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8.99661 12H9.00335" stroke="#292D32" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M5.99588 12H6.00262" stroke="#292D32" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<?php esc_html_e('گذرواژه','woodmartplus') ?> <span class="text_danger">*</span>
</label>
<div class="input_container">
<input type="password" id="txtPassword" placeholder="نام کاربری شما" name="password" />
<span class="btn_clear" disabled>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="15" height="15" fill="currentColor">
<path d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM384 432H64c-8.8 0-16-7.2-16-16V96c0-8.8 7.2-16 16-16h320c8.8 0 16 7.2 16 16v320c0 8.8-7.2 16-16 16zm-87.6-272L224 232.4 151.6 160 128 183.6 200.4 256 128 328.4 151.6 352 224 279.6 296.4 352 320 328.4 247.6 256 320 183.6 296.4 160z"/>
</svg>
</span>
</div>
</div>
<div class="space_between">
<div class="gap-x">
<input type="checkbox" id="checkRemember" name="checkRemember" />
<label for="checkRemember"><?php esc_html_e('مرا بخاطر بسپار','woodmartplus'); ?></label>
</div>
<a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" class="text_blue">
<?php esc_html_e('فراموشی رمز عبور','woodmartplus'); ?>
</a>
</div>
<?php
wp_nonce_field('form_login_register', 'nonce_login_register');
?>
<button type="submit" class="btn solid medium font_semibold aramis__login_btn">
<?php esc_html_e('ورود','woodmartplus'); ?>
</button>
</form>
<p class="text_center register_link">
<?php echo sprintf(__('حساب کاربری ندارید ؟ <a href="%s" class="text_blue font_semibold">همین حالا ثبت نام کنید</a>'),esc_url(add_query_arg(['action_register' => 'register']))); ?>
</p>
<p class="text_darkgray login_condition">
<?php echo wplus_helper::generate_terms_condition(); ?>
</p>
</div>
<div class="verify_otp_login" style="display:none">
<h2 class="text_center"> ورود </h2>
<form class="gap-y-2 verify_otp_login_form verify_otp_all">
<div class="gap-x">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
<path d="M6.375 14.25H6C3 14.25 1.5 13.5 1.5 9.75V6C1.5 3 3 1.5 6 1.5H12C15 1.5 16.5 3 16.5 6V9.75C16.5 12.75 15 14.25 12 14.25H11.625C11.3925 14.25 11.1675 14.3625 11.025 14.55L9.9 16.05C9.405 16.71 8.595 16.71 8.1 16.05L6.975 14.55C6.855 14.385 6.5775 14.25 6.375 14.25Z" stroke="#5E5E5E" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M11.9973 8.25H12.0041" stroke="#5E5E5E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8.99661 8.25H9.00335" stroke="#5E5E5E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M5.99588 8.25H6.00262" stroke="#292D32" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<p class="msg_detail_number">
</p>
</div>
<div class="items_container--<?php echo $number_digits ?>" style="direction:ltr;">
<?php for($i=0; $number_digits > $i ; $i++): ?>
<div class="solid_input">
<input type="text" class="phone_validate" maxlength="1" name="otp[]" required >
</div>
<?php endfor; ?>
<input type="hidden" class="phone_number" data-phone_number>
</div>
<div class="space_between">
<p>زمان باقی مانده: <span class="time_resend"></span></p>
<button type="button" class="text_blue edit_number">
ویرایش شماره
</button>
</div>
<?php wp_nonce_field('_form_verify_otp_login', 'nonce_verify_otp_login'); ?>
<button type="submit" class="btn solid medium font_semibold">
ورود
</button>
</form>
</div>
</div>
</div>
</main>
<?php endif; ?>