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.

93 lines
3.9 KiB

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