- Timestamp:
- Apr 23, 2015 12:00:06 PM (10 years ago)
- Location:
- pro-violet-viettel/sourcecode/application/modules/collaborator/views
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/collaborator/views/collaborator_profile.php
r883 r906 18 18 <div class="collaborator-profile row" id="collaborator-profile-3"> 19 19 <div class="col-sm-offset-1 col-sm-10"> 20 21 20 <div class="tabbable"> 22 21 <ul class="nav nav-tabs padding-16"> 23 24 <li class="active"> 25 <a id="edit-password-tab" href="" data-toggle="tab"> 22 <li class="active"> 23 <a id="edit-basic-tab" href="#edit-basic" data-toggle="tab"> 24 <i class="blue icon-key bigger-125"></i> 25 ThÃŽng tin cá nhân 26 </a> 27 </li> 28 <li> 29 <a id="edit-password-tab" href="#edit-password" data-toggle="tab"> 26 30 <i class="blue icon-key bigger-125"></i> 27 31 Thay Äá»i máºt khẩu 28 32 </a> 29 33 </li> 30 31 34 </ul> 32 35 33 36 <div class="tab-content profile-edit-tab-content"> 34 <div class="tab-pane active" id="edit-password"> 35 <!--<form id="frm-change-password" class="form-horizontal" role="form" action="<?php echo $base_url; ?>collaborator/collaborator/change_password" method="POST">--> 37 <div class="tab-pane active" id="edit-basic"> 38 <form id="frm-update-info" class="form-horizontal" role="form"> 39 <h4 class="header blue bolder smaller">ThÃŽng tin cá nhân</h4> 40 <div class="row"> 41 <div class="col-sm-9"> 42 <div class="form-group"> 43 <label for="form-field-username" class="col-sm-4 control-label no-padding-right">Sá» Äiá»n thoại</label> 44 <div class="col-sm-8"> 45 <input type="text" name="username" value="<?php echo $username; ?>" placeholder="Sá» Äiá»n thoại" id="form-field-username" class="col-xs-12 col-sm-10" disabled> 46 </div> 47 </div> 48 <div class="form-group"> 49 <label for="form-field-first" class="col-sm-4 control-label no-padding-right">Há» và tên</label> 50 <label class="block clearfix has-error"> 51 <div class="col-sm-8"> 52 <input type="text" name="fullname" value="<?php echo $fullname; ?>" placeholder="Há» và tên" id="form-field-first" class="col-xs-12 col-sm-10"> 53 </div> 54 <small><div class="col-sm-8 help-block" id="fullname_err"> </div></small> 55 </label> 56 </div> 57 </div> 58 </div> 59 <div class="clearfix form-actions"> 60 <div class="col-md-offset-3 col-md-9"> 61 <button type="button" onclick="return updateInfo();" class="btn btn-info"> 62 <i class="icon-ok bigger-110"></i> 63 Cáºp nháºt 64 </button> 65 </div> 66 </div> 67 </form> 68 </div> 69 70 <div class="tab-pane" id="edit-password"> 71 36 72 <form id="frm-change-password" class="form-horizontal" role="form"> 37 73 <h4 class="header blue bolder smaller">Thay Äá»i máºt khẩu</h4> … … 81 117 <div class="col-md-offset-3 col-md-9"> 82 118 <button type="button" onclick="return changePassword(<?php echo $collaborator_id; ?>);" class="btn btn-info"> 83 <!--<button type="submit" class="btn btn-info">-->84 119 <i class="icon-ok bigger-110"></i> 85 120 Thay Äá»i … … 90 125 </form> 91 126 </div> 127 92 128 93 129 </div> … … 103 139 </div><!-- /.main-container-inner --> 104 140 </div><!-- /.main-container --> 141 142 <div class="modal fade" id="updateInfoSuccess" tabindex="-1" role="dialog"aria-hidden="true"> 143 <div class="modal-dialog"> 144 <div class="modal-content"> 145 <div class="modal-header"> 146 <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> 147 <h4 class="modal-title">Cáºp nháºt thÃŽng tin</h4> 148 </div> 149 <div class="modal-body"> 150 <div class="alert alert-block alert-success"><center><?php echo lang('_SBG_USER_UPDATE_INFO_SUCCESS_MSG'); ?><center></div> 151 <center><button id="close" class="btn btn-primary" data-dismiss="modal">Äóng</button></center> 152 </div> 153 154 </div> 155 </div> 156 </div> 105 157 106 158 <div class="modal fade" id="changePassSuccess" tabindex="-1" role="dialog"aria-hidden="true"> -
pro-violet-viettel/sourcecode/application/modules/collaborator/views/login.php
r883 r906 80 80 <div class="help-block"> </div> 81 81 </label> 82 83 <label class="block clearfix alert-success"> 84 Nếu chưa có hoặc quên máºt khẩu, soạn tin nhắn theo cú pháp: <strong>SBG CTV</strong> gá»i <strong>8062</strong> 85 </label> 86 87 82 88 83 89 <div class="space"></div> -
pro-violet-viettel/sourcecode/application/modules/collaborator/views/reportAsistant/indexCollaborator.php
r883 r906 16 16 { 17 17 // $result = jQuery.parseJSON(data); 18 console.log(data); 18 19 $("#content").html(data); 19 20 init_page(); … … 122 123 daterange = $('input[name="daterange"]').val(); 123 124 $.ajax({ 124 url: '<?php echo base_url();?>co ng_tac_vien/thong_ke_cong_tac_vien/trang_ctv/<?php echo $id;?>/1',125 url: '<?php echo base_url();?>collaborator/home/getCollaboratorsUsers/<?php echo $id;?>/1', 125 126 type: "POST", 126 127 data: $("#collaborator").serialize(), … … 219 220 </div><!-- /.modal-dialog --> 220 221 <?php 221 $this->load->view('layout/ admin/footer', array('base_url' => $base_url,'adminjs' => array('assets/js/admin/collaborator.js')));222 $this->load->view('layout/collaborator/footer', array('base_url' => $base_url,'collaboratorjs' => array('assets/js/collaborator/collaborator.js'))); 222 223 ?> -
pro-violet-viettel/sourcecode/application/modules/collaborator/views/reportAsistant/listview_user.php
r883 r906 3 3 <!-- PAGE CONTENT BEGINS --> 4 4 <div style="padding-bottom:4px" class="table-header"> 5 5 6 Äã giá»i thiá»u 7 <div class="pull-right" style="margin:5px;"> 8 <a style="color:#fff" href="<?php echo base_url();?>collaborator/home/export/<?php echo $perpage?>/<?php echo ($keyword)?$keyword:'default'; ?>/<?php echo ($date_start)?$date_start:'default'; ?>/<?php echo ($date_end)?$date_end:'default'; ?>/<?php echo $sorting_order; ?>">Xuất ra Excel</a> 9 </div> 6 10 </div> 7 11 … … 43 47 <th class="<?php if ($sorting_field == 'full_name') {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">Tên ngưá»i dùng</th> 44 48 <th class="<?php if ($sorting_field == 'collaborator_cellphone') {echo $sorting_order;} else {echo "sorting";}?>" id="collaborator_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">Sá» thuê bao</th> 45 <th class="<?php if ($sorting_field == ' total_user') {echo $sorting_order;} else {echo "sorting";}?>" id="total_user" 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">Ngà y giá»i thiá»u</th>49 <th class="<?php if ($sorting_field == 'user_created_time') {echo $sorting_order;} else {echo "sorting";}?>" id="user_created_time" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Ngà y giá»i thiá»u: activate to sort column ascending">Ngà y giá»i thiá»u</th> 46 50 <!--<th class="<?php if ($sorting_field == 'collaborator_created_time') {echo $sorting_order;} else {echo "sorting";}?>" id="collaborator_created_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 ÄÄng kÜ</th>--> 47 51 … … 52 56 53 57 <?php 58 //var_dump($paidlogs); 54 59 foreach ($paidlogs as $paidlog) { 55 60 ?> -
pro-violet-viettel/sourcecode/application/modules/collaborator/views/user/index.php
r883 r906 29 29 <div class="row" id="content"> 30 30 <div class="col-xs-12"> 31 <div class="row"> 32 <div class="col-sm-offset-1 col-sm-10"> 33 <form method="POST" id="frm-upload" action="" enctype="multipart/form-data" class="form-horizontal"> 34 <h4 class="header blue bolder smaller">Chá»n và tải file từ máy tÃnh</h4> 35 <div class="row"> 36 <div class="col-sm-9"> 37 <div class="form-group"> 38 <div class="col-sm-8" > 31 <div class="col-sm-offset-0 col-sm-12"> 32 <div class="row"> 33 <h4 class="header blue bolder smaller"> Bưá»c 1: Tải file ÄÄng kÜ <a href="<?php echo $base_url ?>assets/Mau dang ky cua CTV.xls"><span style="color: red;">Tại Äây</span></a></h4> 34 </div> 35 <div class="row"> 36 <h4 class="header blue bolder smaller">Bưá»c 2: Äiá»n thÃŽng tin và o file ÄÄng kÜ</h4> 37 <h5> 38 <ul class="nav"> 39 <li> <b>Tên khách hà ng</b>: KhÃŽng bắt buá»c</li> 40 <li> <b>Tá»nh</b>: KhÃŽng bắt buá»c</li> 41 <li> <b>Quáºn/Huyá»n</b>: KhÃŽng bắt buá»c</li> 42 <li> <b>ÄÆ¡n vá»</b>: KhÃŽng bắt buá»c</li> 43 <li> <b>Sá» Äiá»n thoại khách hà ng</b>: Bắt buá»c (có thá» có sá» 0 Äứng Äầu hoặc khÃŽng có; phải là sá» Äiá»n thoại Äi Äá»ng, chá» há» trợ Viettel, Vinaphone và Mobifone)</li> 44 <li> <b>ÄÄng kÜ gói dá»ch vụ</b>: KhÃŽng bắt buá»c (Chá»n VIP 1 hoặc VIP 3 hoặc Äá» trá»ng)</li> 45 <li> <b>Sá» tiá»n nạp và o TK SBG cá»§a khách hà ng</b>: KhÃŽng bắt buá»c (Nếu chá»n thì chá»n các giá trá» có sẵn hoặc Äá» trá»ng)</li> 46 <li> <b>Mã CTV</b>: KhÃŽng bắt buá»c</li> 47 </ul> 48 </h5> 49 </div> 50 <div class="row"> 51 <h4 class="header blue bolder smaller">Lưu Ü:</h4> 52 <h5><ul> 53 <li> File ÄÄng kÜ mẫu phải giữ nguyên Äá»nh dạng XLS. KhÃŽng sá»a Äá»nh dạng cá»§a file mẫu, má»i sá»± thay Äá»i khÃŽng Äúng sẜ có thá» dẫn Äến viá»c trừ tiá»n từ tà i khoản cá»§a CTV khÃŽng Äúng.</li> 54 <li> Các giao dá»ch trên file, nếu có tÃnh phà thì phà sẜ ÄÆ°á»£c trừ trá»±c tiếp từ tà i khoản chÃnh cá»§a sá» Äiá»n thoại CTV (chÃnh là sá» ÄT dùng Äá» ÄÄng nháºp).</li> 55 </ul></h5> 56 </div> 57 58 <div class="row"> 59 <h4 class="header blue bolder smaller">Buá»c 3: Upload file ÄÄng kÜ</h4> 60 <div class="col-sm-offset-1 col-sm-10"> 61 <!--<h4 class="header blue bolder smaller">Chá»n và tải file từ máy tÃnh</h4>--> 62 <form method="POST" id="frm-upload" action="" enctype="multipart/form-data" class="form-horizontal"> 63 64 <div class="row"> 65 <div class="col-sm-9"> 66 <div class="form-group"> 67 <div class="col-sm-8" > 68 69 <input type="text" id="input-upload" class="form-control"/> 70 <div class="file-upload btn btn-success"> 71 <span>Chá»n file ...</span> 72 73 <input id="userfile" type="file" class="upload" name="userfile" /> 74 </div> 75 <input type="submit" id="btn-submit" class="btn btn-primary" value="Tải lên" /> 76 </div> 39 77 40 <input type="text" id="input-upload" class="form-control"/>41 <div class="file-upload btn btn-success">42 <span>Chá»n file ...</span>43 44 <input id="userfile" type="file" class="upload" name="userfile" />45 </div>46 <input type="submit" id="btn-submit" class="btn btn-primary" value="Tải lên" />47 78 </div> 48 49 79 </div> 50 80 </div> 51 </div> 52 <h4 class="header blue bolder smaller"></h4> 53 81 <h4 class="header blue bolder smaller"></h4> 82 54 83 55 </form> 84 </form> 85 </div> 56 86 </div> 57 87 </div> … … 61 91 <center><label id="charging" style="display: none;"><h4><span class="icon-refresh icon-refresh-animate"></span> Äang xá» lÜ. Xin vui lòng chá»...</h4></label></center> 62 92 <div id="result"> 63 </div> 93 </div> 94 95 64 96 </div><!-- /.main-content --> 65 97 </div><!-- /.main-container-inner --> -
pro-violet-viettel/sourcecode/application/modules/collaborator/views/user/result.php
r883 r906 1 <?php if ($success==0){ ?>1 <?php if ($success == 0){ ?> 2 2 <div id="error-upload" class="alert alert-danger" role="alert"> 3 3 <span class="icon-exclamation-sign" aria-hidden="true"></span> 4 <span class="sr-only">Error:</span> <?php echo " ".$ process['error']; ?>4 <span class="sr-only">Error:</span> <?php echo " ".$upload_error['error']; ?> 5 5 </div> 6 <?php }else if($success == 1){ ?>7 <?php if ($process){?>6 <?php }else { ?> 7 <?php if($process){ ?> 8 8 <div class="row"> 9 9 <div class="col-xs-12"> 10 <!-- PAGE CONTENT BEGINS -->11 10 <div style="padding-bottom:4px" class="table-header"> 12 11 Kết quả 13 12 </div> 14 <?php //if ($success == 0){ ?>15 16 <?php //}elseif($success == 1){ ?>17 13 <div class="table-responsive"> 18 14 <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper"> … … 21 17 <thead> 22 18 <tr role="row"> 23 <th class="center sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 44px;" aria-label="">24 <label>25 <input type="checkbox" class="ace">26 <span class="lbl"></span>27 </label>28 19 </th> 29 20 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Sá» Äiá»n thoại</th> 30 21 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Há» và tên</th> 31 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;"> Góidá»ch vụ</th>32 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Sá» tiá»n nạp và o</th>22 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Tên dá»ch vụ</th> 23 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Sá» tiá»n</th> 33 24 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Ngà y giá» thá»±c hiá»n</th> 34 25 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Kết quả</th> 35 26 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">LÜ do</th> 36 27 </tr> 37 <tbody role="alert" aria-live="polite" aria-relevant="all"> 38 39 <?php 40 foreach ($process as $user): ?> 41 <tr class="odd"> 42 <td class="center sorting_1"> 43 <label> 44 <input type="checkbox" class="ace"> 45 <span class="lbl"></span> 46 </label> 47 </td> 48 <td class=" "><?php echo $user['user']['username']; ?></td> 49 <td class=" "><?php echo $user['user']['fullname']; ?></td> 50 <td class=" "><?php echo $user['user']['service']; ?></td> 51 <td class=" "><?php echo $user['user']['amount']; ?></td> 52 <td class=" "><?php echo $user['date']; ?></td> 53 <td class=" "><?php echo ($user['success'] == 1? "Thà nh cÃŽng": "KhÃŽng thà nh cÃŽng"); ?></td> 54 <td class=" "><?php echo $user['error']; ?></td> 55 </tr> 56 <?php endforeach; ?> 28 <tbody role="alert" aria-live="polite" aria-relevant="all"> 29 <?php foreach ($process as $result ){ ?> 30 31 <?php if ($result['register']){ ?> 32 <tr> 33 <td class=" "><?php echo $result['register']['user']['username']; ?></td> 34 <td class=" "><?php echo $result['register']['user']['fullname']; ?></td> 35 <td class=" "><?php echo $result['register']['user']['service']; ?></td> 36 <td class=" "><?php echo $result['register']['user']['amount']; ?></td> 37 <td class=" "><?php echo $result['register']['date']; ?></td> 38 <td class=" "><?php echo ($result['register']['data']['success'] == 1? "Thà nh cÃŽng": "KhÃŽng thà nh cÃŽng"); ?></td> 39 <td class=" "><?php echo $result['register']['data']['error']; ?></td> 40 </tr> 41 <?php } ?> 42 43 <?php if ($result['charging']){ ?> 44 <tr> 45 <td class=" "><?php echo $result['charging']['user']['username']; ?></td> 46 <td class=" "><?php echo $result['charging']['user']['fullname']; ?></td> 47 <td class=" "><?php echo $result['charging']['user']['service']; ?></td> 48 <td class=" "><?php echo number_format($result['charging']['user']['amount'], 0); ?></td> 49 <td class=" "><?php echo $result['charging']['date']; ?></td> 50 <td class=" "><?php echo ($result['charging']['data']['success'] == 1? "Thà nh cÃŽng": "KhÃŽng thà nh cÃŽng"); ?></td> 51 <td class=" "><?php echo $result['charging']['data']['error']; ?></td> 52 </tr> 53 <?php } ?> 54 55 <?php if ($result['chargingvip']){ ?> 56 <tr> 57 <td class=" "><?php echo $result['chargingvip']['user']['username']; ?></td> 58 <td class=" "><?php echo $result['chargingvip']['user']['fullname']; ?></td> 59 <td class=" "><?php echo $result['chargingvip']['user']['service']; ?></td> 60 <td class=" "><?php echo number_format($result['chargingvip']['user']['amount'], 0); ?></td> 61 <td class=" "><?php echo $result['chargingvip']['date']; ?></td> 62 <td class=" "><?php echo ($result['chargingvip']['data']['success'] == 1? "Thà nh cÃŽng": "KhÃŽng thà nh cÃŽng"); ?></td> 63 <td class=" "><?php echo $result['chargingvip']['data']['error']; ?></td> 64 </tr> 65 <?php } ?> 66 67 <?php if ($result['register-vip']){ ?> 68 <tr> 69 <td class=" "><?php echo $result['register-vip']['user']['username']; ?></td> 70 <td class=" "><?php echo $result['register-vip']['user']['fullname']; ?></td> 71 <td class=" "><?php echo $result['register-vip']['user']['service']; ?></td> 72 <td class=" "><?php echo number_format($result['register-vip']['user']['amount'], 0); ?></td> 73 <td class=" "><?php echo $result['register-vip']['date']; ?></td> 74 <td class=" "><?php echo ($result['register-vip']['data']['success'] == 1? "Thà nh cÃŽng": "KhÃŽng thà nh cÃŽng"); ?></td> 75 <td class=" "><?php echo $result['register-vip']['data']['error']; ?></td> 76 </tr> 77 <?php } ?> 78 79 80 <?php } ?> 81 57 82 </tbody> 58 83 </thead> 59 84 </table> 60 85 </div> 61 86 </div> 62 87 </div> 63 88 </div> 64 </div> 65 <?php }else{ ?> 66 <div id="error-upload" class="alert alert-danger" role="alert"> 67 <span class="icon-exclamation-sign" aria-hidden="true"></span> 68 <span class="sr-only">Error:</span> KhÃŽng Äá»c ÄÆ°á»£c file</div> 89 </div> 69 90 <?php } ?> 70 91 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.