2002-08-12 19:46:52 +00:00
|
|
|
<?php
|
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
require_once("../inc/db.inc");
|
|
|
|
require_once("../inc/util.inc");
|
2004-03-26 18:32:57 +00:00
|
|
|
require_once("../inc/countries.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
|
|
|
|
2004-05-12 17:54:23 +00:00
|
|
|
page_head("Edit account information");
|
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();
|
2004-05-11 22:49:23 +00:00
|
|
|
row2("Name<br><font size=-2>real name or nickname</font>",
|
2003-03-06 17:42:49 +00:00
|
|
|
"<input name=user_name size=30 value='$user->name'>"
|
|
|
|
);
|
2004-05-11 22:49:23 +00:00
|
|
|
row2("URL<br><font size=-2>of your web page; optional</font>",
|
2003-11-28 23:11:22 +00:00
|
|
|
"http://<input name=url size=50 value='$user->url'>"
|
2003-03-20 02:05:25 +00:00
|
|
|
);
|
2003-03-06 17:42:49 +00:00
|
|
|
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";
|
2004-05-11 22:49:23 +00:00
|
|
|
row2("Postal (ZIP) code<br><font size=-2>Optional</font>",
|
2003-03-06 17:42:49 +00:00
|
|
|
"<input name=postal_code size=20 value='$user->postal_code'>"
|
|
|
|
);
|
2003-11-28 23:11:22 +00:00
|
|
|
|
2004-09-04 23:37:49 +00:00
|
|
|
/*
|
2003-11-28 23:11:22 +00:00
|
|
|
$x = "<textarea name=signature rows=4 cols=50>$user->signature</textarea>";
|
2004-05-11 22:49:23 +00:00
|
|
|
row2("Signature for message boards".
|
|
|
|
"<br><a href=html.php><font size=-2>May contain HTML tags</font></a>".
|
|
|
|
"<br><font size=-2>Optional</font>",
|
|
|
|
$x
|
2004-09-04 23:37:49 +00:00
|
|
|
);*/
|
2003-03-06 17:42:49 +00:00
|
|
|
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
|
|
|
|
|
|
|
?>
|