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

Last change on this file since 405 was 405, checked in by quyenla, 11 years ago

smstemplate

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