page.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?php IMPORT::view('header'); ?>
  2. <div id="breadcrumb"> <a href="<?php echo baseUrl().'yonetim' ?> " class="tip-bottom" data-original-title="Go to Home"><i class="icon-home"></i> YÖNETİM PANELİ</a> <a href="<?php echo baseUrl().'yonetim/sayfa' ?>" class="tip-bottom" data-original-title="">SAYFA</a></div>
  3. <div class="container-fluid">
  4. <div class="row-fluid">
  5. <div class="widget-box">
  6. <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
  7. <h5>Sayfalar</h5>
  8. <div class="pull-right" style="margin:5px;"><a href="<?php echo baseUrl(); ?>yonetim/page/new "><button>YENİ SAYFA</button> </a></div>
  9. </div>
  10. <div class="widget-content nopadding">
  11. <table class="table table-bordered table-striped">
  12. <thead>
  13. <tr>
  14. <th>Sayfa</th>
  15. <th width="80">İşlemler</th>
  16. </tr>
  17. </thead>
  18. <tbody>
  19. <?php foreach ($sayfa as $key ) { ?>
  20. <tr>
  21. <td><?php echo $key->title ?></td>
  22. <td class="islemler" style="text-align: center;">
  23. <a href="<?php echo baseUrl(); ?>yonetim/page/update/<?php echo $key->id; ?>"><i class="icon-pencil"></i></a>
  24. <a href="<?php echo baseUrl(); ?>/yonetim/page/delete/<?php echo $key->id; ?>"><i class="icon-remove"></i></a>
  25. </td>
  26. </tr>
  27. <?php } ?>
  28. </tbody>
  29. </table>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. <?php Import::view('footer'); ?>