1 | <?php if($success==0){ ?>
|
---|
2 | <div id="error-upload" class="alert alert-danger" role="alert">
|
---|
3 | <span class="icon-exclamation-sign" aria-hidden="true"></span>
|
---|
4 | <span class="sr-only">Error:</span> <?php echo " ".$process['error']; ?>
|
---|
5 | </div>
|
---|
6 | <?php }elseif($success == 1){ ?>
|
---|
7 | <?php if ($process){?>
|
---|
8 | <div class="row">
|
---|
9 | <div class="col-xs-12">
|
---|
10 | <!-- PAGE CONTENT BEGINS -->
|
---|
11 | <div style="padding-bottom:4px" class="table-header">
|
---|
12 | Kết quả
|
---|
13 | </div>
|
---|
14 | <?php //if ($success == 0){ ?>
|
---|
15 |
|
---|
16 | <?php //}elseif($success == 1){ ?>
|
---|
17 | <div class="table-responsive">
|
---|
18 | <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper">
|
---|
19 | <div id="table_result">
|
---|
20 | <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info">
|
---|
21 | <thead>
|
---|
22 | <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 | </th>
|
---|
29 | <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Sá» Äiá»n thoại</th>
|
---|
30 | <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ói dá»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>
|
---|
33 | <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 | <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Kết quả</th>
|
---|
35 | <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">LÜ do</th>
|
---|
36 | </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; ?>
|
---|
57 | </tbody>
|
---|
58 | </thead>
|
---|
59 | </table>
|
---|
60 | </div>
|
---|
61 | </div>
|
---|
62 | </div>
|
---|
63 | </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>
|
---|
69 | <?php } ?>
|
---|
70 | <?php } ?> |
---|