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 | <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">ThÃŽng tin</th>
|
---|
68 | <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">
|
---|
69 | <i class="icon-time bigger-110 hidden-480"></i>
|
---|
70 | Thá»i gian gá»i
|
---|
71 | </th>
|
---|
72 | </tr>
|
---|
73 | </thead>
|
---|
74 |
|
---|
75 | <tbody role="alert" aria-live="polite" aria-relevant="all">
|
---|
76 | <?php foreach ($smslogs as $smslog): ?>
|
---|
77 | <tr>
|
---|
78 | <td class="center">
|
---|
79 | <label>
|
---|
80 | <input type="checkbox" class="ace" />
|
---|
81 | <span class="lbl"></span>
|
---|
82 | </label>
|
---|
83 | </td>
|
---|
84 |
|
---|
85 | <td>
|
---|
86 | <?php echo $smslog['sender']; ?>
|
---|
87 | </td>
|
---|
88 | <td><?php echo $smslog['servicename']; ?></td>
|
---|
89 | <td><?php echo $smslog['commandcode']; ?></td>
|
---|
90 | <td><?php echo $smslog['info']; ?></td>
|
---|
91 | <td><?php echo $smslog['created_time']; ?></td>
|
---|
92 | </tr>
|
---|
93 | <?php endforeach; ?>
|
---|
94 | </tbody>
|
---|
95 | </table>
|
---|
96 | <div class="row"><div class="col-sm-6">
|
---|
97 | <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>
|
---|
98 |
|
---|
99 | </div>
|
---|
100 | <div class="col-sm-6">
|
---|
101 | <div class="dataTables_paginate paging_bootstrap">
|
---|
102 | <ul class="pagination">
|
---|
103 | <?php echo $paging; ?>
|
---|
104 | </ul>
|
---|
105 | </div>
|
---|
106 | </div>
|
---|
107 | </div>
|
---|
108 | </div><!-- /.table-responsive -->
|
---|
109 |
|
---|
110 | <!-- PAGE CONTENT ENDS -->
|
---|
111 | </div><!-- /.col -->
|
---|
112 | </div><!-- /.row -->
|
---|
113 | </div><!-- /.page-content -->
|
---|
114 | <script type="text/javascript">
|
---|
115 | window.onload = function ()
|
---|
116 | {
|
---|
117 | init_page();
|
---|
118 | }
|
---|
119 | </script> |
---|