source: pro-violet-viettel/sourcecode/application/modules/admin/views/cardlog/listview.php @ 503

Last change on this file since 503 was 430, checked in by namnd, 11 years ago
File size: 6.4 KB
Line 
1<div class="breadcrumbs" id="breadcrumbs">
2        <ul class="breadcrumb">
3                <li>
4                        <i class="icon-home home-icon"></i>
5                        <a href="#">Trang chá»§</a>
6                </li>
7                <li><a href="#">Báo cáo</a></li>
8                <li class="active">Card logs</li>
9        </ul><!-- .breadcrumb -->
10
11        <div class="nav-search" id="nav-search">
12                <form class="form-search">
13                        <span class="input-icon">
14                                <input type="text" placeholder="Tìm kiếm ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
15                                <i class="icon-search nav-search-icon"></i>
16                        </span>
17                </form>
18        </div><!-- #nav-search -->
19</div>
20
21<div class="page-content">
22
23        <div class="row">
24                <div class="col-xs-12">
25            <!-- PAGE CONTENT BEGINS -->
26            <div style="padding-bottom:4px" class="table-header">
27                Danh sách log
28            </div>
29                        <!-- PAGE CONTENT BEGINS -->
30                        <div class="table-responsive">
31                <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper">
32                    <form onsubmit="return false;" id="cardlog" >
33                        <div class="row">
34                            <div class="col-sm-6">
35                                <div id="sample-table-2_length" class="dataTables_length"><label>Hiện thị
36                                        <select onchange="filter();" name="items" size="1" aria-controls="sample-table-2">                                     
37                                            <?php foreach ($itemsoptions as $option) { ?>
38                                            <option <?php if($option == $perpage) echo "selected"; ?> value="<?=$option?>"><?=$option?></option>
39                                            <?php } ?>
40                                        </select> bản ghi</label>
41
42                                </div>
43                            </div>
44
45                            <div class="col-sm-6">
46                                <div class="dataTables_filter" id="sample-table-2_filter">
47                                    <label>Tìm kiếm:
48                                        <input type="text" name="keyword" id="keyword" value="<?php echo $keyword;?>" aria-controls="sample-table-2"></label>
49                                </div>
50                            </div>
51                        </div>
52                        <input type="hidden" name="sorting_order" id="sorting_order" value="<?php echo $sorting_order;?>" />
53                        <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field;?>"/>
54                    </form>
55                                <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info">
56                                        <thead>
57                                                <tr>
58                                                        <th class="center sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 44px;" aria-label="">
59                                                                <label>
60                                                                        <input type="checkbox" class="ace">
61                                                                        <span class="lbl"></span>
62                                                                </label>
63                                                                </th>
64                                                        <th class="<?php if ($sorting_field == 'sender') {echo $sorting_order;} else {echo "sorting";} ?>" id="sender" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Người gá»­i: activate to sort column ascending">Người gá»­i</th>
65                                                        <th class="<?php if ($sorting_field == 'us_id') {echo $sorting_order;} else {echo "sorting";} ?>" id="us_id" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Tài khoản: activate to sort column ascending">Tài khoản</th>
66                                                        <th class="<?php if ($sorting_field == 'pin_code') {echo $sorting_order;} else {echo "sorting";} ?>" id="pin_code" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Mã pin: activate to sort column ascending">Mã pin</th>
67                                                        <th class="<?php if ($sorting_field == 'serial_number') {echo $sorting_order;} else {echo "sorting";} ?>" id="serial_number" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Số seri: activate to sort column ascending">Số seri</th>
68                                                        <th class="<?php if ($sorting_field == 'card_value') {echo $sorting_order;} else {echo "sorting";} ?>" id="card_value" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Giá trị thẻ nạp: activate to sort column ascending">Giá trị thẻ nạp</th>
69                                                        <th class="<?php if ($sorting_field == 'created_time') {echo $sorting_order;} else {echo "sorting";} ?>" id="created_time" class="hidden-480" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Thời gian: activate to sort column ascending">
70                                                                <i class="icon-time bigger-110 hidden-480"></i>
71                                                                Thời gian nạp
72                                                        </th>
73                                                </tr>
74                                        </thead>
75
76                                        <tbody role="alert" aria-live="polite" aria-relevant="all">
77                                                <?php foreach ($cardlogs as $cardlog): ?>
78                                                <tr>
79                                                        <td class="center">
80                                                                <label>
81                                                                        <input type="checkbox" class="ace" />
82                                                                        <span class="lbl"></span>
83                                                                </label>
84                                                        </td>
85
86                                                        <td>
87                                                                <a href="#"><?php echo $cardlog['sender']; ?></a>
88                                                        </td>
89                                                        <td><?php echo $cardlog['username']; ?></td>
90                                                        <td><?php echo $cardlog['pin_code']; ?></td>
91                                                        <td><?php echo $cardlog['serial_number']; ?></td>
92                                                        <td><?php echo $cardlog['card_value']; ?></td>
93                                                        <td><?php echo $cardlog['created_time']; ?></td>
94                                                </tr>
95                                                <?php endforeach; ?>
96                                        </tbody>
97                                </table>
98                                <div class="row"><div class="col-sm-6">
99                                                        <div class="dataTables_info" id="sample-table-2_info">Hiển thị <?php echo ($start+1)?> đến <?php echo ($start+$perpage)?> cá»§a <?php echo $total?> bản ghi</div>
100                                   
101                                                        </div>
102                                                        <div class="col-sm-6">
103                                                                <div class="dataTables_paginate paging_bootstrap">
104                                                                        <ul class="pagination">
105                                                                                <?php echo $paging; ?>
106                                                                        </ul>
107                                                                </div>
108                                                        </div>
109                                                </div>
110                        </div><!-- /.table-responsive -->
111
112                        <!-- PAGE CONTENT ENDS -->
113                </div><!-- /.col -->
114        </div><!-- /.row -->
115</div><!-- /.page-content -->
116<script type="text/javascript">
117    window.onload = function ()
118    {
119        init_page();
120    }
121
122
123</script>
Note: See TracBrowser for help on using the repository browser.