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.

70 lines
2.6 KiB

7 years ago
7 years ago
  1. <div class="page-header">
  2. <h1 class="page-title"><?=$mem['mem_nickname']?>님의 <?=$this->site->config('point_name')?> 정보</h1>
  3. </div>
  4. <?=form_open(NULL, array('method'=>'get', 'class'=>'form-flex','autocomplete'=>'off'))?>
  5. <div class="form-group">
  6. <label class="control-label control-label-sm"><?=$this->site->config('point_name')?> 유형</label>
  7. <div class="controls">
  8. <select class="form-control form-control-inline" name="target_type">
  9. <option value="">전체보기</option>
  10. <?php foreach($point_type as $key=>$val) :?>
  11. <option value="<?=$key?>" <?=$target_type==$key?'selected':''?>><?=$val?></option>
  12. <?php endforeach;?>
  13. </select>
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label class="control-label control-label-sm">기간 검색</label>
  18. <div class="controls">
  19. <input class="form-control form-control-inline" name="startdate" value="<?=$startdate?>" data-toggle="datepicker">
  20. <input class="form-control form-control-inline" name="enddate" value="<?=$enddate?>" data-toggle="datepicker">
  21. </div>
  22. </div>
  23. <div class="form-group">
  24. <label class="control-label control-label-sm"></label>
  25. <div class="controls">
  26. <button class="btn btn-default"><i class="far fa-search"></i> 필터적용</button>
  27. </div>
  28. </div>
  29. <?=form_close()?>
  30. <div class="H10"></div>
  31. <div class="grid">
  32. <table>
  33. <thead>
  34. <tr>
  35. <th>번호</th>
  36. <th>일시</th>
  37. <th>유형</th>
  38. <th class="col-sm-6">내용</th>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. <?php foreach($point_list['list'] as $row) :?>
  43. <tr>
  44. <td><?=$row['nums']?></td>
  45. <td><?=$row['mpo_regtime']?></td>
  46. <td><?=point_type($row['target_type'])?></td>
  47. <td><?=$row['mpo_description']?></td>
  48. </tr>
  49. <?php endforeach;?>
  50. <?php if(count($point_list['list']) == 0) :?>
  51. <tr>
  52. <td colspan="4" class="empty"><?=$this->site->config('point_name')?> 내역이 없습니다.</td>
  53. </tr>
  54. <?php endif;?>
  55. </tbody>
  56. </table>
  57. </div>
  58. <div class="H10"></div>
  59. <div class="ax-button-group ax-button-group-bottom">
  60. <div class="left">
  61. <?=$pagination?>
  62. </div>
  63. <div class="right">
  64. <button type="button" class="btn btn-default" onclick="APP.MEMBER.POP_POINT_FORM_ADMIN('<?=$mem['mem_idx']?>');"><i class="far fa-plus-circle"></i> <?=$this->site->config('point_name')?> 등록</button>
  65. </div>
  66. </div>