Changeset 737
- Timestamp:
- Feb 3, 2015 4:54:25 PM (10 years ago)
- Location:
- pro-violet-viettel/sourcecode/application
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportprovince.php
r713 r737 100 100 } 101 101 $writer = new PHPExcel_Writer_Excel5($this->phpexcel); 102 header('Content-Type: application/vnd.ms-excel'); 102 103 header('Content-Disposition: attachment; filename="thue_bao_' . $data['month'] . "_" . $data['year'] . '.xls"'); 103 104 $writer->save('php://output'); -
pro-violet-viettel/sourcecode/application/modules/admin/models/collabolator_model.php
r736 r737 46 46 return $this->db->query($sql . " " . $order . " LIMIT " . $data['start'] . ", " . $data['perpage'] . " ")->result_array(); 47 47 } 48 48 49 function getAllCollaboratorUser($from,$id=false) 49 50 { … … 54 55 $where = " AND tbluser.collaborator = $id "; 55 56 } 56 $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time, tbluser.created_time as user_created_time FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.id WHERE tbluser.created_time > '".$from."'".$where.""; 57 //$sql="SELECT *,tblcollaborator.created_time as collaborator_created_time, tbluser.created_time as user_created_time FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.id WHERE tbluser.created_time > '".$from."'".$where.""; 58 59 $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time, tbluser.created_time as user_created_time FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.cellphone WHERE tbluser.created_time > '".$from."'".$where.""; 57 60 58 61 $result = $this->db->query($sql)->result_array(); … … 83 86 } 84 87 // $from = date("Y-m-d 00:00:00",$from); 85 $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time, COUNT(tbluser.collaborator) as total_user FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.id ".$where." GROUP BY tblcollaborator.id ".$order." "; 88 //$sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time, COUNT(tbluser.collaborator) as total_user FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.id ".$where." GROUP BY tblcollaborator.id ".$order." "; 89 90 $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time, COUNT(tbluser.collaborator) as total_user FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.cellphone ".$where." GROUP BY tblcollaborator.id ".$order." "; 86 91 87 92 $result = $this->db->query($sql)->result_array(); … … 112 117 113 118 // $from = date("Y-m-d 00:00:00",$from); 114 $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time, COUNT(tbluser.collaborator) as total_user FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.id ".$where." GROUP BY tblcollaborator.id ".$order." LIMIT " . $data['start'] . ", " . $data['perpage'] . " ";119 //$sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time, COUNT(tbluser.collaborator) as total_user FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.id ".$where." GROUP BY tblcollaborator.id ".$order." LIMIT " . $data['start'] . ", " . $data['perpage'] . " "; 115 120 121 $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time, COUNT(tbluser.collaborator) as total_user FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.cellphone ".$where." GROUP BY tblcollaborator.id ".$order." LIMIT " . $data['start'] . ", " . $data['perpage'] . " "; 122 116 123 $result = $this->db->query($sql)->result_array(); 117 124 foreach ($result as $index=>$paidlog) … … 141 148 } 142 149 // $from = date("Y-m-d 00:00:00",$from); 143 $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tbluser.cellphone as user_cellphone,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.id ".$where." AND tbluser.collaborator = ".$data['id']." ".$order."";150 //$sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tbluser.cellphone as user_cellphone,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.id ".$where." AND tbluser.collaborator = ".$data['id']." ".$order.""; 144 151 145 $result = $this->db->query($sql)->result_array(); 152 $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tbluser.cellphone as user_cellphone,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.cellphone ".$where." AND tblcollaborator.id = ".$data['id']." ".$order.""; 153 154 $result = $this->db->query($sql)->result_array(); 146 155 foreach ($result as $index=>$paidlog) 147 156 { … … 169 178 } 170 179 // $from = date("Y-m-d 00:00:00",$from); 171 $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tbluser.cellphone as user_cellphone,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.id ".$where." AND tbluser.collaborator = ".$data['id']." ".$order." LIMIT " . $data['start'] . ", " . $data['perpage'] . " "; 172 $result = $this->db->query($sql)->result_array(); 180 // $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tbluser.cellphone as user_cellphone,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.id ".$where." AND tbluser.collaborator = ".$data['id']." ".$order." LIMIT " . $data['start'] . ", " . $data['perpage'] . " "; 181 182 $sql="SELECT *,tblcollaborator.created_time as collaborator_created_time,tbluser.cellphone as user_cellphone,tblcollaborator.cellphone as collaborator_cellphone, tbluser.created_time as user_created_time FROM ".$this->table_name." INNER JOIN tbluser ON tbluser.collaborator = tblcollaborator.cellphone ".$where." AND tblcollaborator.id = ".$data['id']." ".$order." LIMIT " . $data['start'] . ", " . $data['perpage'] . " "; 183 184 $result = $this->db->query($sql)->result_array(); 173 185 foreach ($result as $index=>$paidlog) 174 186 { -
pro-violet-viettel/sourcecode/application/modules/admin/views/reportAsistant/listview_user.php
r573 r737 35 35 <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info"> 36 36 <thead> 37 <tr role="row"> 38 39 <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> 37 <tr role="row"> 38 <!--<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>--> 40 39 <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á» Äiá»n thoại ngưá»i dùng</th> 41 40 <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> 42 < 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>41 <!--<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>--> 43 42 44 43 </thead> … … 53 52 54 53 55 <td class=" "> 56 <?php echo $paidlog['username']; ?> 57 58 </td> 59 <td class=" "><?php echo $paidlog['user_cellphone']?></td> 60 54 <!--<td class=" "> 55 <?php echo $paidlog['username']; ?> 56 </td>--> 57 <td class=" "><?php echo $paidlog['user_cellphone']?></td> 61 58 <td class="hidden-480 "><?php echo $paidlog['user_created_time'];?></td> 62 <td class="hidden-480 "><?php echo $paidlog['collaborator_created_time'];?></td> 63 64 65 66 59 <!--<td class="hidden-480 "><?php echo $paidlog['collaborator_created_time'];?></td>--> 67 60 </tr> 68 61 <?php } ?> -
pro-violet-viettel/sourcecode/application/modules/admin/views/user/listview.php
r728 r737 260 260 261 261 <div id="content-trade-histoty"> 262 263 264 265 266 267 </div> 268 269 262 </div> 263 270 264 </div> 271 265 </div><!-- /.table-responsive --> -
pro-violet-viettel/sourcecode/application/modules/frontend/views/lecture_editor.php
r721 r737 113 113 var url= "<?php echo base_url();?>"; 114 114 var first_visit= "<?php echo $first_visit;?>"; 115 116 115 var p_period= "<?php echo $p_period;?>"; 116 var expire_date= "<?php echo $expire_date;?>"; 117 117 var update_user_info="<?php echo $update_user_info;?>"; 118 118 var us_id="<?php echo $us_id;?>"; -
pro-violet-viettel/sourcecode/application/views/layout/admin/sidebar.php
r716 r737 64 64 <i class="icon-double-angle-right"></i> 65 65 Ngưá»i dùng 66 < b class="arrow icon-angle-down"></b>66 <!--<b class="arrow icon-angle-down"></b>--> 67 67 </a> 68 68 69 <!-- ul class="submenu">69 <!--<ul class="submenu"> 70 70 <li class="<?php if(in_array($class,array("user"))) {echo "active";}?>"> <a href="<?php echo $base_url; ?>admin/nguoi_dung"> KÃch hoạt/ Tạm ngưng </a> </li> 71 71 <li class="<?php if(in_array($class,array("user"))) {echo "active";}?>"> <a href="<?php echo $base_url; ?>admin/nguoi_dung"> Thá»ng kê tà i khoản </a> </li> 72 </ul -->72 </ul>--> 73 73 </li> 74 74
Note: See TracChangeset
for help on using the changeset viewer.