Ignore:
Timestamp:
Nov 19, 2014 2:08:05 PM (10 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php

    r570 r574  
    229229                                                                                        <label id="charging" style="display: none;"><span class="icon-refresh icon-refresh-animate"></span> Xin chờ...</label>
    230230                                            <div class="space-4"></div>
    231                                             <a href="#" data-toggle="modal" data-target="#trade-history"><i class="icon-archive"></i> Lịch sá»­ giao dịch</a>
     231                                            <a onclick="tradeHistory(<?php echo $us_id; ?>, 1);" data-toggle="modal"><i class="icon-archive"></i> Lịch sá»­ giao dịch</a>
    232232                                        </div>
    233233                                        <div class="clearfix">
     
    331331                                </th>
    332332                                <th class="center">Số tiền (VNĐ)</th>
    333 
    334333                                <th>
    335334                                    <i class="icon-time bigger-110 hidden-480"></i>
     
    338337                            </tr>
    339338                        </thead>
    340 
    341                         <tbody>
    342                                                         <?php if (isset($paidlogs)) {?>
    343                                                         <?php foreach($paidlogs as $paidlog): ?>
    344                             <tr>
    345                                 <td class="center">
    346                                                                 <?php echo $paidlog['source']; ?>
    347                                 </td>
    348                                 <td class="center"><?php echo number_format($paidlog['amount'], 0); ?></td>
    349                                 <td><?php echo date('d-m-Y H:i:s', strtotime($paidlog['paid_time']));?></td>
    350                             </tr>
    351                                                         <?php endforeach; ?>
    352                                                         <?php }else{ ?>
    353                                                         <tr>
    354                                 <td class="center" colspan=3>Quí vị chưa có giao dịch nào!</td>
    355                                                         </tr>
    356                                                         <?php } ?>
     339                        <tbody id="content-trade-histoty">
    357340                        </tbody>
    358341                    </table>
     342                                        <div>
     343                                                <div class="dataTables_paginate paging_bootstrap">
     344                                                        <ul class="pagination">
     345                                                        </ul>
     346                                                </div>
     347                                        </div>
    359348                </div><!-- /.table-responsive -->
    360349            </div>
     
    498487        var url="<?php echo base_url();?>";
    499488        var current_tab="<?php echo $current_tab;?>";
     489
    500490</script>
    501491<?php
Note: See TracChangeset for help on using the changeset viewer.