<div class="ulp-student-profile-tab-the-title"><?php echo $data ['title'];?></div>
<div class="ulp-student-profile-tab-the-content"><?php echo $data ['content'];?></div>
<?php if(isset( $data ['error_mess'])):?>
	<div class="ulp-profile-error"><?php echo $data ['error_mess'];?></div>
<?php elseif(isset( $data ['confirm_mess'])):?>
	<div class="ulp-profile-confirm"><?php echo $data ['confirm_mess'];?></div>
<?php endif; ?>
    <form action="" method="post">
	<div class="ulp-profile-basic-section">
    <div class="ulp-profile-tab-section"><?php _e( 'Basic Information', 'ulp' ); ?></div>
     	 <div class="ulp-profile-row">
          <label><?php _e('E-mail', 'ulp');?></label>
          <input type="text" name="user_email" value="<?php echo $data ['user_email'];?>" />
      	</div>
        <div class="ulp-profile-row">
            <label><?php _e('First Name', 'ulp');?></label>
            <input type="text" name="first_name" value="<?php echo $data ['first_name'];?>" />
        </div>
        <div class="ulp-profile-row">
            <label><?php _e('Last Name', 'ulp');?></label>
            <input type="text" name="last_name" value="<?php echo $data ['last_name'];?>" />
        </div>
        <div class="ulp-profile-row">
            <input type="submit" name="update_user_data" value="<?php _e('Update Info', 'ulp');?>" />
        </div>
		</div>


		<div class="ulp-profile-password-section">
    	<div class="ulp-profile-tab-section"><?php _e( 'Reset Password', 'ulp' ); ?></div>
        <div class="ulp-profile-row">
			<label><?php _e( 'Old password', 'ulp' ); ?></label>
			<div>
				<input type="password" id="old_pass" name="old_pass" autocomplete="off" />
			</div>
		</div>
		<div class="ulp-profile-row">
			<label><?php _e( 'New password', 'ulp' ); ?></label>
			<div>
				<input type="password" name="pass1" id="pass1" value="" />
			</div>
		</div>
		<div class="ulp-profile-row">
			<label><?php _e( 'Confirmation password', 'ulp' ); ?></label>
			<div>
				<input name="pass2" type="password" id="pass2" value="" />
			</div>
		</div>

        <div class="ulp-profile-row">
            <input type="submit" name="update_user_password" value="<?php _e('Change Password', 'ulp');?>" />
        </div>
		</div>



			<?php if ( $data['avatar_field'] ):?>
					<div class="ulp-profile-avatar-section">
			    	<div class="ulp-profile-tab-section"><?php _e( 'User Avatar', 'ulp' ); ?></div>
			      <div class="ulp-profile-row">
								<?php echo $data['avatar_field'];?>
				        <div class="ulp-profile-row">
				            <input type="submit" name="update_user_avatar" value="<?php _e('Change Avatar', 'ulp');?>" />
				        </div>
						</div>
			    </div>
			<?php endif;?>

    </form>
