get_user_by_email($_POST['auth_email_address'])) { $mail_body = '
'; $middle_name = $user['middle_name'] == '' ? '' : $user['middle_name'].' '; $user_name = $middle_name.$user['last_name']; $middle_name = $profile['middle_name'] == '' ? '' : $profile['middle_name'].' '; $profile_name = $profile['first_name'].' '.$middle_name.$profile['last_name']; $mail_body .= $ac_salutation.' '.$sir_madam[$user['sex']].' '.$user_name.','.$strEmailFail.'
'; $task = 'add_user'; } }else { $feedback = ''.$ac_invalid_email.'
'; $task = 'add_user'; } }else { $feedback = ''.$strDataError.'
'; $task = 'add_user'; } } if (isset($feedback)) { echo $feedback; } switch($task) { case 'add_user': echo ''.$ac_auth_text.' | |
'.$strEmail.': | '; echo '|
'; $button = new button($cmdOk, "javascript:send_request()"); echo ' '; $button = new button($cmdCancel, "javascript:document.forms[0].task.value='privacy';document.forms[0].submit()"); echo ' |