<?php
/**
 * Login form
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     1.6.4
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

global $woocommerce;

if (is_user_logged_in()) return;
?>


<form method="post" class="login" <?php if ( $hidden ) echo 'style="display:none;"'; ?>>

	<p><strong><?php _e( 'LOGIN', 'woocommerce' ); ?></strong></p>

	<?php if ( $message ) echo wpautop( wptexturize( $message ) ); ?>

	<p><strong><?php _e( 'Username or email', 'woocommerce' ); ?></strong> <span class="required">*</span></p>
	<input type="text" class="input-xlarge" name="username" id="username" />

	<p><strong><?php _e( 'Password', 'woocommerce' ); ?></strong> <span class="required">*</span></p>
	<input class="input-xlarge" type="password" name="password" id="password" />

	<div class="wrapper">
		<div class="pull-left"> * Required Fields<br>
			<a class="underline" href="<?php echo esc_url( wp_lostpassword_url( home_url() ) ); ?>"><?php _e( 'Lost Password?', 'woocommerce' ); ?></a>&nbsp;&nbsp;</div>
		<div class="pull-right">
			<button type="submit" class="button-2x"><?php _e( 'Login', 'woocommerce' ); ?></button>
		</div>
	</div>
	<?php $woocommerce->nonce_field('login', 'login') ?>
	<input type="hidden" name="redirect" value="<?php echo esc_url( $redirect ) ?>" />
</form>