Changeset 906 for pro-violet-viettel/sourcecode/application/modules/collaborator/views/user/result.php
- Timestamp:
- Apr 23, 2015 12:00:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/collaborator/views/user/result.php
r883 r906 1 <?php if ($success==0){ ?>1 <?php if ($success == 0){ ?> 2 2 <div id="error-upload" class="alert alert-danger" role="alert"> 3 3 <span class="icon-exclamation-sign" aria-hidden="true"></span> 4 <span class="sr-only">Error:</span> <?php echo " ".$ process['error']; ?>4 <span class="sr-only">Error:</span> <?php echo " ".$upload_error['error']; ?> 5 5 </div> 6 <?php }else if($success == 1){ ?>7 <?php if ($process){?>6 <?php }else { ?> 7 <?php if($process){ ?> 8 8 <div class="row"> 9 9 <div class="col-xs-12"> 10 <!-- PAGE CONTENT BEGINS -->11 10 <div style="padding-bottom:4px" class="table-header"> 12 11 Kết quả 13 12 </div> 14 <?php //if ($success == 0){ ?>15 16 <?php //}elseif($success == 1){ ?>17 13 <div class="table-responsive"> 18 14 <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper"> … … 21 17 <thead> 22 18 <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 19 </th> 29 20 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Sá» Äiá»n thoại</th> 30 21 <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óidá»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>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> 33 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> 34 25 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Kết quả</th> 35 26 <th role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">LÜ do</th> 36 27 </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; ?> 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 57 82 </tbody> 58 83 </thead> 59 84 </table> 60 85 </div> 61 86 </div> 62 87 </div> 63 88 </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> 89 </div> 69 90 <?php } ?> 70 91 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.