New picture: |
( .jpg or .png ) helpbutton("picture") ?> formerr($err["imagefile"]) ?> |
Description: |
helpbutton("text") ?> |
Email address: |
formerr($err["email"]) ?> |
Email format: |
$choices["0"] = "Plain text format"; $choices["1"] = "Pretty HTML format"; choose_from_menu ($choices, "mailformat", $user->mailformat, "") ?> |
Web address (URL): |
formerr($err["url"]) ?> |
ICQ number: |
formerr($err["icq"]) ?> |
ID Number: |
(for the =$teacher ?> only) formerr($err["idnumber"]) ?> |
Phone number 1: |
(for the =$teacher ?> only) formerr($err["phone1"]) ?> |
Phone number 2: |
(for the =$teacher ?> only) formerr($err["phone2"]) ?> |
Street Address: |
(for the =$teacher ?> only) formerr($err["address"]) ?> |
City/town: |
formerr($err["city"]) ?> |
Country: |
choose_from_menu ($COUNTRIES, "country", $user->country, "Select a country...", "", "") ?> formerr($err["country"]) ?> |
Timezone: |
if (abs($user->timezone) > 12) { $user->timezone = 99; } $timenow = time(); for ($tz = -23; $tz <= 24; $tz++) { $zone = (float)$tz/2.0; $usertime = $timenow + ($tz * 1800); if ($tz == 0) { $timezones["$zone"] = gmdate("D, h:i a", $usertime)." (GMT)"; } else if ($tz < 0) { $timezones["$zone"] = gmdate("D, h:i a", $usertime)." (GMT$zone)"; } else { $timezones["$zone"] = gmdate("D, h:i a", $usertime)." (GMT+$zone)"; } } choose_from_menu ($timezones, "timezone", $user->timezone, "Use the server's local time", "", "99"); ?> (Your current local time) |