if ($ac_act=="new") { echo "
New account.
\n"; ac_show_register_form("new"); } elseif ($ac_act=="change") { echo "Change account.
\n"; ac_show_register_form("change"); } else { if (!$_SESSION['userlevel']) { echo "Status: not logged in.
"; ac_show_login_form(); echo "
If you want to download and use the AOMX program, you must be a registered user. Registration is free of charge and gives you access to the program source code and to the discusion section of this site. To setup an account, please click "; echo "here.
\n"; } else { echo "Status: logged in as $_SESSION[user].
\n"; ac_show_logout_form(); echo "If you want to modify your registation data, please click "; echo "here.
\n"; } } ?>