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.

81 lines
3.3 KiB

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. <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 data-ax-tbl>
  8. <div data-ax-tr>
  9. <div data-ax-td>
  10. <div data-ax-td-label>닉네임 <span class="text-danger">*</span></div>
  11. <div data-ax-td-wrap>
  12. <input class="form-control" name="mem_nickname" id="mem_nickname" value="<?=$mem['mem_nickname']?>" required>
  13. </div>
  14. </div>
  15. </div>
  16. <div data-ax-tr>
  17. <div data-ax-td>
  18. <div data-ax-td-label>아이디 <span class="text-danger">*</span></div>
  19. <div data-ax-td-wrap>
  20. <input class="form-control" name="mem_userid" id="mem_userid" value="<?=$mem['mem_userid']?>" readonly>
  21. </div>
  22. </div>
  23. </div>
  24. <div data-ax-tr>
  25. <div data-ax-td>
  26. <div data-ax-td-label>이메일 <span class="text-danger">*</span></div>
  27. <div data-ax-td-wrap>
  28. <input class="form-control" name="mem_email" data-regex="email-address" value="<?=$mem['mem_email']?>" required>
  29. </div>
  30. </div>
  31. <div data-ax-td>
  32. <div data-ax-td-label>휴대폰</div>
  33. <div data-ax-td-wrap>
  34. <input class="form-control" name="mem_phone" data-regex="phone-number" value="<?=$mem['mem_phone']?>">
  35. </div>
  36. </div>
  37. </div>
  38. <div data-ax-tr>
  39. <div data-ax-td>
  40. <div data-ax-td-label>성별</div>
  41. <div data-ax-td-wrap>
  42. <select class="form-control" name="mem_gender">
  43. <option value="M" <?=$mem['mem_gender']=='M'?'selected':''?>>남</option>
  44. <option value="F" <?=$mem['mem_gender']=='F'?'selected':''?>>여</option>
  45. <option value="U" <?=$mem['mem_gender']=='U'?'selected':''?>>미설정</option>
  46. </select>
  47. </div>
  48. </div>
  49. <div data-ax-td>
  50. <div data-ax-td-label>권한레벨</div>
  51. <div data-ax-td-wrap>
  52. <select class="form-control" name="mem_auth">
  53. <?php for($i=1; $i<=10; $i++):?>
  54. <option value="<?=$i?>" <?=$mem['mem_auth']==$i?'selected':''?>><?=$i?></option>
  55. <?php endfor;?>
  56. </select>
  57. </div>
  58. </div>
  59. </div>
  60. <div data-ax-tr>
  61. <div data-ax-td>
  62. <div data-ax-td-label>E-mail</div>
  63. <div data-ax-td-wrap>
  64. <label class="w-radio"><input type="radio" name="mem_recv_email" value="Y" <?=$mem['mem_recv_email']=='Y'?'checked':''?>><span>수신 동의</span></label>
  65. </div>
  66. </div>
  67. <div data-ax-td>
  68. <div data-ax-td-label>SMS</div>
  69. <div data-ax-td-wrap>
  70. <label class="w-radio"><input type="radio" name="mem_recv_sms" value="Y" <?=$mem['mem_recv_sms']=='Y'?'checked':''?>><span>수신 동의</span></label>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="text-center MT15">
  76. <button class="btn btn-primary">정보 수정하기</button>
  77. </div>
  78. <?=form_close()?>