@{ var hasResult = !string.IsNullOrEmpty(Model.lastResult); var resultBalls = hasResult ? Model.lastResult.Split(',') : null; if (hasResult && resultBalls.Length < 6) { var temp = new string[6]; for (int i = 0; i < 6; i++) temp[i] = i < resultBalls.Length ? resultBalls[i] : "0"; resultBalls = temp; } }
@{ var currentLang = System.Threading.Thread.CurrentThread.CurrentCulture.Name; var isEnglish = currentLang == "fr"; }
Avatar

@(Model?.profile?.users ?? "User")

@Utils.FormatMoney(Model?.userStatus?.bet_coin) @Lang.millions_htg

@Lang.millions_next_round

@Utils.FormatResultDate(Model.nextRoundDate)

@Lang.millions_jackpot_prize_to

@Utils.FormatMoney(Model.bolet ?? "30000000")@Lang.millions_htg

@if (hasResult) {
@Lang.results @Utils.FormatResultDate(Model.lastResultDate)
@Lang.millions_view_all_results
@for (int i = 0; i < 5; i++) {
@resultBalls[i]
}
@resultBalls[5] MB
} else {
}
@{ ViewData["ActiveTab"] = "Home"; } @await Html.PartialAsync("~/Areas/Millions/Views/Shared/_BottomNavbar.cshtml")