'; if (isset($_SESSION['prefaccname']) && ($_SESSION['prefcharname'])) { echo '
| Currently selected game account: ' . $_SESSION['prefaccname'] . ' | Current character: ' . $_SESSION['prefcharname'] . ' |

'; } // the footer just adds a logout button at the bottom of every page for the currently logged in user if (isset($_SESSION['userid']) && ($_SESSION['username'])) { echo '


'; } ?>