Advertisement
freddy0512

paste

Jan 29th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <form name="indonesia" action="<?php echo site_url('admin/indonesia/delete_multiple'); ?>">
  2.  
  3. <button type="button" class="btn btn-danger">Hapus</button>
  4. <table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
  5. <thead>
  6. <tr>
  7. <th>
  8. <button type="button" class="btn btn-info" onClick="check_all()" >Check</button>
  9. <button type="button" class="btn btn-success" onClick="uncheck_all()" >Un-Check</button>
  10. </th>
  11. <th>judul</th>
  12. <th>penulis</th>
  13. <th>stat</th>
  14. </tr>
  15. </thead>
  16.  
  17. <tbody>
  18. <?php
  19. foreach ($ListIndonesia->result() as $row)
  20. {
  21. ?>
  22. <tr>
  23. <td><input type="checkbox" name="item[]" id="item[]" value="<?=$row->id ?>"></td>
  24. <td><?=$row->judul ?></td>
  25. <td><?=$row->penulis ?></td>
  26. <td><?=$row->stat ?></td>
  27. </tr>
  28. <?php } ?>
  29. </tbody>
  30. </table>
  31. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement