SHOW:
|
|
- or go back to the newest paste.
| 1 | <table class="table table-striped table-bordered table-hover" id="aktivitas"> | |
| 2 | ||
| 3 | <thead> | |
| 4 | <tr> | |
| 5 | <th width="8%">Tgl Aktivitas</th> | |
| 6 | <th width="5%">Aktivitas</th> | |
| 7 | <th width="30%">Keterangan</th> | |
| 8 | <th width="5%">Lembaga</th> | |
| 9 | <th width="5%">Cabang</th> | |
| 10 | <th width="5%">Surveyor </th> | |
| 11 | <th width="10%">Kjg Berikut </th> | |
| 12 | <th width="23%">Hasil Survey</th> | |
| 13 | <th width="15%">Status</th> | |
| 14 | </tr> | |
| 15 | </thead> | |
| 16 | ||
| 17 | <tbody> | |
| 18 | ||
| 19 | <?php | |
| 20 | $id_pelanggan = $_GET['id_pelanggan']; | |
| 21 | $result = mysql_query("SELECT * FROM tb_aktivitas_harian WHERE id_pelanggan=$id_pelanggan ORDER BY tgl_aktivitas DESC");
| |
| 22 | while ($row = mysql_fetch_array($result)) {
| |
| 23 | ?> | |
| 24 | ||
| 25 | <tr> | |
| 26 | ||
| 27 | <td><?php echo $row['tgl_aktivitas'] ?></td> | |
| 28 | <td><?php echo $row['aktivitas'] ?></td> | |
| 29 | <td><?php echo $row['keterangan']?></td> | |
| 30 | <td><?php echo $row['lembaga']?></td> | |
| 31 | <td><?php echo $row['cabang']?></td> | |
| 32 | <td><?php echo $row['surveyor'] ?></td> | |
| 33 | <td><?php echo $row['tgl_kunjungan_berikut']?></td> | |
| 34 | <td><?php echo $row['hasil']?></td> | |
| 35 | - | <td align="center"><a href="#" data-toggle="modal" class="btn btn-xs red tooltips" data-original-title="Hapus Data" data-target="#small<?php echo $row['id_aktivitas_harian'];?>"> |
| 35 | + | <td align="center"> |
| 36 | - | <i class="fa fa-times"></i> </a> |
| 36 | + | <a href="#" data-toggle="modal" class="btn btn-xs red tooltips" data-original-title="Hapus Data" data-target="#small<?php echo $row['id_aktivitas_harian'];?>"> |
| 37 | <i class="fa fa-times"></i> </a> | |
| 38 | - | <i class="fa fa-edit"></i></a> |
| 38 | + | |
| 39 | <i class="fa fa-edit"></i> | |
| 40 | </a> | |
| 41 | </td> | |
| 42 | </tr> | |
| 43 | <?php | |
| 44 | - | <td colspan="8><?php echo $row['catatan']?></td> |
| 44 | + | /* |
| 45 | <tr> | |
| 46 | <td>Catatan</td> | |
| 47 | - | <?php } ?> |
| 47 | + | <!----- PROBLEM DISINI -----> |
| 48 | <td colspan="8"><?php echo $row['catatan']?></td> | |
| 49 | </tr> | |
| 50 | ||
| 51 | <?php | |
| 52 | */ | |
| 53 | } ?> | |
| 54 | ||
| 55 | </tbody> | |
| 56 | </table> |