diff --git a/preferences.php b/preferences.php index 0cad550..b8d6872 100644 --- a/preferences.php +++ b/preferences.php @@ -12,10 +12,25 @@ if (!empty($_POST['oldpass'])) { include_once ('includes/update-password.php'); } +if (!empty($_POST['prefacc'])) { + //this section contains code to set the users preferred game account + #include_once ('includes/set-prefacc.php'); + echo 'this line will go away once the include file is completed!
'; +} echo '

Change e-mail or password

'; // select which GW account you want to default to # needed code: select accid from table gwaccounts, store it in prefacc in table userinfo +echo '
'; +echo '
Preferred GW account
'; // select which character from your GW account you want to default to # needed code: select charrid from table gwchars selected by accid