<?php if ('layout_one' == $settings['layout_type']) : ?>
	<?php if (!is_user_logged_in()) :
	?>
		<div class="login-page__single">
			<?php if (!empty($settings['title'])) : ?>
				<h3 class="login-page__wrap__title"><?php echo esc_html($settings['title']); ?></h3>
			<?php endif; ?>
			<form class="login-page__form" id="ostech-registration">
				<div class="registration-result text-center"></div>
				<?php wp_nonce_field('ostech-register-nonce', 'security'); ?>
				<div class="login-page__form-input-box">
					<input type="email" placeholder="<?php echo esc_attr($settings['email_placeholder']); ?>" name="singupEmail">
				</div>
				<div class="login-page__form-input-box">
					<input type="password" placeholder="<?php echo esc_attr($settings['password_placeholder']); ?>" name="singupPassword">
				</div>
				<div class="login-page__checked-box">
					<input type="checkbox" name="term" id="term">
					<label for="term"><span></span><?php echo wp_kses($settings['privacy_text'], 'ostech_allowed_tags'); ?>.</label>
				</div>
				<div class="login-page__form-btn-box">
					<button type="submit" class="ostech-btn ostech-btn--base">
						<span><?php echo esc_html($settings['register_btn_text']); ?></span>
					</button>
				</div>
			</form>
		</div>
	<?php else :
	?>
		<div class="alert alert-success"> <?php esc_html_e('You are logged in ', 'ostech-login'); ?> </div>
		<div class="alert alert-danger"><a href="<?php echo wp_logout_url(home_url('/')); ?>"><?php echo esc_html_e('Log Out ?', 'ostech-login'); ?></a></div>
	<?php endif;
	?>
<?php endif; ?>