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.

95 lines
4.1 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
7 years ago
7 years ago
  1. <div data-ax-tbl>
  2. <div data-ax-tr>
  3. <div data-ax-td>
  4. <div data-ax-td-label>닉네임</div>
  5. <div data-ax-td-wrap>
  6. <input class="form-control" value="<?=$mem['mem_nickname']?>" readonly>
  7. </div>
  8. </div>
  9. <div data-ax-td>
  10. <div data-ax-td-label>상태</div>
  11. <div data-ax-td-wrap>
  12. <?php
  13. if($mem['mem_status'] == 'Y') :
  14. $status = '정상';
  15. elseif($mem['mem_status'] == 'D') :
  16. $status = '접근금지';
  17. elseif($mem['mem_status'] == 'H') :
  18. $status = '휴면';
  19. else :
  20. $status = '탈퇴';
  21. endif;
  22. ?>
  23. <p class="form-control-static"><?=$status?></p>
  24. </div>
  25. <div data-ax-td-wrap>
  26. <?php if($mem['mem_status'] == 'H') : ?>
  27. <a href="#" class="btn btn-default btn-sm" onclick="APP.MEMBER.STATUS_CHANGE('<?=$mem['mem_idx']?>','<?=$mem['mem_status']?>','Y')"><i class="far fa-user-secret"></i> 휴면 해제</a>
  28. <?php elseif( $mem['mem_status'] == 'Y' ) :?>
  29. <a href="#" class="btn btn-default btn-sm" onclick="APP.MEMBER.STATUS_CHANGE('<?=$mem['mem_idx']?>','<?=$mem['mem_status']?>','D')"><i class="far fa-ban"></i> 로그인 금지</a>
  30. <?php elseif( $mem['mem_status'] == 'D' ) :?>
  31. <a href="#" class="btn btn-default btn-sm" onclick="APP.MEMBER.STATUS_CHANGE('<?=$mem['mem_idx']?>','<?=$mem['mem_status']?>','Y')"><i class="far fa-ban"></i> 로그인 금지 해제</a>
  32. <?php endif;?>
  33. </div>
  34. </div>
  35. </div>
  36. <div data-ax-tr>
  37. <div data-ax-td>
  38. <div data-ax-td-label>아이디</div>
  39. <div data-ax-td-wrap><input class="form-control" value="<?=$mem['mem_userid']?>" readonly></div>
  40. </div>
  41. <div data-ax-td>
  42. <div data-ax-td-label>비밀번호</div>
  43. <div data-ax-td-wrap>
  44. <a href="<?=base_url('admin/members/password/'.$mem['mem_idx'])?>" class="btn btn-default btn-sm"><i class="fal fa-lock"></i> 비밀번호 변경</a>
  45. </div>
  46. </div>
  47. </div>
  48. <div data-ax-tr>
  49. <div data-ax-td>
  50. <div data-ax-td-label>E-mail</div>
  51. <div data-ax-td-wrap> <input class="form-control" value="<?=$mem['mem_email']?>" readonly></div>
  52. </div>
  53. <div data-ax-td>
  54. <div data-ax-td-label>휴대폰</div>
  55. <div data-ax-td-wrap>
  56. <input class="form-control" value="<?=$mem['mem_phone']?>" readonly>
  57. </div>
  58. </div>
  59. </div>
  60. <div data-ax-tr>
  61. <div data-ax-td>
  62. <div data-ax-td-label>성별</div>
  63. <div data-ax-td-wrap>
  64. <input class="form-control" value="<?=$mem['mem_gender']=='M'?'남':($mem['mem_gender']=='F'?'여':'미공개')?>" readonly>
  65. </div>
  66. </div>
  67. <div data-ax-td>
  68. <div data-ax-td-label>권한 레벨</div>
  69. <div data-ax-td-wrap>
  70. <p class="form-control-static"><?=$mem['mem_auth']?></p>
  71. </div>
  72. </div>
  73. </div>
  74. <div data-ax-tr>
  75. <div data-ax-td>
  76. <div data-ax-td-label>E-mail</div>
  77. <div data-ax-td-wrap>
  78. <p class="form-control-static">수신 <?=$mem['mem_recv_email']=='Y'?'동의':'거부'?></p>
  79. </div>
  80. </div>
  81. <div data-ax-td>
  82. <div data-ax-td-label>SMS</div>
  83. <div data-ax-td-wrap>
  84. <p class="form-control-static">수신 <?=$mem['mem_recv_sms']=='Y'?'동의':'거부'?></p>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. <div class="H20"></div>
  90. <div class="text-center">
  91. <a href="<?=base_url('admin/members/modify/'.$mem['mem_idx'])?>" class="btn btn-default MR10"><i class="far fa-pencil"></i> 정보 수정</a>
  92. <a href="#" class="btn btn-danger" onclick="APP.MEMBER.STATUS_CHANGE('<?=$mem['mem_idx']?>','<?=$mem['mem_status']?>','N')"><i class="far fa-user-secret"></i> 회원 탈퇴</a>
  93. </div>