game_online.blade.php 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!doctype html>
  2. @extends('base.base')
  3. @section('base')
  4. <!-- 内容区域 -->
  5. <style type="text/css">
  6. /*.table th {*/
  7. /* padding: 0.5375rem;*/
  8. /* vertical-align: top;*/
  9. /* border-top: 1px solid #ebedf2;*/
  10. /*}*/
  11. </style>
  12. <div class="main-panel">
  13. <div class="content-wrapper">
  14. <div class="page-header">
  15. <h3 class="page-title">
  16. <span class="page-title-icon bg-gradient-primary text-white mr-2">
  17. <i class="mdi mdi-settings"></i>
  18. </span>
  19. {{ __('auto.游戏在线') }}
  20. </h3>
  21. <nav aria-label="breadcrumb">
  22. <ol class="breadcrumb">
  23. <li class="breadcrumb-item"><a href="#">{{ __('auto.游戏在线') }}</a></li>
  24. <li class="breadcrumb-item active" aria-current="page">{{ __('auto.游戏在线') }}</li>
  25. </ol>
  26. </nav>
  27. </div>
  28. <div class="row">
  29. <div class="col-lg-12 grid-margin stretch-card">
  30. <div class="card">
  31. <div class="card-body">
  32. <h4 class="card-title">{{ __('auto.游戏在线') }}</h4>
  33. <form class="well form-inline margin-top-20" method="get"
  34. action='/admin/game/user/online_list'>
  35. <span style="padding-left: 5px">{{ __('auto.游戏:') }}</span>
  36. <select class="form-control" name="GameID" value="{{$GameID}}" id="select" >
  37. <option value="">{{ __('auto.选择游戏') }}</option>
  38. @foreach($games as $k=>$v)
  39. <option value="{{$k}}" @if($k==$GameID) selected @endif >{{$v}}</option>
  40. @endforeach
  41. </select>
  42. <span style="padding-left: 5px">{{ __('auto.房间:') }}</span>
  43. <select class="form-control" name="SortID" value="{{$SortID}}}" id="sortID">
  44. <option value="">{{ __('auto.选择房间') }}</option>
  45. @foreach($type as $k=>$v)
  46. <option value="{{$k}}" @if($k==$SortID) selected @endif >{{$v}}</option>
  47. @endforeach
  48. </select> &nbsp;&nbsp;
  49. <span style="padding-left: 10px">{{ __('auto.用户ID:') }}</span>
  50. <input class="form-control" type="text" name="uid" style="width: 10%; "
  51. value="{{$uid}}" placeholder="{{ __('auto.用户') }}ID">
  52. <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.搜索') }}"/>&nbsp;&nbsp;
  53. <a href="/admin/game/user/online_list"
  54. class="btn btn-sm btn-gradient-warning btn-icon-text">{{ __('auto.清空') }}&{{ __('auto.刷新') }}</a>
  55. </form>
  56. <table class="table table-bordered">
  57. <thead>
  58. <tr>
  59. <th width="6%">{{ __('auto.游戏') }}</th>
  60. <th width="6%">{{ __('auto.房间') }}</th>
  61. <th width="6%">{{ __('auto.用户') }}ID</th>
  62. <th width="6%">{{ __('auto.昵称') }}</th>
  63. <th width="6%">{{ __('auto.渠道') }}</th>
  64. <th width="6%">{{ __('auto.金豆') }}</th>
  65. <th width="6%">{{ __('auto.进入游戏时间') }}</th>
  66. </tr>
  67. </thead>
  68. <tbody>
  69. @foreach($list as $k=>$v)
  70. <tr>
  71. <td>{{ $v->ServerName }}</td>
  72. <td>{{$v->SortID}}</td>
  73. <td ><a href="/admin/global/id_find?UserID={{$v->UserID}}">
  74. {{$v->GameID}}
  75. </a></td>
  76. <td>{{ $v->NickName}}</td>
  77. <td>{{ $v->Channel}}</td>
  78. <td>{{ $v->Score/100 }}</td>
  79. <td>{{$v->CollectDate}}</td>
  80. </tr>
  81. @endforeach
  82. </tbody>
  83. </table>
  84. <div class="box-footer clearfix">
  85. {{ __('auto.总共') }} <b>{{ $list->appends([
  86. 'GameID'=>$GameID,
  87. 'SortID' => $SortID,
  88. 'uid' => $uid
  89. ])->total() }}</b>
  90. {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  91. {!! $list->links() !!}
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. @endsection