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.

57 lines
2.2 KiB

7 years ago
  1. <div class="container">
  2. <div class="page-header">
  3. <h1 class="page-title"><?=$this->site->config('faq_title')?></h1>
  4. <p><?=$this->site->config('faq_description')?></p>
  5. </div>
  6. <div class="row">
  7. <div class="col-sm-4 col-md-3 col-lg-2">
  8. <!-- START:: FAQ 분류 목록 -->
  9. <ul class="nav nav-pills nav-stacked">
  10. <li class="<?=($current_category=="")?'active':''?>"><a href="<?=base_url('customer/faq')?>">전체보기 (<?=$total_count?>)</a></li>
  11. <?php foreach($faq_category_list as $cat) : ?>
  12. <li class="<?=$cat['active']?>"><a href="<?=$cat['link']?>"><?=$cat['title']?> (<?=$cat['count']?>)</a></li>
  13. <?php endforeach;?>
  14. </ul>
  15. <!-- END:: FAQ 분류 목록 -->
  16. </div>
  17. <div class="col-sm-8 col-md-9 col-lg-10">
  18. <!-- START:: FAQ 내용-->
  19. <div class="panel panel-default">
  20. <div class="panel-heading">
  21. <h4 class="panel-title"><?=$view['faq_title']?></h4>
  22. </div>
  23. <div class="panel-body">
  24. <?=display_html_content($view['faq_content'], 700)?>
  25. </div>
  26. <div class="panel-footer">
  27. <a class="btn btn-default" href="<?=$link_list?>">목록보기</a>
  28. </div>
  29. </div>
  30. <!-- END:: FAQ 내용-->
  31. <div class="panel panel-default">
  32. <!-- START:: FAQ 실제 목록-->
  33. <table class="table table-striped">
  34. <thead>
  35. <tr>
  36. <th>번호</th>
  37. <th>제목</th>
  38. </tr>
  39. </thead>
  40. <tbody>
  41. <?php foreach($faq_list['list'] as $row) :?>
  42. <tr>
  43. <td><?=$row['nums']?></td>
  44. <td><a href="<?=$row['link']?>"><?=$row['faq_title']?></a></td>
  45. </tr>
  46. <?php endforeach;?>
  47. </tbody>
  48. </table>
  49. <!-- END:: FAQ 실제 목록-->
  50. </div>
  51. </div>
  52. </div>
  53. </div>