Ignore:
Timestamp:
Mar 24, 2015 2:15:02 PM (10 years ago)
Author:
namnd
Message:
 
Location:
pro-violet-viettel/sourcecode/application/modules/admin/views
Files:
5 edited

Legend:

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

    r777 r818  
    1 <?php
     1<?php
    22$base_url = base_url();
    33$this->load->view('layout/admin/header', array('base_url' => $base_url));
    4 $this->load->view('layout/admin/sidebar', array('base_url' => $base_url, 'method'=>$this->router->method, 'class'=>$this->router->class  ));
     4$this->load->view('layout/admin/sidebar', array('base_url' => $base_url, 'method'=>$this->router->method, 'class'=>$this->router->class));
    55?>
    66<script type="text/javascript">
     
    2626            });
    2727            return false;
    28         })
     28        });
    2929        $('#keyword').keyup(function (event) {
    3030            if (event.keyCode == '13') {
     
    157157        <li>
    158158            <i class="icon-home home-icon"></i>
    159             <a href="#">Trang chá»§</a>
     159            <a href="#">Trang ch</a>
    160160        </li>
    161161
    162162        <li>
    163             <a href="#">Quản lÜ tin nhắn</a>
     163            <a href="#">Quản lý tin nhắn</a>
    164164        </li>
    165165       
     
    169169        <form class="form-search">
    170170            <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 ...">
    172172                <i class="icon-search nav-search-icon"></i>
    173173            </span>
     
    183183    <div class="page-header">
    184184        <h1>
    185             Tin nhắn
     185            Tin nhn
    186186            <small>
    187187                <i class="icon-double-angle-right"></i>
    188                 Mẫu tin nhắn
     188                Mẫu tin nhắn
    189189            </small>
    190190        </h1>
  • pro-violet-viettel/sourcecode/application/modules/admin/views/report/listview.php

    r777 r818  
    33                <div style="padding-bottom:4px" class="table-header">
    44                        Doanh thu
     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>
     7                </div>
    58                </div>
    69
     
    4851                                                <tr role="row">
    4952                                                       
    50                                                         <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">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>
     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>
    5255                                                        <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>
    5356                                                        <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>
     
    6669
    6770                                                        <td class=" ">
    68                                                                 <a onclick="getUserHistory(<?php echo $paidlog['us_id']; ?>, 1);" data-toggle="modal"><?php echo $paidlog['username'];?></a>
     71                                                                <a onclick="getUserHistory(<?php echo $paidlog['us_id']; ?>, 1);" data-toggle="modal"><?php echo $paidlog['cellphone']?></a>
    6972                                                        </td>
    70                                                         <td class=" "><?php echo $paidlog['cellphone']?></td>
     73                                                        <td class=" "><?php echo $paidlog['username'];?></td>
    7174                                                       
    7275                                                        <td class="hidden-480 "><?php echo number_format($paidlog['amount'],0);?></td>
     
    134137                <div class="tab-content history-tab-content">
    135138                    <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>
     141                                                </div>
    136142                        <div class="table-responsive">
    137143                            <table id="sample-table-1" class="table table-striped table-bordered table-hover">
  • pro-violet-viettel/sourcecode/application/modules/admin/views/reportpackage/province.php

    r713 r818  
    5555                            </tr>
    5656                        </thead>
    57 
     57                                                <tr>
     58                                                                <td colspan=2 align="center" style="font-weight:bold;">Tổng</td>
     59                                                                <?php $d = 0; ?>
     60                                                                <?php foreach ($totalVip as $vipName => $total): ?>     
     61                                                                        <?php $d++;?>
     62                                                                        <td style="font-weight:bold;"><?php echo $total; ?></td>
     63                                                                        <?php if($d<count($totalVip)): ?>
     64                                                                        <td></td>
     65                                                                        <?php endif;?>
     66                                                                <?php endforeach; ?>
     67                                                        </tr>
    5868                        <tbody role="alert" aria-live="polite" aria-relevant="all">
    5969                            <?php
     70                                                        $total = array();
    6071                            foreach ($provinces as $province) {
    6172                                ?>
     
    7586                                </tr>
    7687                            <?php } ?>
     88                                                        <?php //var_dump($total);?>
     89                                                       
    7790                        </tbody>
    7891                    </table>
    79                     <div class="row"><div class="col-sm-6">
     92                    <!--<div class="row"><div class="col-sm-6">-->
    8093
    8194                        </div>
  • pro-violet-viettel/sourcecode/application/modules/admin/views/reportprovince/province.php

    r713 r818  
    99                Báo cáo doanh thu theo tỉnh / thành phố
    1010                <div class="pull-right" style="margin:5px;">
    11                     <a style="color:#fff" href="<?php echo base_url();?>admin/reportprovince/export/<?php echo $month;?>/<?php echo $year;?>">Xuất ra Excel</a>
     11                    <!--<a style="color:#fff" href="<?php echo base_url();?>admin/reportprovince/export/<?php echo $month;?>/<?php echo $year;?>">Xuất ra Excel</a>-->
     12                                        <a style="color:#fff" href="<?php echo base_url();?>admin/reportprovince/exportProvince/<?php echo $month;?>/<?php echo $year;?>">Xuất ra Excel</a>
    1213                </div>
    1314            </div>
     
    1718                    <form autocomplete="off" onsubmit="return false;" id="province" >
    1819                        <div class="row">
    19                             <div class="col-sm-6">
    20                                 <div class="" style="display: inline-block"><label>Tháng
     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>
    2133
    2234                                        <select aria-controls="sample-table-2" size="1" name="month" onchange="filter();">                                     
     
    3446                                        </select>
    3547                                </div>
    36                             </div>
     48                                                        </div>
     49                                                       
    3750
    3851                            <div class="col-sm-6">
     
    4053                            </div>
    4154                        </div>
     55                                               
     56                                                <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                                                        <div class="col-sm-6">
     61                                                                <div class="" style="display: inline-block"><label>Ngày</label>
     62
     63                                        <select aria-controls="sample-table-2" size="1" name="to_date" onchange="filter();">                                     
     64                                            <?php for ($i=1;$i<=31;$i++) { ?>
     65                                            <option value="<?php echo $i;?>" <?php if($to_date==$i) { ?> selected <?php }?>><?php echo $i;?></option>
     66                                            <?php }?>
     67                                        </select>
     68                                </div>
     69                                <div class="" style="display: inline-block"><label>Tháng</label>
     70
     71                                        <select aria-controls="sample-table-2" size="1" name="to_month" onchange="filter();">                                     
     72                                            <?php for ($i=1;$i<=12;$i++) { ?>
     73                                            <option value="<?php echo $i;?>" <?php if($to_month==$i) { ?> selected <?php }?>><?php echo $i;?></option>
     74                                            <?php }?>
     75                                        </select>
     76                                </div>
     77                                <div class=""  style="display: inline-block"><label>Năm
     78
     79                                        <select aria-controls="sample-table-2" size="1" name="to_year" onchange="filter();">                                     
     80                                            <?php for ($i=2014;$i<=date("Y");$i++) { ?>
     81                                            <option value="<?php echo $i;?>" <?php if($to_year==$i) { ?> selected <?php }?>><?php echo $i;?></option>
     82                                            <?php }?>
     83                                        </select>
     84                                </div>
     85                            </div>
     86                                                </div>
    4287                          </form>
    4388                    <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info">
     
    58103
    59104                        <tbody role="alert" aria-live="polite" aria-relevant="all">
     105                                                        <tr>
     106                                                                <td colspan=2 align="center" style="font-weight:bold;">Tổng</td>
     107                                                                <td style="font-weight:bold;"><?php echo $totalTbng; ?></td>
     108                                                                <td style="font-weight:bold;"><?php echo $totalTbth; ?></td>
     109                                                                <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 $totalDtng; ?></td>
     112                                                                <td style="font-weight:bold;"><?php echo $totalDtn; ?></td>
     113                                                               
     114                                                        </tr>
    60115                            <?php
    61116                            foreach ($provinces as $province) {
     
    77132
    78133                                </tr>
     134                                                               
    79135                            <?php } ?>
    80136                        </tbody>
  • pro-violet-viettel/sourcecode/application/modules/admin/views/user/listview.php

    r773 r818  
    171171                                    <td class=" ">
    172172                                        <a onclick="getUserHistory(<?php echo $user['us_id']; ?>, 1);" data-toggle="modal"><?php echo $user['username']; ?></a>
    173                                                                              <!--<a href="#user-history" data-toggle="modal"><?php echo @$user['username']; ?></a>-->
     173                                                                             <!--<a href="#user-history" data-toggle="modal"><?php echo $user['username']; ?></a>-->
    174174                                    </td>
    175175                                    <td class=" ">
     
    177177                                    </td>
    178178                                    <td class="hidden-480 "><?php echo number_format($user['acc_balanced'], 0); ?></td>
    179                                                                         <td class=" "><?php echo $user['created_time']; ?></td>
     179                                                                        <td class=" "><?php echo date('d/m/Y', strtotime($user['created_time'])); ?></td>
    180180                                    <td class=" "><?php echo isset($user['expire_date']) && strtotime($user['expire_date']) > 0 ? date('d/m/Y', strtotime($user['expire_date'])) : ''; ?></td>
    181181                                    <td><?php echo $user['province']; ?></td>
     
    225225            <div class="modal-header">
    226226                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
    227                 <h4 class="modal-title">Lịch sá»­</h4>
     227                <h4 class="modal-title">ThÃŽng tin người dùng</h4>
    228228            </div>
    229229            <div class="modal-body">
     
    242242                <div class="tab-content history-tab-content">
    243243                    <div class="tab-pane in active" id="regis">
     244                                                <div class="col-sm-12">
     245                                                        <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                                                </div>
    244247                        <div class="table-responsive">
    245248                            <table id="sample-table-1" class="table table-striped table-bordered table-hover">
Note: See TracChangeset for help on using the changeset viewer.