<?php
/**
 * get_award_showcase.php
 * GetAllGameList.php-এর awardRecordList থেকে Data এনে দেয় —
 * Decorative "Big Wins" Showcase-এর জন্য।
 * ⚠️ এই Data Static/Template-Data, আসল Live-Winner না।
 */
header('Content-Type: application/json; charset=utf-8');
header('Access-Control-Allow-Origin: *');

$jsonPath = __DIR__ . '/deepanshu/api/webapi/GetAllGameList.php';
$rawContent = @file_get_contents($jsonPath);
$gameData = json_decode($rawContent, true);

$records = $gameData['data']['awardRecordList'] ?? [];

echo json_encode(['code' => 0, 'records' => $records]);
