<h1 class="page-head-line">Haberler</h1> </div> </div> <div class="row"> <div class="col-md-12"> <a href="<?php echo siteUrl("haber/form"); ?> " class="btn btn-warning pull-right"><span class="glyphicon glyphicon-plus"></span> YENİ HABER EKLE </a> </div> </div> <div class="row"> <div class="col-md-12"> <div class="table-responsive"> <?php echo redirectData('uyari'); redirectDeleteData('uyari'); ?> <table class="table table-striped table-bordered table-hover"> <thead> <tr> <th>ID</th> <th>Başlık</th> <th>Tarih</th> <th>Durum</th> <th></th> </tr> </thead> <tbody> <?php foreach ($haberler as $haber) {
public function select(string $key) { return redirectData($key); }
public function index($params = '') { $head['title'] = 'YÖNETİM PANELİ'; $head['meta']['author'] = ''; $headData["kullaniciAdi"] = Session::select('kisi'); $bodyVeri["uyari"] = redirectData('uyari'); $data['head'] = Import::view('head', $headData, true); $data['footer'] = Import::view('footer', '', true); $data['body'] = Import::view('anasayfa', $bodyVeri, true); Import::masterPage($data, $head); }
public function select($key = '') { return redirectData($key); }