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

class Modal extends CI_Controller {

	function __construct() 
	{
        parent::__construct();
        $this->load->database();
        
        $this->output->set_header('Last-Modified: ' . gmdate("D, d M Y H:i:s") . ' GMT');
        $this->output->set_header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
        $this->output->set_header('Pragma: no-cache');
        $this->output->set_header('Expires: Mon, 28 Jul 1990 10:00:00 GMT');
    }

    public function index() {}

    function popup($page_name = '' , $param2 = '' , $param3 = '')
    {
    	$page_data['param2']	    =	$param2;
    	$page_data['param3']	    =	$param3;

    	$this->load->view($page_name . '.php' , $page_data);
    }
}
