From 23618bf8fd34615d8c5e83a00ef0686135eb65a2 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Thu, 9 Aug 2018 07:33:09 -1000 Subject: [PATCH] can select a specific account, but not do anything with it yet --- preferences.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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