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.

158 lines
7.5 KiB

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