Ignore:
Timestamp:
Nov 10, 2014 10:10:32 AM (11 years ago)
Author:
quyenla
Message:

paidlogs

Location:
pro-violet-viettel/sourcecode/application/modules/admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/controllers/report.php

    r422 r441  
    1515        $admin_info = $this->session->userdata('adminInfo');
    1616        if ($admin_info) {
    17             $data['statistics'] = $this->getStatistics();
    18             $data['content'] = $this->getSmstemplates();
     17            $data['statistics'] = $this->getStatistics();           
     18            $data['content'] = $this->getPaidlogs();
    1919            $this->load->view('report/index', $data);
    2020        } else {
     
    2525    {
    2626        $data=array();
     27       
     28        $last_month['start']= strtotime(date("Y-m-d", strtotime("first day of previous month"))." 00:00:00");
     29        $last_month['end']= strtotime(date("Y-m-d", strtotime("last day of previous month"))." 23:59:59");
     30       
     31        $last_week['start']= strtotime(date("Y-m-d", strtotime("first day of previous week"))." 00:00:00");
     32        $last_week['end']= strtotime(date("Y-m-d", strtotime("last day of previous week"))." 23:59:59");
     33       
     34        $last_week['end']=strtotime('last sunday')+(24*60*60-1);
     35        $last_week['start']=($last_week['end']-7*24*60*60+1);
     36       
     37        $last_year['start']=  strtotime((date("Y")-1)."-01-01 00:00:00");
     38        $last_year['end']=  strtotime((date("Y")-1)."-12-31 23:59:59");
     39       
     40       
     41       
     42        $last_quarter=$this->getLastquarter();
     43        $last_quarter['start']=  $last_quarter['start'];
     44        $last_quarter['end']=  $last_quarter['end'];
     45       
     46       
     47        $this->load->model('paidlog_model');
     48        $paidlogs = $this->paidlog_model->getAllPaidlogs($last_year['start']);
     49       
     50        $revenue['last_week']=0;
     51        $revenue['last_month']=0;
     52        $revenue['last_quarter']=0;
     53        $revenue['last_year']=0;
     54        foreach ($paidlogs as $paidlog)
     55        {
     56           
     57            if (($paidlog['time'] < $last_week['end'])&&($paidlog['time'] > $last_week['start']))
     58            {
     59                $revenue['last_week']+=$paidlog['amount'];
     60            }
     61            if (($paidlog['time'] < $last_month['end'])&&($paidlog['time'] > $last_month['start']))
     62            {
     63                $revenue['last_month']+=$paidlog['amount'];
     64            }
     65            if (($paidlog['time'] < $last_quarter['end'])&&($paidlog['time'] > $last_quarter['start']))
     66            {
     67                $revenue['last_quarter']+=$paidlog['amount'];
     68            }
     69            if (($paidlog['time'] < $last_year['end'])&&($paidlog['time'] > $last_year['start']))
     70            {
     71                $revenue['last_year']+=$paidlog['amount'];
     72            }
     73        }
     74        $data['revenue']=$revenue;
    2775        return $this->load->view('report/statistics', $data, true);
    2876    }
    29     public function getSmstemplates($filters = array()) {
     77    public function getLastquarter()
     78    {
     79        $current_month = date('m');
     80          $current_year = date('Y');
     81
     82          if($current_month>=1 && $current_month<=3)
     83          {
     84            $start_date = strtotime('1-October-'.($current_year-1));  // timestamp or 1-October Last Year 12:00:00 AM
     85            $end_date = strtotime('1-Janauary-'.$current_year);  // // timestamp or 1-January  12:00:00 AM means end of 31 December Last year
     86          }
     87          else if($current_month>=4 && $current_month<=6)
     88          {
     89            $start_date = strtotime('1-January-'.$current_year);  // timestamp or 1-Janauray 12:00:00 AM
     90            $end_date = strtotime('1-April-'.$current_year);  // timestamp or 1-April 12:00:00 AM means end of 31 March
     91          }
     92          else  if($current_month>=7 && $current_month<=9)
     93          {
     94            $start_date = strtotime('1-April-'.$current_year);  // timestamp or 1-April 12:00:00 AM
     95            $end_date = strtotime('1-July-'.$current_year);  // timestamp or 1-July 12:00:00 AM means end of 30 June
     96          }
     97          else  if($current_month>=10 && $current_month<=12)
     98          {
     99            $start_date = strtotime('1-July-'.$current_year);  // timestamp or 1-July 12:00:00 AM
     100            $end_date = strtotime('1-October-'.$current_year);  // timestamp or 1-October 12:00:00 AM means end of 30 September
     101          }
     102          return array("start"=>$start_date,"end"=>$end_date);
     103    }
     104    public function getPaidlogs($filters = array()) {
    30105        $this->load->helper('pagging');
    31106        $this->load->model('paidlog_model');
     
    58133        }
    59134       
    60         $data['start'] = ($data['current_page'] - 1) * $data['perpage'];
    61         $data['total'] = $this->paidlog_model->countSmstemplate($data); 
    62        
    63         $data['paidlogs'] = $this->paidlog_model->getSmstemplates($data);
    64 
    65         $data['paging_url'] = base_url() . "/admin/mau_tin_nhan/trang/";
     135        $data['start'] = ($data['current_page'] - 1) * $data['perpage'];   
     136        $data['total'] = $this->paidlog_model->countPaidlog($data); 
     137        $data['paidlogs'] = $this->paidlog_model->getPaidlogs($data);
     138
     139        $data['paging_url'] = base_url() . "/admin/doanh_thu_tong_hop/trang/";
    66140        $data['num_links'] = 2;
    67141        $data['paging'] = pagging($data);
     
    73147    }
    74148
    75     public function addSmstemplate() {
     149    public function addPaidlog() {
    76150        $result['success'] = 0;
    77151        $result = array();
     
    124198        $id=$this->uri->segment(4);
    125199        $this->load->model('paidlog_model');
    126         $data=$this->paidlog_model->getSmstemplate($id);
     200        $data=$this->paidlog_model->getPaidlog($id);
    127201        $this->load->view('report/viewSms',$data);
    128202    }
     
    131205        $id=$this->uri->segment(4);
    132206        $this->load->model('paidlog_model');
    133         $data=$this->paidlog_model->getSmstemplate($id);
     207        $data=$this->paidlog_model->getPaidlog($id);
    134208        $this->load->view('report/editSms',$data);
    135209    }
     
    147221        $id=$this->uri->segment(4);
    148222        $this->load->model('paidlog_model');
    149         $data=$this->paidlog_model->getSmstemplate($id);
     223        $data=$this->paidlog_model->getPaidlog($id);
    150224        $this->load->view('report/deleteSms',$data);
    151225    }
     
    198272    public function test() {
    199273       
    200       /*
    201         for ($i = 1; $i <= 1500; $i++) {
     274     
     275        for ($i = 1; $i <= 5000; $i++) {
    202276            $input['us_id']=rand(1,100);
    203277            $input['paid_type']=rand(1,2);
    204278            $input['amount']=rand(3,10)*1000;
    205             $time=(rand((time()-(5*30*24*60*60)),time()));
     279            $time=(rand((time()-(12*30*24*60*60)),time()));
    206280            $input['paid_time']= date("Y-m-d H:i:s",$time);
    207281            $this->load->model('paidlog_model');
    208282            $this->paidlog_model->insert($input);
    209283        }
    210        *
    211        */
     284       
     285       die();
     286     
    212287        for ($i = 1; $i <= 100; $i++) {
    213288            $input['us_id']=$i;
  • pro-violet-viettel/sourcecode/application/modules/admin/models/paidlog_model.php

    r422 r441  
    1111                parent::__construct();
    1212        }
    13         function getSmstemplates($data) {
     13        function getPaidlogs($data) {
    1414        $sql = "SELECT * FROM " . $this->table_name. " INNER JOIN tbluser ON tbluser.us_id = tblpaidlog.us_id ";
    1515        if ($data['keyword']) {
     
    5050    }
    5151
    52     function countSmstemplate($data) {
     52    function countPaidlog($data) {
    5353        $sql = "SELECT COUNT(".$this->id_name.") as total FROM " . $this->table_name;
    5454        if ($data['keyword']) {
     
    6262        return $result['total'];
    6363    }
    64     function getSmstemplate($id)
     64    function getPaidlog($id)
    6565    {
    6666        $sql="SELECT * FROM ".$this->table_name." WHERE ".$this->id_name."=".$id." LIMIT 1";
     
    6868        return $result;
    6969    }
     70    function getAllPaidlogs($from)
     71    {
     72        // get all paidlogs from the last years until now
     73        $from = date("Y-m-d 00:00:00",$from);
     74        $sql="SELECT * FROM ".$this->table_name." WHERE paid_time > '".$from."'";
     75        $result = $this->db->query($sql)->result_array();
     76        foreach ($result as $index=>$paidlog)
     77        {
     78            $result[$index]['time']=  strtotime($paidlog['paid_time']);
     79        }
     80        return $result;
     81    }
    7082}
  • pro-violet-viettel/sourcecode/application/modules/admin/views/report/index.php

    r422 r441  
    8282    {
    8383        $.ajax({
    84             url: 'http://viettel.violet.vn/admin/mau_tin_nhan/trang/1',
     84            url: 'http://viettel.violet.vn/admin/doanh_thu_tong_hop/trang/1',
    8585            type: "POST",
    8686            data: $("#collaborator").serialize(),
     
    120120                        }
    121121                </style>
    122 <div class="main-content" id="content">
     122<div class="main-content" >
    123123    <div id="breadcrumbs" class="breadcrumbs">
    124124
     
    160160    </div><!-- /.page-header -->
    161161   
    162      <div class="row">
    163          
    164         
    165     <?php echo $statistics; ?>    
    166     <?php //echo $content; ?>
     162     <div class="row"> 
     163    <?php echo $statistics; ?>   
     164     </div>
     165     <div class="row" id="content">   
     166    <?php echo $content; ?>
    167167     </div>
    168168    </div>
  • pro-violet-viettel/sourcecode/application/modules/admin/views/report/listview.php

    r422 r441  
    4848                                    </label>
    4949                                </th>
    50                              
    51                                 <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">Số điện thoại</th>
    52                                 <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">Họ tên</th>
    53                                 <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">Số tiền</th>
    54                                 <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">Ngày</th>
     50                                <th class="<?php if ($sorting_field == 'fullname') {echo $sorting_order;} else {echo "sorting";}?>" 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">Họ tên</th>
     51                                <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">Số điện thoại</th>
     52                                <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>
     53                                <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>
     54                                <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>
    5555                                 
    5656                        </thead>
     
    7070                                </td>
    7171
    72                                
    73                                 <td class=" "><?php echo $paidlog['cellphone']?></td>
    7472                                <td class=" ">
    7573                                    <a href="#">Ho va ten</a>
    7674                                </td>
     75                                <td class=" "><?php echo $paidlog['cellphone']?></td>
     76                               
    7777                                <td class="hidden-480 "><?php echo $paidlog['amount']?></td>
     78                                <td class="hidden-480 "><?php if ($paidlog['paid_type']==1) {echo "SMS";} else { echo "Card";}?></td>
    7879                                <td class=" "><?php echo $paidlog['paid_time']?></td>
    7980
  • pro-violet-viettel/sourcecode/application/modules/admin/views/report/statistics.php

    r422 r441  
    11<div class="col-xs-12">
    2                                                                 <!-- PAGE CONTENT BEGINS -->
    3                                                                 <div class="col-xs-6 no-padding">
    4                                                                         <div class="widget-box no-border">
    5                                                                                 <div class="widget-header widget-header-flat">
    6                                                                                         <h4 class="lighter">
    7                                                                                                 <i class="icon-signal"></i>
    8                                                                                                 Doanh thu
    9                                                                                         </h4>
     2    <!-- PAGE CONTENT BEGINS -->
     3    <div class="col-xs-6 no-padding">
     4        <div class="widget-box no-border">
     5            <div class="widget-header widget-header-flat">
     6                <h4 class="lighter">
     7                    <i class="icon-signal"></i>
     8                    Doanh thu
     9                </h4>
    1010
    11                                                                                         <div class="widget-toolbar">
    12                                                                                                 <a data-action="collapse" href="#">
    13                                                                                                         <i class="icon-chevron-up"></i>
    14                                                                                                 </a>
    15                                                                                         </div>
    16                                                                                 </div>
    17                                                                                 <div class="widget-body">
    18                                                                                                 <div class="table-responsive">
    19                                                                                                         <table class="table table-striped table-bordered table-hover" id="sample-table-1">
    20                                                                                                                 <thead style="background-color: blue">
    21                                                                                                                         <tr>
    22                                                                                                                                 <th>Thời gian</th>
    23                                                                                                                                 <th>Doanh thu</th>
    24                                                                                                                         </tr>
    25                                                                                                                 </thead>
     11                <div class="widget-toolbar">
     12                    <a data-action="collapse" href="#">
     13                        <i class="icon-chevron-up"></i>
     14                    </a>
     15                </div>
     16            </div>
     17            <div class="widget-body">
     18                <div class="table-responsive">
     19                    <table class="table table-striped table-bordered table-hover" id="sample-table-1">
     20                        <thead style="background-color: blue">
     21                            <tr>
     22                                <th>Thời gian</th>
     23                                <th>Doanh thu</th>
     24                            </tr>
     25                        </thead>
    2626
    27                                                                                                                 <tbody>
    28                                                                                                                         <tr>
    29                                                                                                                                 <td>Tuần trước</td>
    30                                                                                                                                 <td>
    31                                                                                                                                         $1
    32                                                                                                                                 </td>
    33                                                                                                                         </tr>
    34                                                                                                                         <tr>
    35                                                                                                                                 <td>Tháng trước</td>
    36                                                                                                                                 <td>
    37                                                                                                                                         $1111111111
    38                                                                                                                                 </td>
    39                                                                                                                         </tr>
    40                                                                                                                         <tr>
    41                                                                                                                                 <td>QuÜ trước</td>
    42                                                                                                                                 <td>
    43                                                                                                                                         $1111111111
    44                                                                                                                                 </td>
    45                                                                                                                         </tr>
    46                                                                                                                         <tr>
    47                                                                                                                                 <td>Năm trước</td>
    48                                                                                                                                 <td>
    49                                                                                                                                         $1111111111
    50                                                                                                                                 </td>
    51                                                                                                                         </tr>
    52                                                                                                                 </tbody>
    53                                                                                                         </table>
    54                                                                                                 </div><!-- /.table-responsive -->
    55                                                                                 </div>
    56                                                                         </div>
    57                                                                 </div>
    58                                                                
    59                                                                 <div class="col-xs-6">
    60                                                                         <div class="widget-box no-border">
    61                                                                                 <div class="widget-header widget-header-flat">
    62                                                                                         <h4 class="lighter">
    63                                                                                                 <i class="icon-signal"></i>
    64                                                                                                 Biểu đồ doanh thu
    65                                                                                         </h4>
     27                        <tbody>
     28                            <tr>
     29                                <td>Tuần trước</td>
     30                                <td>
     31                                    <?php echo $revenue['last_week'];?>
     32                                </td>
     33                            </tr>
     34                            <tr>
     35                                <td>Tháng trước</td>
     36                                <td>
     37                                    <?php echo $revenue['last_month'];?>
     38                                </td>
     39                            </tr>
     40                            <tr>
     41                                <td>QuÜ trước</td>
     42                                <td>
     43                                    <?php echo $revenue['last_quarter'];?>
     44                                </td>
     45                            </tr>
     46                            <tr>
     47                                <td>Năm trước</td>
     48                                <td>
     49                                    <?php echo $revenue['last_year'];?>
     50                                </td>
     51                            </tr>
     52                        </tbody>
     53                    </table>
     54                </div><!-- /.table-responsive -->
     55            </div>
     56        </div>
     57    </div>
    6658
    67                                                                                         <div class="widget-toolbar">
    68                                                                                                 <a data-action="collapse" href="#">
    69                                                                                                         <i class="icon-chevron-up"></i>
    70                                                                                                 </a>
    71                                                                                         </div>
    72                                                                                 </div>
     59    <div class="col-xs-6">
     60        <div class="widget-box no-border">
     61            <div class="widget-header widget-header-flat">
     62                <h4 class="lighter">
     63                    <i class="icon-signal"></i>
     64                    Biểu đồ doanh thu
     65                </h4>
    7366
    74                                                                                 <div class="widget-body">
    75                                                                                         <div class="widget-main padding-4">
    76                                                                                                 <div id="sales-charts" style="width: 100%; height: 200px; padding: 0px; position: relative;"><canvas class="flot-base" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 534px; height: 200px;" width="534" height="200"></canvas><div class="flot-text" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; font-size: smaller; color: rgb(84, 84, 84);"><div class="flot-x-axis flot-x1-axis xAxis x1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div style="position: absolute; max-width: 76px; top: 184px; left: 29px; text-align: center;" class="flot-tick-label tickLabel">0.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 110px; text-align: center;" class="flot-tick-label tickLabel">1.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 192px; text-align: center;" class="flot-tick-label tickLabel">2.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 274px; text-align: center;" class="flot-tick-label tickLabel">3.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 355px; text-align: center;" class="flot-tick-label tickLabel">4.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 437px; text-align: center;" class="flot-tick-label tickLabel">5.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 519px; text-align: center;" class="flot-tick-label tickLabel">6.0</div></div><div class="flot-y-axis flot-y1-axis yAxis y1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div style="position: absolute; top: 172px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-2.000</div><div style="position: absolute; top: 150px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-1.500</div><div style="position: absolute; top: 129px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-1.000</div><div style="position: absolute; top: 107px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-0.500</div><div style="position: absolute; top: 86px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">0.000</div><div style="position: absolute; top: 65px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">0.500</div><div style="position: absolute; top: 43px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">1.000</div><div style="position: absolute; top: 22px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">1.500</div><div style="position: absolute; top: 1px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">2.000</div></div></div><canvas class="flot-overlay" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 534px; height: 200px;" width="534" height="200"></canvas><div class="legend"><div style="position: absolute; width: 86px; height: 66px; top: 13px; right: 13px; background-color: rgb(255, 255, 255); opacity: 0.85;"> </div><table style="position:absolute;top:13px;right:13px;;font-size:smaller;color:#545454"><tbody><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid #1abc9c;overflow:hidden"></div></div></td><td class="legendLabel">SMS</td></tr><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid #e67e22;overflow:hidden"></div></div></td><td class="legendLabel">Thẻ cào</td></tr><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid #3498db;overflow:hidden"></div></div></td><td class="legendLabel">Cộng tác viên</td></tr></tbody></table></div></div>
    77                                                                                         </div><!-- /widget-main -->
    78                                                                                 </div><!-- /widget-body -->
    79                                                                         </div><!-- /widget-box -->
    80                                                                 </div>
     67                <div class="widget-toolbar">
     68                    <a data-action="collapse" href="#">
     69                        <i class="icon-chevron-up"></i>
     70                    </a>
     71                </div>
     72            </div>
    8173
    82                                                                 <div class="clearfix"></div>
     74            <div class="widget-body">
     75                <div class="widget-main padding-4">
     76                    <div id="sales-charts" style="width: 100%; height: 200px; padding: 0px; position: relative;"><canvas class="flot-base" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 534px; height: 200px;" width="534" height="200"></canvas><div class="flot-text" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; font-size: smaller; color: rgb(84, 84, 84);"><div class="flot-x-axis flot-x1-axis xAxis x1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div style="position: absolute; max-width: 76px; top: 184px; left: 29px; text-align: center;" class="flot-tick-label tickLabel">0.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 110px; text-align: center;" class="flot-tick-label tickLabel">1.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 192px; text-align: center;" class="flot-tick-label tickLabel">2.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 274px; text-align: center;" class="flot-tick-label tickLabel">3.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 355px; text-align: center;" class="flot-tick-label tickLabel">4.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 437px; text-align: center;" class="flot-tick-label tickLabel">5.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 519px; text-align: center;" class="flot-tick-label tickLabel">6.0</div></div><div class="flot-y-axis flot-y1-axis yAxis y1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div style="position: absolute; top: 172px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-2.000</div><div style="position: absolute; top: 150px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-1.500</div><div style="position: absolute; top: 129px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-1.000</div><div style="position: absolute; top: 107px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-0.500</div><div style="position: absolute; top: 86px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">0.000</div><div style="position: absolute; top: 65px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">0.500</div><div style="position: absolute; top: 43px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">1.000</div><div style="position: absolute; top: 22px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">1.500</div><div style="position: absolute; top: 1px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">2.000</div></div></div><canvas class="flot-overlay" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 534px; height: 200px;" width="534" height="200"></canvas><div class="legend"><div style="position: absolute; width: 86px; height: 66px; top: 13px; right: 13px; background-color: rgb(255, 255, 255); opacity: 0.85;"> </div><table style="position:absolute;top:13px;right:13px;;font-size:smaller;color:#545454"><tbody><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid #1abc9c;overflow:hidden"></div></div></td><td class="legendLabel">SMS</td></tr><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid #e67e22;overflow:hidden"></div></div></td><td class="legendLabel">Thẻ cào</td></tr><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid #3498db;overflow:hidden"></div></div></td><td class="legendLabel">Cộng tác viên</td></tr></tbody></table></div></div>
     77                </div><!-- /widget-main -->
     78            </div><!-- /widget-body -->
     79        </div><!-- /widget-box -->
     80    </div>
    8381
    84                                                                 <div style="padding-bottom:4px" class="table-header">
    85                                                                         Thống kê
    86                                                                 </div>
     82    <div class="clearfix"></div>
    8783
    88                                                                 <div class="table-responsive">
    89                                                                         <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper"><div class="row"><div class="col-sm-6"><div id="sample-table-2_length" class="dataTables_length"><label>Hiện thị <select name="sample-table-2_length" size="1" aria-controls="sample-table-2"><option value="10" selected="selected">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> bản ghi</label></div></div><div class="col-sm-6"><div class="dataTables_filter" id="sample-table-2_filter"><label>Tìm kiếm: <input type="text" aria-controls="sample-table-2"></label></div></div></div><table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info">
    90                                                                                 <thead>
    91                                                                                         <tr role="row"><th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 249px;" aria-label="Số điện thoại">Số điện thoại</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 289px;" aria-label="Họ tên: activate to sort column ascending">Họ tên</th><th class="hidden-480 sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 196px;" aria-label="Tiền: activate to sort column ascending">Tiền</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 329px;" aria-label="
    92                                                                                                        
    93                                                                                                         Ngày đăng kÜ
    94                                                                                                 : activate to sort column ascending">
    95                                                                                                         <i class="icon-time bigger-110 hidden-480"></i>
    96                                                                                                         Ngày đăng kÜ
    97                                                                                                 </th></tr>
    98                                                                                 </thead>
    9984
    100                                                                                
    101                                                                         <tbody role="alert" aria-live="polite" aria-relevant="all"><tr class="odd">
    102                                                                                                 <td class="  sorting_1">
    103                                                                                                         <a href="#">0918273645</a>
    104                                                                                                 </td>
    105                                                                                                 <td class=" ">Nguyá»
    106 n Văn Văn</td>
    107                                                                                                 <td class="hidden-480 ">3,330 VND</td>
    108                                                                                                 <td class=" ">12/10/2104</td>
    109                                                                                         </tr></tbody></table><div class="row"><div class="col-sm-6"><div class="dataTables_info" id="sample-table-2_info">Hiển thị 1 đến 1 cá»§a 1 bản ghi</div></div><div class="col-sm-6"><div class="dataTables_paginate paging_bootstrap"><ul class="pagination"><li class="prev disabled"><a href="#"><i class="icon-double-angle-left"></i></a></li><li class="active"><a href="#">1</a></li><li class="next disabled"><a href="#"><i class="icon-double-angle-right"></i></a></li></ul></div></div></div></div>
    110                                                                 </div>
    11185
    112                                                                 <!-- PAGE CONTENT ENDS -->
    113                                                         </div>
     86    <!-- PAGE CONTENT ENDS -->
     87</div>
Note: See TracChangeset for help on using the changeset viewer.