@gameTitle
@DateTime.Now.ToString("dddd, MMM dd, yyyy", System.Globalization.CultureInfo.InvariantCulture)
@Lang.millions_round
#@(currentTerm?.id ?? "123")
Results for the last 5 days
@{
var pastTerms = ViewBag.PastTerms as List ?? new List();
foreach (var term in pastTerms) {
var rawResult = (term.result ?? "").Trim().ToUpper();
var dateStr = "--";
DateTime dt;
if (DateTime.TryParse(term.date_random, out dt)) {
dateStr = dt.ToString("MMM dd", System.Globalization.CultureInfo.InvariantCulture);
}
var resKey = rawResult;
var resTitle = rawResult;
if (isBigSmall) {
if (rawResult == "S") { resKey = "Small"; resTitle = Lang.Small; }
else if (rawResult == "B") { resKey = "Big"; resTitle = Lang.Big; }
} else {
if (rawResult == "O") { resKey = "Odd"; resTitle = Lang.Odd; }
else if (rawResult == "E") { resKey = "Even"; resTitle = Lang.Even; }
}
var resColor = "";
var bgStyle = "background: linear-gradient(136deg, #FFFAE6 0%, #FFE588 100%);";
var textStyle = "-webkit-text-stroke: 0.5px #000;";
if (resKey == "NA" || string.IsNullOrEmpty(rawResult)) {
bgStyle = "background: #EAEAEA;";
resTitle = "";
textStyle = "";
} else {
if (isBigSmall) {
resColor = resKey == "Big" ? "#A2FF00" : "#FF4157";
} else {
resColor = resKey == "Odd" ? "#FFC700" : "#B33BD0";
}
textStyle += $" color: {resColor};";
}
@dateStr
@resTitle
}
for(int r = pastTerms.Count; r < 5; r++) {
--
}
}
@(isBigSmall ? "Big" : "Odd")
@(isBigSmall ? "13 number from" : "Odd numbers")
@(isBigSmall ? "41-80" : "1, 3, 5, 7, 9")
@(isBigSmall ? "41-80" : "1, 3, 5, 7, 9")
@if (isBigSmall) {
} else {
}
} else {
}
@(isBigSmall ? "Small" : "Even")
@(isBigSmall ? "13 number from" : "Even numbers")
@(isBigSmall ? "01-40" : "0, 2, 4, 6, 8")
@(isBigSmall ? "01-40" : "0, 2, 4, 6, 8")
@if (isBigSmall) {
} else {
}
} else {
}
@Lang.millions_you_choose
—
@Lang.millions_prize_if_win
@prizeAmount
HTG
@Lang.total_ticket:
0
@Lang.millions_estimated_ticket_price
0
HTG