├── app ├── .htaccess ├── frontend │ ├── includes │ │ ├── errors │ │ │ └── 404.php │ │ ├── footer.php │ │ ├── messages.php │ │ ├── navbar.php │ │ └── header.php │ ├── assets │ │ ├── css │ │ │ ├── profile.css │ │ │ └── login-form.css │ │ └── js │ │ │ ├── login-form.js │ │ │ └── profile.js │ └── pages │ │ ├── login.php │ │ ├── register.php │ │ ├── update-account.php │ │ ├── profile.php │ │ └── home.php ├── backend │ ├── auth │ │ ├── user.php │ │ ├── logout.php │ │ ├── delete-account.php │ │ ├── profile.php │ │ ├── cookie.php │ │ ├── config.php │ │ ├── login.php │ │ ├── register.php │ │ └── update-account.php │ ├── core │ │ ├── Init.php │ │ ├── Hash.php │ │ ├── Config.php │ │ ├── Redirect.php │ │ ├── Cookie.php │ │ ├── Helpers.php │ │ ├── Password.php │ │ ├── Input.php │ │ ├── Session.php │ │ └── Database.php │ └── classes │ │ ├── Token.php │ │ ├── Validation.php │ │ └── User.php └── setup │ └── php_boilerplate.sql ├── logout.php ├── delete-account.php ├── test.php ├── login.php ├── index.php ├── profile.php ├── register.php ├── update-account.php ├── start.php └── README.md /app/.htaccess: -------------------------------------------------------------------------------- 1 | Options --Indexes 2 | 3 | -------------------------------------------------------------------------------- /app/frontend/includes/errors/404.php: -------------------------------------------------------------------------------- 1 | Oops, That Page Cannot be Found! 2 | -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/backend/auth/user.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/backend/auth/logout.php: -------------------------------------------------------------------------------- 1 | logout(); 5 | 6 | Redirect::to('index.php'); 7 | -------------------------------------------------------------------------------- /app/backend/auth/delete-account.php: -------------------------------------------------------------------------------- 1 | deleteMe(); 5 | 6 | Redirect::to('index.php'); 7 | -------------------------------------------------------------------------------- /app/frontend/includes/footer.php: -------------------------------------------------------------------------------- 1 | 2 |
Footer
4 |