| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- @*
- For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
- *@
- @using LotteryWebApp.Languages;
- @using LotteryWebApp.Controllers;
- @using LotteryWebApp.Common;
- @using LotteryWebApp.Service;
- @model TermResultHistoryModel
- @{
- for (int i = 0; i < Model.listTerm.Count; i++)
- {
- Term term = Model.listTerm[i];
- string[] data_one = term.numberGame.Split(term.split);
- string[] data_two = term.win4Game.Split(term.split);
- string[] bolet = term.bolet.Split(term.split);
- string[] mayraj = term.mariaj.Split(term.split);
- string[] lotto3 = term.lotto3.Split(term.split);
- <div class="row">
- <div class="col-3" style="text-align:center; padding-left: 25px;">
- @{
- if (Model.termType != Constants.BOULCHANS_CODE)
- {
- if (term.isEvening == Constants.AFTERNOON_CODE)
- {
- <img src="~/img/ico-sun 1.png" />
- }
- else
- {
- <img src="~/img/moon-lg 7.png" />
- }
- }
- }
- <h6>@term.date_random</h6>
- </div>
- <div class="col-9">
- <div>
- @{
- if (Model.termType == Constants.BOULCHANS_CODE)
- {
- string[] boulchains = new string[] { };
- var myList = new List<string>();
- myList.Add(term.result);
- var myArray = myList.ToArray();
- boulchains = myList.ToArray();
- @await Component.InvokeAsync("LotoNumberHistory", new {data= boulchains, term = term, type = Constants.BOULCHANS_CODE,})
- }
- else if (Model.termType == Constants.NEW_YORK_BOLET_CODE)
- {
- @await Component.InvokeAsync("LotoNumberHistory", new {data= data_one, type = Constants.NEW_YORK_NUMBERS_CODE,})
- @await Component.InvokeAsync("LotoNumberHistory", new {data= data_two, type = Constants.NEW_YORK_WIN4_CODE,})
- @await Component.InvokeAsync("LotoNumberHistory", new {data= bolet, type = Constants.NEW_YORK_BOLET_CODE,})
- @await Component.InvokeAsync("LotoNumberHistory", new {data= mayraj, type = Constants.NEW_YORK_MAYRAJ_CODE,})
- @await Component.InvokeAsync("LotoNumberHistory", new {data= lotto3, type = Constants.NEW_YORK_LOTTO3_CODE,})
- }
- else
- {
- @await Component.InvokeAsync("LotoNumberHistory", new {data= data_one, type = Constants.FLORIDA_PICK3_CODE,})
- @await Component.InvokeAsync("LotoNumberHistory", new {data= data_two, type = Constants.FLORIDA_PICK4_CODE,})
- @await Component.InvokeAsync("LotoNumberHistory", new {data= bolet, type = Constants.FLORIDA_BOLET_CODE,})
- @await Component.InvokeAsync("LotoNumberHistory", new {data= mayraj, type = Constants.FLORIDA_MAYRAJ_CODE,})
- @await Component.InvokeAsync("LotoNumberHistory", new {data= lotto3, type = Constants.FLORIDA_LOTTO3_CODE,})
- }
- }
- </div>
- </div>
- </div>
- <hr class="line2" style=" margin: -5px 10px 15px 10px;" />
- }
- }
|