<div class="page-content" >
  <div class="row">


    <div class="col-xs-12" style="height:390px">
      <table class="table table-striped table-bordered table-hover">
        <thead>
          <tr>
            <th data-i18n="pay.changeStatus"></th>
            <th data-i18n="pay.changeObjectId"></th>
            <th data-i18n="pay.changeCreditNum"></th>
            <th data-i18n="pay.changeCreditUser"></th>
            <th data-i18n="pay.changeTime"></th>
          </tr>
        </thead>
        <tbody id="table">
        </tbody>
      </table>
    </div>

    <div class="col-xs-6">
      <div class="dataTables_info" id="dynamic-table_info" role="status" aria-live="polite">

        <!--<button data-i18n="[title]operation.search" class="btn btn-white btn-yellow btn-bold" onclick="buttonSearch();">
          <span><i class="ace-icon fa fa-search bigger-120 yellow"></i></span>
        </button>-->

      </div>
    </div>


    <div class="col-xs-6">
      <div class="dataTables_paginate paging_simple_numbers" id="tablePage">
      </div>
    </div>


  </div>
</div>

<textarea id="templateTable" style="display:none">

  {{#empty}}
  <tr>
    <td align="center" colspan="8" data-i18n="message.emptyRecord"></td>
  </tr>
  {{/empty}}

  {{#data}}
  <tr>
      <td class="{{color}}" data-i18n="pay.{{category_text}}"></td>
      <td>{{object_id}}</td>
      <td class="{{color}}">{{num}}</td>
      <td>{{user_point}}</td>
      <td>{{create_time}}</td>
  </tr>
  {{/data}}

</textarea>

<script type="text/javascript">

loadTable();

function loadTable(page)
{
  mPage = page ? page : mPage;
  jsonm("pay/credit_list.php" + mPage,"#templateTable","#table");
}

</script>

