• Mahmoud Aglan's avatar
    feat: challenges + battlepass now read from DB tables (admin-configurable) · f96c69db
    Mahmoud Aglan authored
    challenges.php:
    - Reads challenge_templates from DB instead of hardcoded array
    - Admin can add/remove/edit challenge types via management panel
    - Fallback to 3 basic challenges if DB is empty
    
    battlepass.php:
    - Reads active season from 'seasons' table instead of hardcoded config
    - Admin can create new seasons, set dates, tiers, XP requirements
    - Fallback to Season 1 defaults if no active season
    
    Both APIs now fully driven by database:
    - Management panel writes to tables → Player app reads automatically
    - No more hardcoded game config in PHP files
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    f96c69db
Name
Last commit
Last update
..
achievements.php Loading commit data...
activity.php Loading commit data...
analysis.php Loading commit data...
auth.php Loading commit data...
battlepass.php Loading commit data...
bots.php Loading commit data...
branding.php Loading commit data...
challenges.php Loading commit data...
config.php Loading commit data...
daily-reward.php Loading commit data...
domino.php Loading commit data...
friends.php Loading commit data...
game.php Loading commit data...
leaderboard.php Loading commit data...
ludo-match.php Loading commit data...
ludo.php Loading commit data...
match-history.php Loading commit data...
matchmaking.php Loading commit data...
multiplayer.php Loading commit data...
notifications.php Loading commit data...
orgs.php Loading commit data...
profile.php Loading commit data...
puzzles.php Loading commit data...
ratings.php Loading commit data...
shop.php Loading commit data...
swiss.php Loading commit data...
theme.php Loading commit data...
tournaments.php Loading commit data...