username) { $curr_user->username = $_POST['username']; $new_username = 1; } if ($_POST['password']) { $curr_user->password = md5($_POST['password']); $new_pass = 1; } if ($_POST['email']) { $curr_user->email = $_POST['email']; $new_email = 1; } if ($_POST['realname'] == '') { $curr_user->realname = null; } else { $curr_user->realname = $_POST['realname']; } if ($_POST['scaname'] == '') { $curr_user->scaname = null; } else { $curr_user->scaname = $_POST['scaname']; } $curr_user->web_url = $_POST['web_url']; $curr_user->web_name = $_POST['web_name']; if ($_POST['cat_prefs']) { $curr_user->cat_prefs = $_POST['cat_prefs']; } if ($_POST['century_prefs']) { $curr_user->century_prefs = $_POST['century_prefs']; } if (isset($_POST['email_ok'])) { $curr_user->email_ok = 1; } else { $curr_user->email_ok = 0; } if (isset($_POST['comments'])) { $curr_user->comments = 1; } else { $curr_user->comments = 0; } if (isset($_POST['notify_comments'])) { $curr_user->notify_comments = 1; } else { $curr_user->notify_comments = 0; } if (isset($_POST['notify_replies'])) { $curr_user->notify_replies = 1; } else { $curr_user->notify_replies = 0; } $pass_conf = md5($_POST['pass_conf']); $email_conf = $_POST['email_conf']; if ($new_username && $curr_user->checkUsername() == 0) { echo '

Username already exists! Please try again.

'; } else if ($new_pass && $curr_user->password != $pass_conf) { echo '

Password mismatch! Please try again.

'; } else if ($new_email && $curr_user->email != $email_conf) { echo '

Email mismatch! Please try again.

'; } else { $success = $curr_user->update(); } } } ?>
email_ok) { ?>

Send Email

id, $curr_user->fave_users)) { ?> showName(); ?>

id, '', '', '', '', '', '', '', '', 0, 12) ?> ' . "\n"; echo '\n"; echo '\n"; echo "\n"; $row_color = $row_color ^ 1; } ?>

Recent Updates By This User

' . "\n"; echo '

' . date("M j Y", $project->updated) . ''; if ($project->added == $project->updated) { echo '
added '; } echo "

' . "\n"; echo ''; echo '

' . $project->name . "

\n"; echo '

in '; $c = array(); foreach ($project->categories as $proj_cat) { $c[] = '' . $proj_cat->name . "\n"; } echo implode(", ", $c); echo '(' . $century_name[$project->century] . ')

'; echo "

Username:

username; ?>

realname) { ?>

Name:

realname; ?>

scaname) { ?>

Other Name:

scaname; ?>

web_url) { ?>

Website:

Last Login:

last); ?>

Interests:

countCatProjects(); if (!cat_count) { $cat_count = array(); } foreach ($user->cat_prefs as $cat) { echo '
'; echo '

'; if ($cat_count[$cat]) { echo ''; } echo $cat_name[$cat]; if ($cat_count[$cat]) { echo " (" . $cat_count[$cat] . ")"; } echo '

'; echo '
'; } ?>

Centuries:

century_prefs as $cent) { echo '

' . $century_name[$cent] . '

'; } ?>

id == $curr_user->id) { ?>

Comments:

Comments are comments ? '' : 'not '; ?>allowed on your projects by default.

You will comments ? '' : 'not '; ?>be notified of comments on your projects.

You will comments ? '' : 'not '; ?>be notified of replies to your comments.

No user was selected!