duzenle.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php IMPORT::view('header'); ?>
  2. <div class="widget-box">
  3. <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
  4. <h5>DUYURU DÜZENLE </h5>
  5. </div>
  6. <div class="widget-content nopadding">
  7. <form action="" method="post" class="form-horizontal">
  8. <div class="control-group">
  9. <label class="control-label">DUYURU:</label>
  10. <div class="controls">
  11. <textarea class="span11" name="duyuru" rows="5"><?php echo $dzn->duyuru ?></textarea>
  12. </div>
  13. </div>
  14. <div class="control-group">
  15. <label class="control-label">Durumu:</label>
  16. <div class="controls">
  17. <select name="durum" class="span11" id="">
  18. <option value="">Seçiniz...</option>
  19. <option value="1" <?php echo $dzn->durum == 1?'selected':''; ?>>AKTİF</option>
  20. <option value="0" <?php echo $dzn->durum == 0?'selected':''; ?>>PASİF</option>
  21. </select>
  22. </div>
  23. </div>
  24. <div class="form-actions">
  25. <input type="hidden" name="id" value="<?php echo $dzn->id; ?>">
  26. <button type="submit" class="btn btn-success btn-block">DUYURUYU KAYDET</button>
  27. </div>
  28. </form>
  29. </div>
  30. </div>
  31. <div class="pull-right"><a href="<?php echo baseUrl('yonetim/duyuru/sil/'.$dzn->id); ?>"><button class="btn btn-large btn-danger">SİL</button></a></div>
  32. <?php Import::view('footer'); ?>