Index.cshtml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. @{
  2. ViewData["Title"] = "Index";
  3. Layout = "~/Views/Shared/_Layout.cshtml";
  4. }
  5. @using LotteryWebApp.Languages;
  6. @using LotteryWebApp.Controllers;
  7. @using System.Globalization;
  8. @using LotteryWebApp.Common;
  9. @using LotteryWebApp.Service;
  10. @model ProfileViewModel
  11. <div class="app-content content" style="position:relative">
  12. <div class="content-wrapper buy-ticket-container" style="">
  13. <div class="content-body">
  14. <section class="flexbox-container">
  15. <div class="profile-info-container" style="position:relative; height:200px; margin: -5px;">
  16. <div class="profile-info-box">
  17. @*<img src="@Model.profile.picture" />*@
  18. @*<img src="@(Model.profile.picture != null && Model.profile.picture != "" ? Model.profile.picture : "/img/8b6f5f94a53dbc3c8240347693830120.jpg")" />*@
  19. <div class="account-header-image" style="width:100px; height:100px; margin-bottom: 10px;">
  20. <img src="@(Model.profile.realPicture != null && Model.profile.realPicture != "" ? Model.profile.picture : "/img/8b6f5f94a53dbc3c8240347693830120.jpg")" />
  21. </div>
  22. <h3>
  23. @Model.profile.fullName
  24. </h3>
  25. <h4>
  26. @Model.profile.users
  27. </h4>
  28. </div>
  29. </div>
  30. <div class="" style=" padding: 10px;background: white;">
  31. <div class="button-box-animation">
  32. </div>
  33. <div class="row" style=" margin-top: 35px;">
  34. <div class="col-2">
  35. <img class="image-w-24" src="~/img/Vector4.png" />
  36. </div>
  37. <div class="col-10">
  38. <a class="profile-start-item">@Lang.winning_account</a>
  39. <a class="profile-end-item">@double.Parse(Model.userStatus.bet_coin).ToString("N0",new CultureInfo("en-US")) HTG</a>
  40. <hr class="line2" />
  41. </div>
  42. </div>
  43. <div class="button-box-animation" onclick="actionButton_Click('Profile/ProfileInfo')">
  44. <div class="row" style=" margin-top: 15px;">
  45. <div class="col-2">
  46. <img class="image-w-24" src="~/img/Group 83940.png" />
  47. </div>
  48. <div class="col-10">
  49. <a class="profile-start-item">@Lang.profile</a>
  50. <a class="profile-end-item"><i class="fas fa-solid fa-angle-right"></i></a>
  51. <hr class="line2" />
  52. </div>
  53. </div>
  54. </div>
  55. @* <div class="button-box-animation" onclick="actionButton_Click('/Profile/ChangePassword')">
  56. <div class="row" style=" margin-top: 15px;">
  57. <div class="col-2">
  58. <img class="image-w-24" src="~/img/Group 83940.png" />
  59. </div>
  60. <div class="col-10">
  61. <a class="profile-start-item">@Lang.change_password</a>
  62. <a class="profile-end-item"><i class="fas fa-solid fa-angle-right"></i></a>
  63. <hr class="line2" />
  64. </div>
  65. </div>
  66. </div>*@
  67. <div class="button-box-animation" onclick="actionButton_Click('/Profile/HowToPlay')">
  68. <div class="row" style=" margin-top: 15px;">
  69. <div class="col-2">
  70. <img class="image-w-24" src="~/img/Group 83938.png" />
  71. </div>
  72. <div class="col-10">
  73. <a class="profile-start-item">@Lang.how_to_play</a>
  74. <a class="profile-end-item"><i class="fas fa-solid fa-angle-right"></i></a>
  75. <hr class="line2" />
  76. </div>
  77. </div>
  78. </div>
  79. <div class="button-box-animation" onclick="actionButton_Click('/Home/Rules')">
  80. <div class="row" style=" margin-top: 15px;">
  81. <div class="col-2">
  82. <img class="image-w-24" src="~/img/Group 83939.png" />
  83. </div>
  84. <div class="col-10">
  85. <a class="profile-start-item">@Lang.rules</a>
  86. <a class="profile-end-item"><i class="fas fa-solid fa-angle-right"></i></a>
  87. <hr class="line2" />
  88. </div>
  89. </div>
  90. </div>
  91. <div class="button-box-animation">
  92. <div class="row" style=" margin-top: 15px;">
  93. <div class="col-2">
  94. <img class="image-w-24" src="~/img/Group 83942.png" />
  95. </div>
  96. <div class="col-10">
  97. <a class="profile-start-item">@Lang.contact_us</a>
  98. <a class="profile-end-item" style="font-size: 13px; margin-top: 3px;">*5555# or @Lang.call 111 (1HTG/Min)</a>
  99. <hr class="line2" />
  100. </div>
  101. </div>
  102. </div>
  103. <div class="button-box-animation" onclick="changeLanguage(); return 0;">
  104. <div class="row" style=" margin-top: 15px;">
  105. <div class="col-2">
  106. <a><i class="fas fa-2x fa-globe-asia"></i></a>
  107. </div>
  108. <div class="col-10">
  109. <a class="profile-start-item">@Lang.language</a>
  110. <hr class="line2" />
  111. </div>
  112. </div>
  113. </div>
  114. @{
  115. if (Model.channel == ApiConstants.WEB)
  116. {
  117. <div class="button-box-animation" onclick="actionButton_Click('/Account/Logout')">
  118. <div class="row" style=" margin-top: 15px;">
  119. <div class="col-2">
  120. <img class="image-w-24" src="~/img/Group 83943.png" />
  121. </div>
  122. <div class="col-10">
  123. <a class="profile-start-item">@Lang.logout</a>
  124. <a class="profile-end-item"><i class="fas fa-solid fa-angle-right"></i></a>
  125. <hr class="line2" />
  126. </div>
  127. </div>
  128. </div>
  129. }
  130. }
  131. </div>
  132. </section>
  133. </div>
  134. </div>
  135. </div>
  136. <script>
  137. stopLoading();
  138. </script>