File manager - Edit - /home/kubansmu/public_html/admin-frame/application/controllers/Blog_details.php
Back
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Blog_details extends CI_Controller{ public function __construct() { parent:: __construct(); $this->load->helper(array('form', 'url')); $this->load->library('form_validation'); $this->load->model('Common_model'); //$this->load->database(); } public function index() { $data['blog_data'] = $this->Common_model->blog_details_data(); $this->load->view('includes/header.php'); $this->load->view('blog_details' ,$data); $this->load->view('includes/footer.php'); } public function blog_delete() { $user_id = $this->uri->segment(3); $delete = $this->Common_model->blog_delete_data($user_id); if($delete){ redirect('blog_details'); } } } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Generation time: 0 |
proxy
|
phpinfo
|
Settings