Implement WeaponHandler class to streamline weapon and knife selection logic in index.php, enhancing maintainability and clarity. Refactor weapon update handling to utilize the new class, improving organization and reducing code duplication. Update CSS for improved button styles and layout consistency.

This commit is contained in:
Bram Suurd
2025-06-30 00:56:18 +02:00
parent cc5da9eabb
commit 0d7077063f
4 changed files with 930 additions and 946 deletions

View File

@@ -1,16 +1,15 @@
<?php
define('SKIN_LANGUAGE', 'skins_en');
define('DB_HOST', 'localhost');
define('DB_HOST', '10.0.0.24');
define('DB_PORT', '3306');
define('DB_NAME', '');
define('DB_USER', '');
define('DB_PASS', '');
define('DB_NAME', 'weaponskins_database');
define('DB_USER', 'root');
define('DB_PASS', 'DoOctwqOnohFSMvxLDGhGMaLGMJXjTSZBwROQeQcvFyfhkqEZHTEWMvQprOZLVco');
define('WEB_STYLE_DARK', true);
define('STEAM_API_KEY', '');
define('STEAM_DOMAIN_NAME', '');
define('STEAM_LOGOUT_PAGE', '');
define('STEAM_LOGIN_PAGE', '');
define('STEAM_API_KEY', 'D4EA0D36F688221050E06AF062B5EA48');
define('STEAM_DOMAIN_NAME', 'http://10.0.0.254');
define('STEAM_LOGOUT_PAGE', 'index.php');
define('STEAM_LOGIN_PAGE', 'index.php');