<?php

/**
* login register page
*/
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}

global  $fbbttm_emailobj;

?>
<div class="row fbbttm-login-registerpage">

	<div class="col-md-6">
		<h3><?php echo esc_html__('Login','foodboxbooker');?></h3>
		<div class="fbbttm-login-content">
			<form name="fbbttm-loginform" id="fbbttm-loginform" method="post">
				<?php
    	// Noncename needed to verify where the data originated
    	wp_nonce_field( 'fbbttm_meta_box_nonce', 'fbbttm_meta_box_noncename' );
?>
				<div class="">
					<label for="<?php echo esc_html__('User Name','foodboxbooker');?>">
						<?php echo esc_html__('User Name','foodboxbooker');?><span class="required"> <?php echo esc_html__('*','foodboxbooker');?></span>
					</label>
					<input type="text" name="fbbttm-username" id="fbbttm-username">
					<div class="fbbttm-error fbbttm-username"></div>
				</div>
				<div class="">
					<label for="<?php echo esc_html__('Password','foodboxbooker');?>">
						<?php echo esc_html__('Password','foodboxbooker');?><span class="required"> <?php echo esc_html__('*','foodboxbooker');?></span>
					</label>
					<input type="password" name="fbbttm-password" id="fbbttm-password">
					<div class="fbbttm-error fbbttm-password"></div>
				</div>
				<div class="fbbttm-submitbtn">
					<input type="submit" name="fbbttm-submitlogin" id="fbbttm-submitlogin" value="Submit">
					<div class="fbbttm-loader hide"></div> 
				</div>
				<div class="fbbttm-lostpassword">
					<label><?php echo esc_html__('Lost Password?','foodboxbooker');?></label>
				</div>
				<div class="fbbttm-error php-error"></div>
				<div class="fbbttm-loginform-message">
				</div>
			</form>
		</div>

	</div>
	<div class="col-md-6">
		<h3><?php echo esc_html__('Register','foodboxbooker');?></h3>

		<div class="fbbttm-register-content">
			<form name="fbbttm-registerform" id="fbbttm-registerform" method="post">
				<?php
    	// Noncename needed to verify where the data originated
    	wp_nonce_field( 'fbbttm_meta_box_nonce', 'fbbttm_meta_box_noncename' );
?>
				<div class="">
					<label for="<?php echo esc_html__('User Name','foodboxbooker');?>">
						<?php echo esc_html__('User Name','foodboxbooker');?><span class="required"> <?php echo esc_html__('*','foodboxbooker');?></span>
					</label>
					<input type="text" name="fbbttm-registerusername" id="fbbttm-registerusername">
					<div class="fbbttm-error fbbttm-registerusername"></div>
				</div>

				<div class="">
					<label for="<?php echo esc_html__('Email','foodboxbooker');?>">
						<?php echo esc_html__('Email','foodboxbooker');?><span class="required"> <?php echo esc_html__('*','foodboxbooker');?></span>
					</label>
					<input type="text" name="fbbttm-registeremail" id="fbbttm-registeremail">
					<div class="fbbttm-error fbbttm-registeremail"></div>
				</div>

				<div class="">
					<label for="<?php echo esc_html__('Password','foodboxbooker');?>">
						<?php echo esc_html__('Password','foodboxbooker');?><span class="required"> <?php echo esc_html__('*','foodboxbooker');?></span>
					</label>
					<input type="password" name="fbbttm-registerpassword" id="fbbttm-registerpassword" >
					<div class="fbbttm-error fbbttm-registerpassword"></div>
				</div>

				<div class="fbbttm-submitbtn">

					<input type="submit" name="fbbttm-submitregister" id="fbbttm-submitregister" value="Submit">
					<div class="fbbttm-loader hide"></div> 
				</div>
				<div class="fbbttm-error php-error"></div>
				<div class="fbbttm-registerform-message">
				</div>
				<div class="fbbttm-successmessage-forlogin-info">
				</div>
			</form>
	</div>
</div>	
</div>