prefix . "apt_appearence"; $staff_member = sanitize_text_field( $_REQUEST['staff'] ); $service = sanitize_text_field( $_REQUEST['service'] ); $booking_st = sanitize_text_field( $_REQUEST['booking_st'] ); $apt_time_format = sanitize_text_field( $_REQUEST['apt_time_format'] ); $login_email = sanitize_text_field( isset( $_REQUEST['login_email'] ) ? $_REQUEST['login_email'] : '' ); /* login */ $login_password = sanitize_text_field( isset( $_REQUEST['login_password'] ) ? $_REQUEST['login_password'] : '' ); /* login */ $client_email = sanitize_text_field( $_REQUEST['client_email'] ); /* registeration */ $appoint_username = sanitize_text_field( $_REQUEST['appoint_username'] ); $full_name = sanitize_text_field( $_REQUEST['full_name'] ); $client_contact = sanitize_text_field( $_REQUEST['client_contact'] ); $skype_id = sanitize_text_field( $_REQUEST['skype_id'] ); $apt_date = sanitize_text_field( $_REQUEST['apt_date'] ); $first_name = sanitize_text_field( $_REQUEST['first_name'] ); $last_name = sanitize_text_field( $_REQUEST['last_name'] ); $appoint_notes = sanitize_text_field( $_REQUEST['appoint_notes'] ); $client_password = sanitize_text_field( $_REQUEST['client_password'] ); $date_format = get_option( 'date_format' ); $appt_date_format = date( $date_format, strtotime( $apt_date ) ); $time_format = get_option( 'time_format' ); $temp_time_slot_format = strtotime( $booking_st ); $time_slot_format = date( $time_format, $temp_time_slot_format ); /* LOGIN ACCOUNT */ if ( isset( $_REQUEST['login_email'] ) ) { $client = get_user_by( 'email', $login_email ); if ( ! empty( $client ) ) { $user_password = $client->user_pass; require_once( ABSPATH . WPINC . '/class-phpass.php' ); $wp_hasher = new PasswordHash( 8, true ); if ( $wp_hasher->CheckPassword( $login_password, $user_password ) ) { ?>
You have entered invalid Password, Please Try Again.
Email Does Not Exist, Please Register Your Account.
" . __( 'The Email You Entered is already registered with us, Please Login Your Account.', WL_ABS_SYSTEM ) . "