@{ 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; } }
Avatar

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

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

@Lang.next_round

@Utils.FormatResultDate(Model.nextRoundDate)

@Lang.jackpot_prize

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

@if (hasResult) {
@Lang.results @Utils.FormatResultDate(Model.lastResultDate)
View all results
@for (int i = 0; i < 5; i++) {
@resultBalls[i]
}
@resultBalls[5] MB
} else {
}

@Lang.millions_mega_jackpot

@Lang.millions_estimate_jackpot_prize

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

@Lang.millions_be_the_next_millionaire

@{ ViewData["ActiveTab"] = "Home"; } @await Html.PartialAsync("~/Areas/Millions/Views/Shared/_BottomNavbar.cshtml")