<?php
/**
 * Login Form
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     3.3.0
 */
if( !class_exists( 'WooCommerce' ) ){
	return;
}
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

global $woocommerce; ?>

<?php do_action('woocommerce_before_customer_login_form'); ?>
<form action="<?php echo get_permalink( wc_get_page_id( 'myaccount' ) ); ?>" method="post" class="login">
	<div class="block-content">
		<div class="col-reg registered-account">
			<div class="email-input">
				<input type="text" class="form-control input-text username" name="username" id="username" placeholder="Username" />
			</div>
			<div class="pass-input">
				<input class="form-control input-text password" type="password" placeholder="Password" name="password" id="password" />
			</div>
			<div class="ft-link-p">
				<a href="<?php echo esc_url( wc_lostpassword_url() ); ?>" title="<?php esc_attr_e( 'Forgot your password', 'furnicom' ) ?>"><?php esc_html_e( 'Forgot your password?', 'furnicom' ); ?></a>
			</div>
			<div class="actions">
				<div class="submit-login">
					<?php wp_nonce_field( 'woocommerce-login' ); ?>
					<input type="submit" class="button btn-submit-login" name="login" value="<?php esc_html_e( 'Login', 'furnicom' ); ?>" />
				</div>	
			</div>
			
		</div>
		<div class="col-reg login-customer">
			<h2><?php esc_html_e( 'NEW HERE?', 'furnicom' ); ?></h2>
			<p class="note-reg"><?php esc_html_e( 'Registration is free and easy!', 'furnicom' ); ?></p>
			<ul class="list-log">
				<li><?php esc_html_e( 'Faster checkout', 'furnicom' ); ?></li>
				<li><?php esc_html_e( 'Save multiple shipping addresses', 'furnicom' ); ?></li>
				<li><?php esc_html_e( 'View and track orders and more', 'furnicom' ); ?></li>
			</ul>
			<a href="<?php echo get_permalink( get_option('woocommerce_myaccount_page_id') ); ?>" title="<?php esc_attr_e( 'Register', 'furnicom' ) ?>" class="btn-reg-popup"><?php esc_html_e( 'Create an account', 'furnicom' ); ?></a>
		</div>
		<div style="clear:both;"></div>
	</div>
</form>
<div class="clear"></div>
	
<?php do_action('woocommerce_after_cphone-icon-login ustomer_login_form'); ?>