You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

129 lines
5.9 KiB

7 years ago
  1. <div class="page-header">
  2. <h1 class="page-title">회원 목록</h1>
  3. </div>
  4. <?=form_open(NULL, array("method"=>'get','class'=>'form-flex','autocomplete'=>'off'))?>
  5. <div class="form-group">
  6. <label class="control-label">기간 검색</label>
  7. <div class="controls">
  8. <select class="form-control form-control-inline" name="sdate">
  9. <option value="regtime">가입일</option>
  10. <option value="logtime">최근로그인</option>
  11. </select>
  12. <input class="form-control form-control-inline" name="startdate" data-toggle="datepicker" value="">
  13. <input class="form-control form-control-inline" name="enddate" data-toggle="datepicker" value="">
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label class="control-label">권한</label>
  18. <div class="controls">
  19. <select class="form-control form-control-inline" name="mem_auth">
  20. <option value="">전체보기</option>
  21. <?php for($i=1; $i<=10; $i++) :?>
  22. <option value="<?=$i?>"><?=$i?></option>
  23. <?php endfor;?>
  24. </select>
  25. </div>
  26. </div>
  27. <div class="form-group">
  28. <label class="control-label">검색어 입력</label>
  29. <div class="controls">
  30. <select class="form-control form-control-inline" name="sc">
  31. <option value="mem_nickname">닉네임</option>
  32. <option value="mem_userid">아이디</option>
  33. </select>
  34. <input class="form-control form-control-inline" name="st" value="">
  35. <button class="btn btn-default btn-lg">필터적용</button>
  36. </div>
  37. </div>
  38. <?=form_close()?>
  39. <div class="H10"></div>
  40. <div class="ax-button-group">
  41. <div class="left">
  42. <button type="button" class="btn btn-default btn-xs"><i class="far fa-gift"></i> 선택 <?=$this->site->config('point_name')?> 지급</button>
  43. <button type="button" class="btn btn-default btn-xs"><i class="far fa-mobile-phone"></i> 선택 SMS 발송</button>
  44. <button type="button" class="btn btn-default btn-xs"><i class="far fa-envelope-o"></i> 선택 메일 발송</button>
  45. </div>
  46. </div>
  47. <div data-ax5grid>
  48. <table>
  49. <thead>
  50. <tr>
  51. <th class="W50 hidden-xs"><input type="checkbox" data-checkbox="member" data-checkbox-all="true"></th>
  52. <th>아이디</th>
  53. <th>닉네임</th>
  54. <th class="">E-mail</th>
  55. <th class="W50">상태</th>
  56. <th class="W50">권한</th>
  57. <th class="W100"><?=$this->site->config('point_name')?></th>
  58. <th class="W50">이메일</th>
  59. <th class="W50">SMS</th>
  60. <th class="hidden-x">소셜연동</th>
  61. <th class="hidden-xs W100">가입일</th>
  62. <th class="hidden-xs W125">가입 IP</th>
  63. <th class="hidden-xs W150">최근로그인</th>
  64. <th class="hidden-xs W125">최근로그인 IP</th>
  65. </tr>
  66. </thead>
  67. <tbody>
  68. <?php foreach($member_list['list'] as $row) :?>
  69. <tr>
  70. <td class="text-center hidden-xs"><input type="checkbox" data-checkbox="member" name="mem_idx[]" value="<?=$row['mem_idx']?>"></td>
  71. <td><?=$row['mem_userid']?></td>
  72. <td><?=$row['mem_nickname']?><?=display_member_menu($row['mem_idx'], '<i class="fal fas far fa-cog"></i>', $row['mem_status'])?></td>
  73. <td><?=$row['mem_email']?></td>
  74. <td class="text-center">
  75. <?php if($row['mem_status'] == 'Y') : ?>
  76. <label class="label label-success">정상</label>
  77. <?php elseif ($row['mem_status'] == 'B') :?>
  78. <label class="label label-danger">금지</label>
  79. <?php elseif ($row['mem_status'] == 'H') :?>
  80. <label class="label label-warning">휴면</label>
  81. <?php else :?>
  82. <label class="label label-default">탈퇴</label>
  83. <?php endif;?>
  84. </td>
  85. <td class="text-center"><?=$row['mem_auth']?></td>
  86. <td class="text-right"><?=number_format($row['mem_point'])?></td>
  87. <td class="text-center"><?=$row['mem_recv_email']=='Y'?'<label class="label label-success">수신</label>':'<label class="label label-default">미수신</label>'?></td>
  88. <td class="text-center"><?=$row['mem_recv_sms']=='Y'?'<label class="label label-success">수신</label>':'<label class="label label-default">미수신</label>'?></td>
  89. <td class="text-center hidden-xs">
  90. <?php if($row['social_naver']) : ?>
  91. <img src="<?=base_url('assets/images/social/icon_naver.png')?>" style="width:22px;">
  92. <?php endif;?>
  93. <?php if($row['social_facebook']) : ?>
  94. <img src="<?=base_url('assets/images/social/icon_facebook.png')?>" style="width:22px;">
  95. <?php endif;?>
  96. <?php if($row['social_google']) : ?>
  97. <img src="<?=base_url('assets/images/social/icon_google.png')?>" style="width:22px;">
  98. <?php endif;?>
  99. <?php if($row['social_kakao']) : ?>
  100. <img src="<?=base_url('assets/images/social/icon_kakao.png')?>" style="width:22px;">
  101. <?php endif;?>
  102. </td>
  103. <td class="hidden-xs text-center"><?=date('Y.m.d', strtotime($row['mem_regtime']))?></td>
  104. <td class="hidden-xs text-center"><?=long2ip($row['mem_regip'])?></td>
  105. <td class="hidden-xs text-center"><?=date('Y.m.d H:i', strtotime($row['mem_logtime']))?></td>
  106. <td class="hidden-xs text-center"><?=long2ip($row['mem_logip'])?></td>
  107. </tr>
  108. <?php endforeach;?>
  109. </tbody>
  110. </table>
  111. </div>
  112. <div class="H10"></div>
  113. <div class="ax-button-group ax-button-group-bottom">
  114. <div class="left">
  115. <?=$pagination?>
  116. </div>
  117. <div class="right">
  118. <a href="<?=base_url('admin/members/add')?>" class="btn btn-default"><i class="far fa-plus-circle"></i> 신규 회원 등록</a>
  119. </div>
  120. </div>
  121. <div class="H30"></div>