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.

83 lines
3.6 KiB

7 years ago
  1. <div class="page-header">
  2. <h2 class="page-title"><?=$mem['mem_nickname']?> 정보수정</h2>
  3. </div>
  4. <?=form_open_multipart(NULL,array('autocomplete'=>'off','class'=>'form-flex'))?>
  5. <?=validation_errors('<p class="alert alert-danger">');?>
  6. <input type="hidden" name="mem_idx" value="<?=$mem['mem_idx']?>">
  7. <div class="form-group">
  8. <label class="control-label">아이디 <span class="text-danger">*</span></label>
  9. <div class="controls">
  10. <input class="form-control form-control-inline" name="mem_userid" id="mem_userid" value="<?=$mem['mem_userid']?>" readonly>
  11. </div>
  12. </div>
  13. <div class="form-group">
  14. <label class="control-label">닉네임 <span class="text-danger">*</span></label>
  15. <div class="controls">
  16. <input class="form-control form-control-inline" name="mem_nickname" id="mem_nickname" value="<?=$mem['mem_nickname']?>">
  17. </div>
  18. </div>
  19. <div class="form-group">
  20. <label class="control-label">이메일 <span class="text-danger">*</span></label>
  21. <div class="controls">
  22. <input class="form-control form-control-inline" name="mem_email" value="<?=$mem['mem_email']?>">
  23. <?php if(USE_EMAIL_VERFY) : ?>
  24. <label><input type="checkbox" name="mem_verfy_email" value="Y" <?=$mem['mem_verfy_email']=='Y'?'checked':''?>>인증 완료</label>
  25. <?php else :?>
  26. <input type="hidden" name="mem_verfy_email" value="Y">
  27. <?php endif;?>
  28. </div>
  29. </div>
  30. <div class="H30"></div>
  31. <div class="form-group">
  32. <label class="control-label">휴대폰</label>
  33. <div class="controls">
  34. <input class="form-control form-control-inline" name="mem_phone" data-regex="phone" value="<?=$mem['mem_phone']?>">
  35. </div>
  36. </div>
  37. <div class="form-group">
  38. <label class="control-label">권한레벨</label>
  39. <div class="controls">
  40. <select class="form-control form-control-inline" name="mem_auth">
  41. <?php for($i=1; $i<=10; $i++):?>
  42. <option value="<?=$i?>" <?=$mem['mem_auth']==$i?'selected':''?>><?=$i?></option>
  43. <?php endfor;?>
  44. </select>
  45. </div>
  46. </div>
  47. <div class="form-group">
  48. <label class="control-label">성별</label>
  49. <div class="controls">
  50. <label class="w-radio"><input type="radio" name="mem_gender" value="M" <?=$mem['mem_gender']=='M'?'checked':''?>><span>남</span></label>
  51. <label class="w-radio"><input type="radio" name="mem_gender" value="F" <?=$mem['mem_gender']=='F'?'checked':''?>><span>여</span></label>
  52. <label class="w-radio"><input type="radio" name="mem_gender" value="U" <?=$mem['mem_gender']=='U'?'checked':''?>><span>미설정</span></label>
  53. </div>
  54. </div>
  55. <div class="form-group">
  56. <label class="control-label">이메일 수신</label>
  57. <div class="controls">
  58. <label class="w-radio"><input type="radio" name="mem_recv_email" value="Y" <?=$mem['mem_recv_email']=='Y'?'checked':''?>><span>수신</span></label>
  59. <label class="w-radio"><input type="radio" name="mem_recv_email" value="N" <?=$mem['mem_recv_email']=='N'?'checked':''?>><span>거부</span></label>
  60. </div>
  61. </div>
  62. <div class="form-group">
  63. <label class="control-label">SMS 수신</label>
  64. <div class="controls">
  65. <label class="w-radio"><input type="radio" name="mem_recv_sms" value="Y" <?=$mem['mem_recv_sms']=='Y'?'checked':''?>><span>수신</span></label>
  66. <label class="w-radio"><input type="radio" name="mem_recv_sms" value="N" <?=$mem['mem_recv_sms']=='N'?'checked':''?>><span>거부</span></label>
  67. </div>
  68. </div>
  69. <div class="H10"></div>
  70. <div class="text-center">
  71. <button class="btn btn-lg btn-primary">정보 수정하기</button>
  72. </div>
  73. <?=form_close()?>