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.

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