Contribution is greatly appriciated.
Default login:admin
:admin
Join our discord community: https://discord.io/codingbay
- OOP PHP
- HTML5
- Bootstrap
- PDO
- Prepared Statements
- SQL injection proof
- XSS proof
- User does not interact with DB directly. All requests are handled by Controllers before sending data to Models.
- Login
- Register (Invite only)
- Change password
- Activate subscription with code (32 days)
- Download loader (Needs a sub)
- Generate invite code
- Generate subscription code
- Ban/unban user
- Make user admin/non-admin
- Reset HWID
- Set cheat detected/undetected
- Set maintenance/non-maintenance
- Set cheat version
- Sends user data in JSON format on call
- Usage:
api.php?user={username}&pass={password}&hwid={hwid}&key={key}
- Example:
api.php?user=admin&pass=YWRtaW4=&hwid=aHdpZA==&key=yes
- Usage:
- SessionController
- isLogged -
Returns true if user is logged, else false.
- isAdmin -
Returns true if user is admin, else false.
- isBanned -
Returns true if user is banned, else false.
- isLogged -
- UtilController
- navbar -
Calls include/navbar.inc.php in the page.
- footer -
Calls include/footer.inc.php in the page.
- head -
Calls include/head.inc.php in the page. Pass page title into this.
Requires 1 parameter. - redirect -
Redirects to paramter provided.
Requires 1 parameter. - display -
Sanitzes the parameter with htmlspecialchars.
Requires 1 parameter.
- navbar -
- Change DB info in core/Database.php
- Import DB.sql file
- Change Site info in core/Config.php
Installation Guide: https://www.youtube.com/watch?v=DwzP4ZSHwHw
- Awesome OOP tutorials: https://www.youtube.com/playlist?list=PL0eyrZgxdwhypQiZnYXM7z7-OTkcMgGPh
- Reference MVC model: https://github.com/Darynazar/login-register-script-mvc