%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : ndkhermy ( 1200) PHP Version : 8.5.12 Disable Function : NONE Directory : /home1/ndkhermy/public_html/website_1ec2d7c2/apps/controllers/admin/ |
Upload File : |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Packageenquiry extends CI_Controller {
function __construct(){
parent::__construct();
$this->load->library('form_validation');
$this->load->helper(array('form', 'url'));
$this->load->helper('cookie');
//
$this->load->library('session');
$this->load->helper('security');
$this->load->library('email');
$this->load->library('encrypt');
// Custom Ours
$this->load->library('login');
$this->load->library('image');
$this->login->check_login();
$this->load->model('packageenquiry_model');
$this->load->model('commonmod_model');
$this->load->database();
}
public function index()
{
$data['Gallery'] = $this->packageenquiry_model->getALLPackageEnquiry();
$this->load->view('admin/package_enquiry/index',$data);
}
public function delete($id){
if($id!=''){
$this->db->where("id",$id);
$this->db->delete("bh_package_enquiry");
$this->session->set_flashdata('error',"Package Enquiry Deleted.");
}
redirect(BASE_URL.'admin/packageenquiry');
}
}