HeaderHome.cshtml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. @*
  2. For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
  3. *@
  4. @using LotteryWebApp.Common
  5. @using LotteryWebApp.Languages;
  6. @using LotteryWebApp.Components;
  7. @using LotteryWebApp.Extensions;
  8. @model HeaderHomeModel
  9. @*<style>
  10. h1, h2, h3, h4, h5, h6 {
  11. color: white;
  12. }
  13. </style>*@
  14. @*back ground*@
  15. <style>
  16. .scroll-left {
  17. height: 30px;
  18. overflow: hidden;
  19. position: relative;
  20. background: #F6C600;
  21. color: #030303;
  22. border: 1px solid #F6C600;
  23. border-radius: 20px;
  24. margin-top: 5px;
  25. }
  26. </style>
  27. @{
  28. String topWinner = Context.Session.GetComplexData<String>("topWinner");
  29. }
  30. <div style="position:relative;">
  31. <img class="header-img-main-retangle-above" src="~/img/Home_Layout1.2.png" />
  32. <div class="header-img-ellipse-1">
  33. <img src="~/img/header_above/Ellipse31.png" />
  34. </div>
  35. <div class="header-img-ellipse-2">
  36. <img src="~/img/header_above/Ellipse36.png" />
  37. </div>
  38. <div class="header-img-ellipse-3">
  39. <img src="~/img/header_above/Ellipse37.png" />
  40. </div>
  41. <div class="header-img-ellipse-4">
  42. <img src="~/img/header_above/Ellipse38.png" />
  43. </div>
  44. <div class="account-header-container">
  45. <div class="account-header-box" onclick="actionButton_Click('/Profile')">
  46. <div class="account-header-image">
  47. <img src="@(Model.profile.realPicture != null && Model.profile.realPicture != "" ? Model.profile.picture : "/img/8b6f5f94a53dbc3c8240347693830120.jpg")" />
  48. </div>
  49. <div class="account-header-info">
  50. <div>
  51. <h3 style="color: white;">@Model.profile.fullName</h3>
  52. </div>
  53. <div>
  54. <h4 style="margin:0px;color: white;">@Model.profile.users.Substring(3)</h4>
  55. </div>
  56. </div>
  57. </div>
  58. <div class="row" style="margin-top:10px;">
  59. <div class="col-6">
  60. <div class="text-center text-color-white">
  61. <div class="open-or-close-eye" style="text-align:start;">
  62. <a class="open-eye hide">
  63. <i class="fa fa-solid fa-eye"></i>
  64. @Functions.FormatNumber(Model.userStatus.bet_coin) @Lang.curency
  65. </a>
  66. <a class="close-eye">
  67. <i class="fa fa-solid fa-eye-slash"></i>
  68. <i style="font-size: 20px; vertical-align: middle;">******</i> @Lang.curency
  69. </a>
  70. </div>
  71. </div>
  72. </div>
  73. <div class="col-6">
  74. <div class="text-center text-color-white button-box-animation">
  75. @*<a href="@ViewBag.MyConfig.MyValue/Home/Transfer">*@
  76. <a onclick="navigatorClick('Home/Transfer')">
  77. <img src="~/img/transfer.png" style="vertical-align: text-top" /> @Lang.tranfer_win_money
  78. </a>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. <div>
  85. @{
  86. if (topWinner != null && topWinner.Length > 0)
  87. {
  88. <div class="scroll-left">
  89. <marquee width="100%" style="line-height: 25px;">
  90. @topWinner
  91. </marquee>
  92. </div>
  93. }
  94. else
  95. {
  96. <div class="scroll-left">
  97. <marquee width="100%" style="line-height: 25px;">
  98. @Lang.top_winner
  99. </marquee>
  100. </div>
  101. }
  102. }
  103. </div>
  104. <div style="margin-top: 5px; position:relative;">
  105. <img class="header-img-main-retangle" src="~/img/Home_Layout1.2.1.png" />
  106. <div class="home-category-container">
  107. <div class="row">
  108. <div class="col-4 home-category-box category-noti-container button-box-animation" onclick="actionButton_Click('/BuyTicket')">
  109. <img style="max-width:50px;" src="~/img/menu/ticket.svg" />
  110. <div style="margin-top:5px;">@Lang.play</div>
  111. @* <div class="category-noti">
  112. <img style=" max-width: 22px; height: 22px;" src="~/img/Trust shield_Icon.png" />
  113. </div> *@
  114. </div>
  115. <div class="col-4 home-category-box button-box-animation" onclick="actionButton_Click('/Home/Rules')">
  116. <img style="max-width:50px;" src="~/img/menu/rule.svg" />
  117. @* <i class="fa fa-2x fa-solid fa-book" style="color:white;height: 35px;"></i> *@
  118. <div style="margin-top:5px;">@Lang.rules</div>
  119. </div>
  120. @* <div class="col-3 home-category-box button-box-animation" onclick="actionButton_Click('/Home/Results')">
  121. <img style="max-width:50px;" src="~/img/Result.png" />
  122. <div style="margin-top:5px;">@Lang.results</div>
  123. </div> *@
  124. <div class="col-4 home-category-box button-box-animation" onclick="actionButton_Click('/Home/FAQ')">
  125. <img style="max-width:50px;" src="~/img/menu/faq.svg" />
  126. <div style="margin-top:5px;">@Lang.faq</div>
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. <form id="action-redirect" action="" method="post">
  132. @Html.AntiForgeryToken()
  133. </form>