1 | <div id="breadcrumbs" class="breadcrumbs"> |
---|
2 | |
---|
3 | <ul class="breadcrumb"> |
---|
4 | <li> |
---|
5 | <i class="icon-home home-icon"></i> |
---|
6 | <a href="#">Trang chá»§</a> |
---|
7 | </li> |
---|
8 | |
---|
9 | <li> |
---|
10 | <a href="#">Quản lÜ tin nhắn</a> |
---|
11 | </li> |
---|
12 | |
---|
13 | </ul><!-- .breadcrumb --> |
---|
14 | |
---|
15 | <div id="nav-search" class="nav-search"> |
---|
16 | <form class="form-search"> |
---|
17 | <span class="input-icon"> |
---|
18 | <input type="text" autocomplete="off" id="nav-search-input" class="nav-search-input" placeholder="Tìm kiếm ..."> |
---|
19 | <i class="icon-search nav-search-icon"></i> |
---|
20 | </span> |
---|
21 | </form> |
---|
22 | </div><!-- #nav-search --> |
---|
23 | </div> |
---|
24 | <div class="page-content"> |
---|
25 | <div class="page-header"> |
---|
26 | <h1> |
---|
27 | Tin nhắn |
---|
28 | <small> |
---|
29 | <i class="icon-double-angle-right"></i> |
---|
30 | Mẫu tin nhắn |
---|
31 | </small> |
---|
32 | </h1> |
---|
33 | </div><!-- /.page-header --> |
---|
34 | |
---|
35 | <div class="row"> |
---|
36 | <div class="col-xs-12"> |
---|
37 | <!-- PAGE CONTENT BEGINS --> |
---|
38 | <div style="padding-bottom:4px" class="table-header"> |
---|
39 | Tin nhắn |
---|
40 | |
---|
41 | <button href="#addSms" data-toggle="modal" class="btn btn-success pull-right"> |
---|
42 | <i class="icon-plus"></i> |
---|
43 | Thêm tin nhắn |
---|
44 | </button> |
---|
45 | |
---|
46 | </div> |
---|
47 | |
---|
48 | <div class="table-responsive"> |
---|
49 | <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper"> |
---|
50 | <form autocomplete="off" onsubmit="return false;" id="collaborator" > |
---|
51 | <div class="row"> |
---|
52 | <div class="col-sm-6"> |
---|
53 | <div id="sample-table-2_length" class="dataTables_length"><label>Hiá»n thá» |
---|
54 | <select onchange="filter();" name="items" size="1" aria-controls="sample-table-2"> |
---|
55 | <?php foreach ($itemsoptions as $option) { ?> |
---|
56 | <option <?php if($option == $perpage) echo "selected"; ?> value="<?=$option?>"><?=$option?></option> |
---|
57 | <?php } ?> |
---|
58 | </select> bản ghi</label> |
---|
59 | |
---|
60 | </div> |
---|
61 | </div> |
---|
62 | |
---|
63 | <div class="col-sm-6"> |
---|
64 | <div class="dataTables_filter" id="sample-table-2_filter"> |
---|
65 | <label>Tìm kiếm: |
---|
66 | <input type="text" name="keyword" id="keyword" value='<?php echo $keyword;?>' aria-controls="sample-table-2"></label> |
---|
67 | </div> |
---|
68 | </div> |
---|
69 | </div> |
---|
70 | <input type="hidden" name="sorting_order" id="sorting_order" value="<?php echo $sorting_order;?>" /> |
---|
71 | <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field;?>"/> |
---|
72 | </form> |
---|
73 | <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info"> |
---|
74 | <thead> |
---|
75 | <tr role="row"> |
---|
76 | <th class="center sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 44px;" aria-label=""> |
---|
77 | <label> |
---|
78 | <input type="checkbox" class="ace"> |
---|
79 | <span class="lbl"></span> |
---|
80 | </label> |
---|
81 | </th> |
---|
82 | |
---|
83 | <th class="<?php if ($sorting_field == 'sms_content') {echo $sorting_order;} else {echo "sorting";}?>" id="sms_content" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 283px;" aria-label="HỠtên: activate to sort column ascending">Mẫu tin nhắn</th> |
---|
84 | <th class="<?php if ($sorting_field == 'sms_reply') {echo $sorting_order;} else {echo "sorting";}?>" id="sms_reply" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Sá» Äiá»n thoại: activate to sort column ascending">Trả lá»i</th> |
---|
85 | <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="Sá» Äiá»n thoại: activate to sort column ascending">Mã dá»ch vụ</th> |
---|
86 | <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: 209px;" aria-label="Ngà y ÄÄng kÜ: activate to sort column ascending"> |
---|
87 | |
---|
88 | Mã câu lá»nh |
---|
89 | </th> |
---|
90 | <th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 133px;" aria-label="">Chức nÄng</th></tr> |
---|
91 | </thead> |
---|
92 | |
---|
93 | |
---|
94 | <tbody role="alert" aria-live="polite" aria-relevant="all"> |
---|
95 | |
---|
96 | <?php |
---|
97 | foreach ($smstemplates as $smstemplate) { |
---|
98 | ?> |
---|
99 | <tr class="odd"> |
---|
100 | <td class="center sorting_1"> |
---|
101 | <label> |
---|
102 | <input type="checkbox" class="ace"> |
---|
103 | <span class="lbl"></span> |
---|
104 | </label> |
---|
105 | </td> |
---|
106 | |
---|
107 | |
---|
108 | <td class=" "><?php echo $smstemplate['sms_content']?></td> |
---|
109 | <td class=" "> |
---|
110 | <a href="#"><?php echo $smstemplate['sms_reply']?></a> |
---|
111 | </td> |
---|
112 | <td class="hidden-480 "><?php echo $smstemplate['service_id']?></td> |
---|
113 | <td class=" "><?php echo $smstemplate['commandcode']?></td> |
---|
114 | |
---|
115 | |
---|
116 | |
---|
117 | <td class=" "> |
---|
118 | <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons"> |
---|
119 | <a href="#" class="blue"> |
---|
120 | <i data-toggle="ajaxModal" href='http://viettel.violet.vn/admin/mau_tin_nhan/xem/<?php echo $smstemplate['sms_id'];?>' class="icon-zoom-in bigger-130"></i> |
---|
121 | </a> |
---|
122 | |
---|
123 | <a href="#" class="green"> |
---|
124 | <i data-toggle="ajaxModal" href='http://viettel.violet.vn/admin/mau_tin_nhan/sua/<?php echo $smstemplate['sms_id'];?>' data-toggle="modal" href='#editUser' class="icon-pencil bigger-130"></i> |
---|
125 | </a> |
---|
126 | |
---|
127 | <a href="#" class="red"> |
---|
128 | <i data-toggle="ajaxModal" href='http://viettel.violet.vn/admin/mau_tin_nhan/xoa/<?php echo $smstemplate['sms_id'];?>' data-toggle="modal" href='#deleteUser' class="icon-trash bigger-130"></i> |
---|
129 | </a> |
---|
130 | </div> |
---|
131 | |
---|
132 | <div class="visible-xs visible-sm hidden-md hidden-lg"> |
---|
133 | <div class="inline position-relative"> |
---|
134 | <button data-toggle="dropdown" class="btn btn-minier btn-yellow dropdown-toggle"> |
---|
135 | <i class="icon-caret-down icon-only bigger-120"></i> |
---|
136 | </button> |
---|
137 | |
---|
138 | <ul class="dropdown-menu dropdown-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close"> |
---|
139 | <li> |
---|
140 | <a title="" data-rel="tooltip" class="tooltip-info" href="#" data-original-title="View"> |
---|
141 | <span class="blue"> |
---|
142 | <i class="icon-zoom-in bigger-120"></i> |
---|
143 | </span> |
---|
144 | </a> |
---|
145 | </li> |
---|
146 | |
---|
147 | <li> |
---|
148 | <a title="" data-rel="tooltip" class="tooltip-success" href="#" data-original-title="Edit"> |
---|
149 | <span class="green"> |
---|
150 | <i class="icon-edit bigger-120"></i> |
---|
151 | </span> |
---|
152 | </a> |
---|
153 | </li> |
---|
154 | |
---|
155 | <li> |
---|
156 | <a title="" data-rel="tooltip" class="tooltip-error" href="#" data-original-title="Delete"> |
---|
157 | <span class="red"> |
---|
158 | <i class="icon-trash bigger-120"></i> |
---|
159 | </span> |
---|
160 | </a> |
---|
161 | </li> |
---|
162 | </ul> |
---|
163 | </div> |
---|
164 | </div> |
---|
165 | </td> |
---|
166 | </tr> |
---|
167 | <?php } ?> |
---|
168 | |
---|
169 | |
---|
170 | |
---|
171 | |
---|
172 | |
---|
173 | |
---|
174 | |
---|
175 | </tbody></table><div class="row"><div class="col-sm-6"> |
---|
176 | <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> |
---|
177 | |
---|
178 | </div> |
---|
179 | <div class="col-sm-6"> |
---|
180 | <div class="dataTables_paginate paging_bootstrap"> |
---|
181 | <ul class="pagination"> |
---|
182 | <?php echo $paging; ?> |
---|
183 | </ul> |
---|
184 | </div> |
---|
185 | </div> |
---|
186 | </div> |
---|
187 | |
---|
188 | </div> |
---|
189 | </div> |
---|
190 | |
---|
191 | |
---|
192 | </div> |
---|
193 | |
---|
194 | <!-- PAGE CONTENT ENDS --> |
---|
195 | </div><!-- /.col --> |
---|
196 | </div> |
---|
197 | <script type="text/javascript"> |
---|
198 | window.onload = function () |
---|
199 | { |
---|
200 | init_page(); |
---|
201 | } |
---|
202 | |
---|
203 | |
---|
204 | </script> |
---|