rank.blade.php 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. @extends('base.base')
  2. @section('base')
  3. <!-- 内容区域 -->
  4. <div class="main-panel">
  5. <div class="content-wrapper">
  6. <div class="page-header">
  7. <h3 class="page-title">
  8. <span class="page-title-icon bg-gradient-primary text-white mr-2">
  9. <i class="mdi mdi-settings"></i>
  10. </span>
  11. Game Data Rank
  12. </h3>
  13. <nav aria-label="breadcrumb">
  14. <ol class="breadcrumb">
  15. <li class="breadcrumb-item"><a href="#">User Game Data</a></li>
  16. <li class="breadcrumb-item active" aria-current="page">Game Data Rank</li>
  17. </ol>
  18. </nav>
  19. </div>
  20. <div class="row">
  21. <div class="col-lg-12 grid-margin stretch-card">
  22. <div class="card">
  23. <div class="card-body">
  24. <h4 class="card-title">Game Data Rank</h4>
  25. <form class="well form-inline margin-top-20" method="get" action='/admin/game_data/rank'>
  26. <spen style="padding-left: 10px">{{ __('auto.选择时间:') }}</spen>
  27. <input type="date" step="01" name="date" class="form-control"
  28. value="{{$date}}"/>&nbsp;&nbsp;
  29. <spen style="padding-left: 10px">{{ __('auto.选择排序:') }}</spen>
  30. <select class="form-control" name="sort" value="{{$sort}}" style="color: black">
  31. <option value="">{{ __('auto.选择状态') }}</option>
  32. @foreach($rank as $k=>$v)
  33. <option value="{{$k}}" @if($k==$sort) selected @endif>{{$v}}</option>
  34. @endforeach
  35. </select>
  36. <span style="padding-left: 10px" >{{ __('auto.渠道名称:') }}</span>
  37. <select class="form-control" name="Channel" value="{{$Channel}}" style="color: black">
  38. <option value="">{{ __('auto.全部渠道') }}</option>
  39. @foreach($channels as $key=>$val)
  40. <option value="{{$val}}" @if ( $Channel == $val )
  41. selected
  42. @endif>{{$val}}</option>
  43. @endforeach
  44. </select>
  45. <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.搜索') }}"/>&nbsp;&nbsp;
  46. </form>
  47. <table class="table table-bordered">
  48. <thead>
  49. <tr>
  50. <th width="7%">{{ __('auto.用户') }}ID</th>
  51. <th width="10%">{{ __('auto.游戏昵称') }}</th>
  52. <th width="10%">{{ __('auto.玩家渠道') }}</th>
  53. <th width="10%">Win</th>
  54. <th width="10%">MaxWinScore</th>
  55. <th width="10%">MaxDrawBase</th>
  56. <th width="10%">TotalBet</th>
  57. <th width="10%">Revenue</th>
  58. <th width="10%">Recharge</th>
  59. <th width="10%">Withdraw</th>
  60. <th width="10%">{{ __('auto.最后登录时间') }}</th>
  61. <th width="10%">{{ __('auto.注册时间') }}</th>
  62. </tr>
  63. </thead>
  64. <tbody>
  65. @foreach($list as $k=>$v)
  66. <tr>
  67. <td>
  68. <a href="/admin/global/id_find?UserID={{$v->UserID}}">{{$v->GameID}}</a>
  69. </td>
  70. <td>{{ $v->NickName }}</td>
  71. <td>{{ $v->Channel }}</td>
  72. <td>{{ $v->Score/100 }}</td>
  73. <td>{{ $v->MaxWinScore/100 }}</td>
  74. <td>{{ $v->MaxDrawBase/100 }}</td>
  75. <td>{{ $v->TotalBet/100 }}</td>
  76. <td>{{ $v->Revenue/100 }}</td>
  77. <td>{{ $v->Recharge }}</td>
  78. <td>{{ $v->Withdraw/100 }}</td>
  79. <td>{{ $v->LastLogonDate }}</td>
  80. <td>{{ $v->RegisterDate }}</td>
  81. </tr>
  82. @endforeach
  83. </tbody>
  84. </table>
  85. <div class="box-footer clearfix">
  86. {{ __('auto.总共') }}
  87. <b>{{ $list->appends([
  88. 'date'=>$date,
  89. 'sort'=>$sort,
  90. 'Channel'=>$Channel,
  91. ])->total() }}</b>
  92. {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  93. {!! $list->links() !!}
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. @endsection