Advertisement
Nithisaran

Home

Mar 20th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.78 KB | None | 0 0
  1. <?php
  2. defined('BASEPATH') OR exit('No direct script access allowed');
  3. class Home extends CI_Controller{
  4.     public function index(){
  5.         $this->load->model('navbar_model');
  6.         $data['title'] = 'หน้าแรก';
  7.         $result['row'] = $this->navbar_model->get_sitename();
  8.         $this->load->view('header_view', $data);
  9.         $this->load->view('navbar_view', $result);
  10.         $this->load->view('container00_view');
  11.         $this->load->view('ads_view');
  12.         $this->load->view('container01_view');
  13.         $this->load->view('container00_view');
  14.         $this->load->view('slide_view');
  15.         $this->load->view('hit_view');
  16.         $this->load->view('content_view');
  17.         $this->load->view('sidemenu_view');
  18.         $this->load->view('banner_view');
  19.         $this->load->view('container01_view');
  20.         $this->load->view('footer_view');
  21.     }
  22. }
  23. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement