getUserID()); if (isPost()) { if (isset($i_chgpw)) { $p1 = (isset($i_p[1])?$i_p[1]:''); $p2 = (isset($i_p[2])?$i_p[2]:''); if (empty($p1)) { $err[] = 'You may not have a blank password.'; } elseif ($p1 != $p2) { $err[] = 'Your confirmation password does not match.'; } else { $User->setPassword($p1); $msg[] = 'Your password was changed.'; } } } include 'tpl/setup.php'; ?>