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.

72 lines
2.5 KiB

  1. <?=form_open()?>
  2. <div data-ax-tbl>
  3. <div data-ax-tr>
  4. <div data-ax-td class="width-100">
  5. <div data-ax-td-label>제목</div>
  6. <div data-ax-td-wrap>
  7. <p class="form-control-static"><?=$view['qna_title']?></p>
  8. </div>
  9. </div>
  10. </div>
  11. <div data-ax-tr>
  12. <div data-ax-td>
  13. <div data-ax-td-label>작성자</div>
  14. <div data-ax-td-wrap>
  15. <p class="form-control-static"><?=$view['qna_name']?></p>
  16. </div>
  17. </div>
  18. <div data-ax-td>
  19. <div data-ax-td-label>연락처</div>
  20. <div data-ax-td-wrap>
  21. <p class="form-control-static"><?=$view['qna_phone']?></p>
  22. </div>
  23. </div>
  24. <div data-ax-td>
  25. <div data-ax-td-label>E-mail</div>
  26. <div data-ax-td-wrap>
  27. <p class="form-control-static"><?=$view['qna_email']?></p>
  28. </div>
  29. </div>
  30. </div>
  31. <div data-ax-tr>
  32. <div data-ax-td class="width-100">
  33. <div data-ax-td-label>내용</div>
  34. <div data-ax-td-wrap>
  35. <p class="form-control-static"><?=nl2br($view['qna_content'])?></p>
  36. </div>
  37. </div>
  38. </div>
  39. <div data-ax-tr>
  40. <div data-ax-td>
  41. <div data-ax-td-label>답변작성여부</div>
  42. <div data-ax-td-wrap>
  43. <p class="form-control-static"><?=$view['qna_ans_status']=='Y'?'답변완료':'미답변'?></p>
  44. </div>
  45. </div>
  46. <div data-ax-td>
  47. <div data-ax-td-label>답변작성자</div>
  48. <div data-ax-td-wrap>
  49. <p class="form-control-static"><?=$view['qna_ans_status']=='Y'?$view['qna_ans_upd_username']:''?></p>
  50. </div>
  51. </div>
  52. <div data-ax-td>
  53. <div data-ax-td-label>답변작성시간</div>
  54. <div data-ax-td-wrap>
  55. <p class="form-control-static"><?=$view['qna_ans_status']=='Y'?$view['qna_ans_upd_datetime']:''?></p>
  56. </div>
  57. </div>
  58. </div>
  59. <div data-ax-tr>
  60. <div data-ax-td class="width-100">
  61. <div data-ax-td-label>답변 작성</div>
  62. <div data-ax-td-wrap>
  63. <textarea class="form-control" name="qna_ans_content" data-autosize rows="4"><?=$view['qna_ans_content']?></textarea>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. <div class="text-center MT15">
  69. <button class="btn btn-primary">답변 작성하기</button>
  70. </div>
  71. <?=form_close()?>