prefix."apt_appearence"; $staff_member = $_REQUEST['staff'] ; $service = $_REQUEST['service'] ; $booking_st = $_REQUEST['booking_st'] ; $apt_time_format = $_REQUEST['apt_time_format'] ; $login_email = $_REQUEST['login_email'] ; //login $login_password = $_REQUEST['login_password'] ; //login $client_email = $_REQUEST['client_email'] ; //registeration $appoint_username = $_REQUEST['appoint_username'] ; $full_name = $_REQUEST['full_name'] ; $client_contact = $_REQUEST['client_contact'] ; $skype_id = $_REQUEST['skype_id'] ; $apt_date = $_REQUEST['apt_date'] ; $first_name = $_REQUEST['first_name'] ; $last_name = $_REQUEST['last_name'] ; $appoint_notes = $_REQUEST['appoint_notes'] ; $client_password = $_REQUEST['client_password'] ; if ( empty( $appoint_username ) ) { $appoint_username = $client_email; } $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.',WF_A_P_SYSTEM )."