2002-08-12 19:46:52 +00:00
|
|
|
<?php
|
|
|
|
|
2002-12-19 18:08:43 +00:00
|
|
|
require_once("util.inc");
|
2002-08-12 19:46:52 +00:00
|
|
|
|
2002-12-19 18:08:43 +00:00
|
|
|
db_init();
|
2003-03-19 21:01:32 +00:00
|
|
|
$user = get_logged_in_user();
|
2002-08-12 19:46:52 +00:00
|
|
|
|
2003-03-19 21:01:32 +00:00
|
|
|
page_head("Edit user information", $user);
|
2003-02-19 20:34:33 +00:00
|
|
|
|
2003-03-06 17:42:49 +00:00
|
|
|
echo "<form method=post action=edit_user_info_action.php>";
|
|
|
|
start_table();
|
|
|
|
row1("Edit account info");
|
|
|
|
row2("User name",
|
|
|
|
"<input name=user_name size=30 value='$user->name'>"
|
|
|
|
);
|
|
|
|
row2_init("Country",
|
|
|
|
"<select name=country>"
|
|
|
|
);
|
2002-12-19 18:08:43 +00:00
|
|
|
print_country_select($user->country);
|
2003-03-06 17:42:49 +00:00
|
|
|
echo "</select></td></tr>\n";
|
|
|
|
row2("Postal (ZIP) code",
|
|
|
|
"<input name=postal_code size=20 value='$user->postal_code'>"
|
|
|
|
);
|
|
|
|
row2("", "<input type=submit value='Update info'>");
|
|
|
|
end_table();
|
|
|
|
echo "</form>\n";
|
2002-12-19 18:08:43 +00:00
|
|
|
page_tail();
|
2002-08-12 19:46:52 +00:00
|
|
|
|
|
|
|
?>
|