Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.46 KB | None | 0 0
  1. <?php
  2. // system/application/controllers/hello.php
  3. if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  4.  
  5. class Home extends CI_Controller
  6. {
  7.     function index()
  8.     {
  9.         $data['title'] = 'Home';
  10.         $data['heading'] = 'Some Text';
  11.         $data['content'] = 'Please make a selection from the options below:';
  12.        
  13.         $this->load->view('common/header', $data);
  14.         $this->load->view('common/home', $data);
  15.         $this->load->view('common/footer', $data);
  16.     }
  17. }
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement