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

Last change on this file since 769 was 769, checked in by namnd, 10 years ago
File size: 6.9 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">SMS 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 SMS 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="smslog" >
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="<?php echo $option;?>"><?php echo $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 == 'service_id') {echo $sorting_order;} else {echo "sorting";} ?>" id="service_id" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Dịch vụ: activate to sort column ascending">Dịch vụ</th>
66                                                        <th class="<?php if ($sorting_field == 'commandcode') {echo $sorting_order;} else {echo "sorting";} ?>" id="commandcode" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Mã lệnh: activate to sort column ascending">Mã lệnh</th>
67                                                        -->
68                                                        <th class="<?php if ($sorting_field == 'info') {echo $sorting_order;} else {echo "sorting";} ?>" id="info" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="ThÃŽng tin: activate to sort column ascending">Cú phá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 gá»­i
72                                                        </th>
73                                                        <th class="<?php if ($sorting_field == 'reply') {echo $sorting_order;} else {echo "sorting";} ?>" id="reply" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Trả lời: activate to sort column ascending">Trả lời</th>
74                                                        <th class="<?php if ($sorting_field == 'response_time') {echo $sorting_order;} else {echo "sorting";} ?>" id="response_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">
75                                                                <i class="icon-time bigger-110 hidden-480"></i>
76                                                                Thời gian trả lời
77                                                        </th>
78                                                </tr>
79                                        </thead>
80
81                                        <tbody role="alert" aria-live="polite" aria-relevant="all">
82                                                <?php foreach ($smslogs as $smslog): ?>
83                                                <tr>
84                                                        <td class="center">
85                                                                <label>
86                                                                        <input type="checkbox" class="ace" />
87                                                                        <span class="lbl"></span>
88                                                                </label>
89                                                        </td>
90
91                                                        <td>
92                                                                <?php echo $smslog['sender']; ?>
93                                                        </td>
94                                                        <!--<td><?php echo $smslog['servicename']; ?></td>
95                                                        <td><?php echo $smslog['commandcode']; ?></td>
96                                                        -->
97                                                        <td><?php echo $smslog['info']; ?></td>
98                                                        <td><?php echo $smslog['created_time']; ?></td>
99                                                        <td><?php echo trim(preg_replace('/\s+/', ' ', $smslog['mtbody'])); ?></td>
100                                                        <td><?php echo $smslog['response_time']; ?></td>
101                                                </tr>
102                                                <?php endforeach; ?>
103                                        </tbody>
104                                </table>
105                                <div class="row"><div class="col-sm-6">
106                                                        <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>
107                                   
108                                                        </div>
109                                                        <div class="col-sm-6">
110                                                                <div class="dataTables_paginate paging_bootstrap">
111                                                                        <ul class="pagination">
112                                                                                <?php echo $paging; ?>
113                                                                        </ul>
114                                                                </div>
115                                                        </div>
116                                                </div>
117                        </div><!-- /.table-responsive -->
118
119                        <!-- PAGE CONTENT ENDS -->
120                </div><!-- /.col -->
121        </div><!-- /.row -->
122</div><!-- /.page-content -->
123<script type="text/javascript">
124    window.onload = function ()
125    {
126        init_page();
127    }
128</script>
Note: See TracBrowser for help on using the repository browser.