ok

Mini Shell

Direktori : /home2/selectio/www/gangabuvana/admin/cms/application/controllers/
Upload File :
Current File : //home2/selectio/www/gangabuvana/admin/cms/application/controllers/Faq.php

<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Faq extends MY_Controller {
	function __construct()
	{
        parent::__construct();
        $this->load->model('Model_common');
        $this->load->model('Model_faq');
        $this->load->model('Model_portfolio');
    }

	public function index()
	{
		$data['setting'] = $this->Model_common->all_setting();
		$data['page_faq'] = $this->Model_common->all_page_faq();
		$data['comment'] = $this->Model_common->all_comment();
		$data['social'] = $this->Model_common->all_social();
		$data['all_news'] = $this->Model_common->all_news();

		$data['faqs'] = $this->Model_faq->all_faq();
		$data['portfolio_footer'] = $this->Model_portfolio->get_portfolio_data();

		$this->load->view('view_header',$data);
		$this->load->view('view_faq',$data);
		$this->load->view('view_footer',$data);
	}
}

Zerion Mini Shell 1.0