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 " ".$upload_error['error']; ?>
|
---|
5 | </div>
|
---|
6 | <?php }else { ?>
|
---|
7 | <?php if($process){ ?>
|
---|
8 | <div class="row">
|
---|
9 | <div class="col-xs-12">
|
---|
10 | <div style="padding-bottom:4px" class="table-header">
|
---|
11 | Kết quả
|
---|
12 | </div>
|
---|
13 | <div class="table-responsive">
|
---|
14 | <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper">
|
---|
15 | <div id="table_result">
|
---|
16 | <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info">
|
---|
17 | <thead>
|
---|
18 | <tr role="row">
|
---|
19 | </th>
|
---|
20 | <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Sá» Äiá»n thoại</th>
|
---|
21 | <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">HỠvà tên</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>
|
---|
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>
|
---|
25 | <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Kết quả</th>
|
---|
26 | <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">LÜ do</th>
|
---|
27 | </tr>
|
---|
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 |
|
---|
82 | </tbody>
|
---|
83 | </thead>
|
---|
84 | </table>
|
---|
85 | </div>
|
---|
86 | </div>
|
---|
87 | </div>
|
---|
88 | </div>
|
---|
89 | </div>
|
---|
90 | <?php } ?>
|
---|
91 | <?php } ?> |
---|