- Timestamp:
- Apr 7, 2015 1:52:40 PM (10 years ago)
- Location:
- pro-violet-viettel/sourcecode/application/modules/admin/views
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/views/report/index.php
r818 r883 1 <?php1 <?php 2 2 $base_url = base_url(); 3 3 $this->load->view('layout/admin/header', array('base_url' => $base_url)); … … 157 157 <li> 158 158 <i class="icon-home home-icon"></i> 159 <a href="#">Trang ch ủ</a>159 <a href="#">Trang chá»§</a> 160 160 </li> 161 161 162 162 <li> 163 <a href="#">Qu ản lý tin nhắn</a>163 <a href="#">Quản lÜ tin nhắn</a> 164 164 </li> 165 165 … … 169 169 <form class="form-search"> 170 170 <span class="input-icon"> 171 <input type="text" autocomplete="off" id="nav-search-input" class="nav-search-input" placeholder="T ìm kiếm ...">171 <input type="text" autocomplete="off" id="nav-search-input" class="nav-search-input" placeholder="Tìm kiếm ..."> 172 172 <i class="icon-search nav-search-icon"></i> 173 173 </span> … … 183 183 <div class="page-header"> 184 184 <h1> 185 Tin nh ắn185 Tin nhắn 186 186 <small> 187 187 <i class="icon-double-angle-right"></i> 188 M ẫu tin nhắn188 Mẫu tin nhắn 189 189 </small> 190 190 </h1> -
pro-violet-viettel/sourcecode/application/modules/admin/views/report/listview.php
r818 r883 1 <div class="col-xs-12">1 <div class="col-xs-12"> 2 2 <!-- PAGE CONTENT BEGINS --> 3 3 <div style="padding-bottom:4px" class="table-header"> 4 4 Doanh thu 5 5 <div class="pull-right" style="margin:5px;"> 6 <a style="color:#fff" href="<?php echo base_url();?>admin/report/export">Xu ất ra Excel</a>6 <a style="color:#fff" href="<?php echo base_url();?>admin/report/export">Xuất ra Excel</a> 7 7 </div> 8 8 </div> … … 13 13 <div class="row"> 14 14 <div class="col-sm-6"> 15 <div id="sample-table-2_length" class="dataTables_length"><label>Hi ện thị15 <div id="sample-table-2_length" class="dataTables_length"><label>Hiá»n thá» 16 16 <select onchange="filter();" name="items" size="1" aria-controls="sample-table-2"> 17 17 <?php foreach ($itemsoptions as $option) { ?> 18 18 <option <?php if($option == $perpage) echo "selected"; ?> value="<?php echo $option;?>"><?php echo $option;?></option> 19 19 <?php } ?> 20 </select> b ản ghi</label>20 </select> bản ghi</label> 21 21 22 22 </div> … … 25 25 <div class="col-sm-6"> 26 26 <!--<div class="dataTables_filter" id="sample-table-2_filter"> 27 <label>T ìm kiếm:27 <label>Tìm kiếm: 28 28 <input type="text" name="keyword" id="keyword" value='<?php echo $keyword;?>' style="width: 162px; height: 18px;" aria-controls="sample-table-2"></label> 29 29 </div>--> 30 <div class="dataTables_filter" id="sample-table-2_filter"><label>L ọc theo:30 <div class="dataTables_filter" id="sample-table-2_filter"><label>Lá»c theo: 31 31 <select onchange="filter();" name="paid_type" size="1" style="width: 176px; height: 28px;"> 32 32 <?php foreach ($paid_types as $key => $type): ?> … … 51 51 <tr role="row"> 52 52 53 <th class="<?php if ($sorting_field == 'fullname') {echo $sorting_order;} else {echo "";}?>" id="full_name" 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">Số điện thoại</th>54 <th class="<?php if ($sorting_field == 'cellphone') {echo $sorting_order;} else {echo "sorting";}?>" id="cellphone" 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">Họ tên</th>55 <th class="<?php if ($sorting_field == 'amount') {echo $sorting_order;} else {echo "sorting";}?>" id="amount" 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">Số tiền</th>56 <th class="<?php if ($sorting_field == 'paid_type') {echo $sorting_order;} else {echo "sorting";}?>" id="paid_type" 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">SMS/Card</th>57 <th class="<?php if ($sorting_field == 'paid_time') {echo $sorting_order;} else {echo "sorting";}?>" id="paid_time" 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">Ngày</th>53 <th class="<?php if ($sorting_field == 'fullname') {echo $sorting_order;} else {echo "";}?>" id="full_name" 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">Sá» Äiá»n thoại</th> 54 <th class="<?php if ($sorting_field == 'cellphone') {echo $sorting_order;} else {echo "sorting";}?>" id="cellphone" 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">Há» tên</th> 55 <th class="<?php if ($sorting_field == 'amount') {echo $sorting_order;} else {echo "sorting";}?>" id="amount" 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">Sá» tiá»n</th> 56 <th class="<?php if ($sorting_field == 'paid_type') {echo $sorting_order;} else {echo "sorting";}?>" id="paid_type" 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">SMS/Card</th> 57 <th class="<?php if ($sorting_field == 'paid_time') {echo $sorting_order;} else {echo "sorting";}?>" id="paid_time" 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">Ngà y</th> 58 58 59 59 </thead> … … 90 90 <tr> 91 91 <td colspan=2> 92 T ổng tiền92 Tá»ng tiá»n 93 93 </td> 94 94 <td colspan=3> … … 97 97 </tr> 98 98 </tbody></table><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>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 100 101 101 </div> … … 120 120 <div class="modal-header"> 121 121 <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> 122 <h4 class="modal-title">L ịch sử</h4>122 <h4 class="modal-title">Lá»ch sá»</h4> 123 123 </div> 124 124 <div class="modal-body"> … … 126 126 <li class="active" > 127 127 <a id="regis-tab" href="#regis" data-toggle="tab"> 128 Giao d ịch128 Giao dá»ch 129 129 </a> 130 130 </li> 131 131 <li> 132 132 <a id="trade-tab" href="#trade" data-toggle="tab"> 133 Th ông tin133 ThÃŽng tin 134 134 </a> 135 135 </li> … … 137 137 <div class="tab-content history-tab-content"> 138 138 <div class="tab-pane in active" id="regis"> 139 <div class="col-sm-12">140 <h5>T ài khoản SBG Online: <b><span class="blue"><span id="topup-money"><?php echo number_format($acc_balanced, 0); ?></span> VNĐ<span></b></h5>139 <div> 140 <h5>Tà i khoản SBG Online: <b><span class="blue"><span id="topup-money"><?php echo number_format($acc_balanced, 0); ?></span> VNÄ <span></b></h5> 141 141 </div> 142 142 <div class="table-responsive"> … … 145 145 <tr> 146 146 <th class="center"> 147 T ừ147 Từ 148 148 </th> 149 <th class="center"> S ố tiền (VNĐ) </th>150 <th class="center"> G ói dịch vụ</th>149 <th class="center"> Sá» tiá»n (VNÄ) </th> 150 <th class="center"> Gói dá»ch vụ </th> 151 151 <th> 152 152 <i class="icon-time bigger-110 hidden-480"></i> 153 Th ời gian153 Thá»i gian 154 154 </th> 155 155 </tr> -
pro-violet-viettel/sourcecode/application/modules/admin/views/reportpackage/province.php
r818 r883 9 9 Báo cáo doanh thu theo tá»nh / thà nh phá» theo gói cưá»c. 10 10 <div class="pull-right" style="margin:5px;"> 11 <a style="color:#fff" href="<?php echo base_url();?>admin/reportpackage/export/<?php echo $ month;?>/<?php echo $year;?>">Xuất ra Excel</a>11 <a style="color:#fff" href="<?php echo base_url();?>admin/reportpackage/export/<?php echo $date;?>/<?php echo $month;?>/<?php echo $year;?>/-/<?php echo $to_date;?>/<?php echo $to_month;?>/<?php echo $to_year;?>">Xuất ra Excel</a> 12 12 </div> 13 13 </div> … … 17 17 <form autocomplete="off" onsubmit="return false;" id="province" > 18 18 <div class="row"> 19 <div class="col-sm-6"> 20 <div class="" style="display: inline-block"><label>Tháng 19 <div class="col-sm-1"> 20 <div class="" style="display: inline-block"><label><strong>Từ: </strong></label></div> 21 </div> 22 <div class="col-sm-6"> 23 <div class="" style="display: inline-block"><label>Ngà y</label> 24 25 <select aria-controls="sample-table-2" size="1" name="date" onchange="filter();"> 26 <?php for ($i=1;$i<=31;$i++) { ?> 27 <option value="<?php echo $i;?>" <?php if($date==$i) { ?> selected <?php }?>><?php echo $i;?></option> 28 <?php }?> 29 </select> 30 </div> 31 <div class="" style="display: inline-block"><label>Tháng</label> 21 32 22 33 <select aria-controls="sample-table-2" size="1" name="month" onchange="filter();"> … … 34 45 </select> 35 46 </div> 36 </div> 47 </div> 48 37 49 38 50 <div class="col-sm-6"> … … 40 52 </div> 41 53 </div> 54 55 <div class="row"> 56 <div class="col-sm-1"> 57 <div class="" style="display: inline-block"><label><strong>Äến: </strong></label></div> 58 </div> 59 <div class="col-sm-6"> 60 <div class="" style="display: inline-block"><label>Ngà y</label> 61 62 <select aria-controls="sample-table-2" size="1" name="to_date" onchange="filter();"> 63 <?php for ($i=1;$i<=31;$i++) { ?> 64 <option value="<?php echo $i;?>" <?php if($to_date==$i) { ?> selected <?php }?>><?php echo $i;?></option> 65 <?php }?> 66 </select> 67 </div> 68 <div class="" style="display: inline-block"><label>Tháng</label> 69 70 <select aria-controls="sample-table-2" size="1" name="to_month" onchange="filter();"> 71 <?php for ($i=1;$i<=12;$i++) { ?> 72 <option value="<?php echo $i;?>" <?php if($to_month==$i) { ?> selected <?php }?>><?php echo $i;?></option> 73 <?php }?> 74 </select> 75 </div> 76 <div class="" style="display: inline-block"><label>NÄm 77 78 <select aria-controls="sample-table-2" size="1" name="to_year" onchange="filter();"> 79 <?php for ($i=2014;$i<=date("Y");$i++) { ?> 80 <option value="<?php echo $i;?>" <?php if($to_year==$i) { ?> selected <?php }?>><?php echo $i;?></option> 81 <?php }?> 82 </select> 83 </div> 84 </div> 85 </div> 86 42 87 </form> 43 88 <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info"> -
pro-violet-viettel/sourcecode/application/modules/admin/views/reportprovince/province.php
r838 r883 17 17 <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper"> 18 18 <form autocomplete="off" onsubmit="return false;" id="province" > 19 <div class="row">20 <div class="col-sm-1">21 <div class="" style="display: inline-block"><label><strong>Từ: </strong></label></div>22 </div>23 <div class="col-sm-6">24 <div class="" style="display: inline-block"><label>Ngà y</label>25 26 <select aria-controls="sample-table-2" size="1" name="date" onchange="filter();">27 <?php for ($i=1;$i<=31;$i++) { ?>28 <option value="<?php echo $i;?>" <?php if($date==$i) { ?> selected <?php }?>><?php echo $i;?></option>29 <?php }?>30 </select>31 </div>32 <div class="" style="display: inline-block"><label>Tháng</label>33 34 <select aria-controls="sample-table-2" size="1" name="month" onchange="filter();">35 <?php for ($i=1;$i<=12;$i++) { ?>36 <option value="<?php echo $i;?>" <?php if($month==$i) { ?> selected <?php }?>><?php echo $i;?></option>37 <?php }?>38 </select>39 </div>40 <div class="" style="display: inline-block"><label>NÄm41 42 <select aria-controls="sample-table-2" size="1" name="year" onchange="filter();">43 <?php for ($i=2014;$i<=date("Y");$i++) { ?>44 <option value="<?php echo $i;?>" <?php if($year==$i) { ?> selected <?php }?>><?php echo $i;?></option>45 <?php }?>46 </select>47 </div>48 </div>49 50 51 <div class="col-sm-6">52 53 </div>54 </div>55 56 19 <div class="row"> 57 <div class="col-sm-1">58 <div class="" style="display: inline-block"><label><strong>Äến: </strong></label></div>59 </div>60 20 <div class="col-sm-6"> 61 21 <div class="" style="display: inline-block"><label>Ngà y</label> … … 108 68 <td style="font-weight:bold;"><?php echo $totalTbth; ?></td> 109 69 <td style="font-weight:bold;"><?php echo $totalTbn; ?></td> 110 <td style="font-weight:bold;"><?php echo $totalDtng; ?></td>111 <td style="font-weight:bold;"><?php echo $totalDtth; ?></td>112 <td style="font-weight:bold;"><?php echo $totalDtn; ?></td>70 <td style="font-weight:bold;"><?php echo number_format($totalDtng, 0); ?></td> 71 <td style="font-weight:bold;"><?php echo number_format($totalDtth, 0); ?></td> 72 <td style="font-weight:bold;"><?php echo number_format($totalDtn, 0); ?></td> 113 73 114 74 </tr> … … 127 87 <td class="hidden-480 "><?php echo $province['tbt']; ?></td> 128 88 <td class=" "><?php echo $province['tbn']; ?></td> 129 <td class=" "><?php echo $province['dtng']; ?></td>130 <td class=" "><?php echo $province['dtt']; ?></td>131 <td class=" "><?php echo $province['dtn']; ?></td>89 <td class=" "><?php echo number_format($province['dtng'], 0); ?></td> 90 <td class=" "><?php echo number_format($province['dtt'], 0); ?></td> 91 <td class=" "><?php echo number_format($province['dtn'], 0); ?></td> 132 92 133 93 </tr> -
pro-violet-viettel/sourcecode/application/modules/admin/views/user/index.php
r773 r883 90 90 $('#table_content').show(); 91 91 $("#content").html(data); 92 $("#keyword").focus();93 $("#keyword").setCursorToTextEnd();94 92 $('.daterangepicker').daterangepicker({ 95 93 format: 'DD/MM/YYYY' 96 94 }); 95 $("#keyword").focus(); 96 $("#keyword").setCursorToTextEnd(); 97 init_page(); 97 98 $('input[name="daterange"]').val(daterange); 98 init_page();99 99 }, 100 100 error: function (jqXHR, textStatus, errorThrown) … … 104 104 }); 105 105 } 106 //$(document).ready(function(){ 107 108 //}); 109 106 110 107 111 </script> -
pro-violet-viettel/sourcecode/application/modules/admin/views/user/listview.php
r818 r883 45 45 Thêm ngưá»i dùng 46 46 </button--> 47 <div class="pull-right" style="margin:5px;"> 48 49 <a style="color:#fff" href="<?php echo base_url();?>admin/user/export/<?php echo $current_page; ?>/<?php echo $perpage; ?>/<?php echo ($keyword)?$keyword:'default'; ?>/<?php echo $status; ?>/<?php echo ($province)?$povince:'default'; ?>/<?php echo ($district)?$district:'default';?>/<?php echo ($daterange)?$daterange:'default'; ?>/<?php echo $sorting_order; ?>/<?php echo $sorting_field;?>">Xuất ra Excel</a> 50 51 </div> 47 52 48 53 </div> … … 76 81 </div> 77 82 <div style="clear: both;"></div> 78 <div class="dataTables_ status" style="float: right;" id="sample-table-2_status"><label>Lá»c theo Tá»nh/TP:79 <select onchange="filter();" name="province -code" size="1" style="width: 176px; height: 28px;">83 <div class="dataTables_province" style="float: right;" id="sample-table-2_status"><label>Lá»c theo Tá»nh/TP: 84 <select onchange="filter();" name="province" class="form-field-province" size="1" style="width: 176px; height: 28px;"> 80 85 <option value=''></option> 86 81 87 <?php foreach ($provinces as $key => $pro): ?> 82 <option <?php if ($key == $province _code) echo "selected"; ?> value="<?php echo $key; ?>"><?php echo $pro; ?></option>88 <option <?php if ($key == $province) echo "selected"; ?> value="<?php echo $key; ?>"><?php echo $pro; ?></option> 83 89 <?php endforeach; ?> 90 </select> 91 </div> 92 93 <div class="dataTables_district" style="float: right;" id="sample-table-2_status"><label>Lá»c theo Quáºn/Huyá»n: 94 <select onchange="filter();" name="district" id="form-field-district" class="form-field-district" size="1" style="width: 176px; height: 28px;"> 95 <?php if ($districts):?> 96 <option value=''></option> 97 <?php foreach ($districts as $key => $dist): ?> 98 <option <?php if ($dist['district_id'] == $district) echo "selected"; ?> value="<?php echo $dist['district_id']; ?>"><?php echo $dist['district_name']; ?></option> 99 <?php endforeach; ?> 100 <?php endif;?> 84 101 </select> 85 102 </div> … … 92 109 </div> 93 110 </div> 94 111 <input type="hidden" name="sorting_order" id="sorting_order" value="<?php echo $sorting_order; ?>" /> 112 <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field; ?>"/> 95 113 </div> 96 114 97 <input type="hidden" name="sorting_order" id="sorting_order" value="<?php echo $sorting_order; ?>" />98 <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field; ?>"/>99 115 </form> 100 116 <!-- Table Content --> … … 104 120 <thead> 105 121 <tr role="row"> 106 < th class="center sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 44px;" aria-label="">122 <!--<th class="center sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 44px;" aria-label=""> 107 123 <label> 108 124 <input type="checkbox" class="ace"> 109 125 <span class="lbl"></span> 110 126 </label> 111 </th> 127 </th>--> 112 128 <th class="<?php 113 129 if ($sorting_field == 'cellphone') { … … 117 133 } 118 134 ?>" id="cellphone" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;" aria-label="Tà i khoản: activate to sort column ascending">Sá» Äiá»n thoại</th> 119 <th class="<?php 120 if ($sorting_field == 'cellphone') { 121 echo $sorting_order; 122 } else { 123 echo "sorting"; 124 } 125 ?>" id="cellphone" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;" aria-label="Sá» Äiá»n thoại: activate to sort column ascending">Há» tên</th> 135 <th style="width: 156px;">Há» tên</th> 126 136 127 137 <th class="<?php … … 152 162 Ngà y hết hạn 153 163 </th> 154 <th style="width: 140px;">Tá»nh/TP</th> 164 <th style="width: 130px;">Tá»nh/TP</th> 165 <th style="width: 150px;">Quáºn/Huyá»n</th> 155 166 <th class="sorting_disabled" id="status" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Tình trạng</th> 156 167 </tr> … … 163 174 ?> 164 175 <tr class="odd"> 176 <!-- 165 177 <td class="center sorting_1"> 166 178 <label> … … 168 180 <span class="lbl"></span> 169 181 </label> 170 </td> 182 </td>--> 171 183 <td class=" "> 172 184 <a onclick="getUserHistory(<?php echo $user['us_id']; ?>, 1);" data-toggle="modal"><?php echo $user['username']; ?></a> … … 180 192 <td class=" "><?php echo isset($user['expire_date']) && strtotime($user['expire_date']) > 0 ? date('d/m/Y', strtotime($user['expire_date'])) : ''; ?></td> 181 193 <td><?php echo $user['province']; ?></td> 194 <td><?php echo $user['district_name']; ?></td> 182 195 <td class=" "> 183 196 <?php if (strtotime($user['expire_date']) > time() && $user['p_id'] != 5 ): ?> … … 242 255 <div class="tab-content history-tab-content"> 243 256 <div class="tab-pane in active" id="regis"> 244 <div class="col-sm-12">257 <div> 245 258 <h5>Tà i khoản SBG Online: <b><span class="blue"><span id="topup-money"><?php echo number_format($acc_balanced, 0); ?></span> VNÄ <span></b></h5> 246 259 </div>
Note: See TracChangeset
for help on using the changeset viewer.