online_player.blade.php 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. {{ __('auto.当前在线玩家明细') }}
  12. </h3>
  13. <nav aria-label="breadcrumb">
  14. <ol class="breadcrumb">
  15. <li class="breadcrumb-item"><a href="#">{{ __('auto.实时数据') }}</a></li>
  16. <li class="breadcrumb-item active" aria-current="page">{{ __('auto.当前在线玩家明细') }}</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">{{ __('auto.当前在线玩家明细') }}</h4>
  25. <table class="table table-bordered">
  26. <thead>
  27. <tr>
  28. <th width="5%">{{ __('auto.编号') }}</th>
  29. <th width="10%">{{ __('auto.游戏编号') }}</th>
  30. <th width="10%">{{ __('auto.昵称') }}</th>
  31. <th width="10%">{{ __('auto.携带金币') }}</th>
  32. <th width="10%">{{ __('auto.银行金币') }}</th>
  33. <th width="10%">{{ __('auto.登录时间') }}</th>
  34. <th width="10%">{{ __('auto.进入房间游戏') }}</th>
  35. <th width="10%">{{ __('auto.游戏名') }}</th>
  36. <th width="5%">{{ __('auto.操作') }}</th>
  37. </tr>
  38. </thead>
  39. <tbody>
  40. @foreach($list as $k=>$v)
  41. <tr>
  42. <td>{{ $v->UserID }}</td>
  43. <td>{{ $v->GameID }}</td>
  44. <td>{{ $v->NickName }}</td>
  45. <td>{{ $v->Score }}</td>
  46. <td>{{ $v->BankScore}}</td>
  47. <td>{{ $v->LastLogonDate }}</td>
  48. <td>{{ $v->CollectDate }}</td>
  49. <td>{{ $v->ServerName }}</td>
  50. <td><a href="/admin/user/list?user_id={{$v->UserID}}" class="btn btn-sm btn-gradient-info btn-icon-text">{{ __('auto.查看') }}</a></td>
  51. </tr>
  52. @endforeach
  53. </tbody>
  54. </table>
  55. <div class="box-footer clearfix">
  56. {{ __('auto.总共') }} <b>{{ $list->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  57. {!! $list->links() !!}
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <script>
  66. $(function(){
  67. cutStr(50);
  68. });
  69. function update(id){
  70. myConfirm("{{ __('auto.处理操作不可逆,是否继续') }}?",function(){
  71. myRequest("/admin/accusation/edit/"+id,"post",{},function(res){
  72. layer.msg(res.msg)
  73. setTimeout(function(){
  74. window.location.reload();
  75. },1500)
  76. });
  77. });
  78. }
  79. function del(id){
  80. myConfirm("{{ __('auto.删除操作不可逆,是否继续') }}?",function(){
  81. myRequest("/admin/accusation/del/"+id,"post",{},function(res){
  82. layer.msg(res.msg)
  83. setTimeout(function(){
  84. window.location.reload();
  85. },1500)
  86. });
  87. });
  88. }
  89. </script>
  90. @endsection