echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\" class=\"posthead\">", gettext("Confirm Password"), ":</td>\n"; echo " <td align=\"left\">", form_input_password("cpw", "", 45, 32), "</td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\" class=\"posthead\">", gettext("Nickname"), ":</td>\n"; echo " <td align=\"left\">", form_input_text("nickname", isset($nickname) ? htmlentities_array($nickname) : "", 45, 32), "</td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\" class=\"posthead\">", gettext("Email"), ":</td>\n"; echo " <td align=\"left\">", form_input_text("email", isset($email) ? htmlentities_array($email) : "", 45, 80), "</td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\" class=\"posthead\">", gettext("Date of Birth"), ":</td>\n"; echo " <td align=\"left\">", form_dob_dropdowns(isset($new_user_prefs['DOB_YEAR']) ? htmlentities_array($new_user_prefs['DOB_YEAR']) : 0, isset($new_user_prefs['DOB_MONTH']) ? htmlentities_array($new_user_prefs['DOB_MONTH']) : 0, isset($new_user_prefs['DOB_DAY']) ? htmlentities_array($new_user_prefs['DOB_DAY']) : 0, true), "</td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\" colspan=\"2\"> </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " <br />\n";
echo " <td align=\"left\">", form_input_text("email", isset($user_info['EMAIL']) ? htmlentities_array($user_info['EMAIL']) : "", 55, 80, null, "user_pref_field"), "</td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\"> </td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\" style=\"white-space: nowrap\">", gettext("First name"), ": </td>\n"; echo " <td align=\"left\">", form_input_text("firstname", isset($user_prefs['FIRSTNAME']) ? htmlentities_array($user_prefs['FIRSTNAME']) : null, 55, 32, null, "user_pref_field"), "</td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\" style=\"white-space: nowrap\">", gettext("Last name"), ": </td>\n"; echo " <td align=\"left\">", form_input_text("lastname", isset($user_prefs['LASTNAME']) ? htmlentities_array($user_prefs['LASTNAME']) : "", 55, 32, null, "user_pref_field"), "</td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\" style=\"white-space: nowrap\">", gettext("Date of Birth"), ": </td>\n"; echo " <td align=\"left\" style=\"white-space: nowrap\">", form_dob_dropdowns($dob['YEAR'], $dob['MONTH'], $dob['DAY'], $dob['BLANK_FIELDS']), "</td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"left\"> </td>\n"; echo " </tr>\n"; } else { echo " <tr>\n"; echo " <td align=\"left\" style=\"white-space: nowrap\" width=\"175\">", gettext("Username"), ": </td>\n"; echo " <td align=\"left\">", htmlentities_array($user_info['LOGON']), " </td>\n"; echo " </tr>\n"; } echo " <tr>\n"; echo " <td align=\"left\" valign=\"top\" style=\"white-space: nowrap\">", gettext("Homepage URL"), ": </td>\n"; echo " <td align=\"left\">", form_input_text("homepage_url", isset($user_prefs['HOMEPAGE_URL']) && filter_var($user_prefs['HOMEPAGE_URL'], FILTER_VALIDATE_URL) ? htmlentities_array($user_prefs['HOMEPAGE_URL']) : "", 55, 255, null, "user_pref_field"), "</td>\n"; echo " <td align=\"left\" valign=\"top\" style=\"white-space: nowrap\">", $show_set_all ? form_checkbox("homepage_url_global", "Y", null, isset($user_prefs['HOMEPAGE_URL_GLOBAL']) ? $user_prefs['HOMEPAGE_URL_GLOBAL'] : false, sprintf('title="%s"', gettext("Set for all forums?"))) : form_input_hidden("homepage_url_global", 'Y'), " </td>\n"; echo " </tr>\n";