<?php
class Main extends CI_Controller {

	function __construct(){
		parent::__construct();
		$this->load->helper('url');
	}

	function index(){	
		$this->load->view('login.php');
		// $this->_page_data['page_title']="Dashboard";
		// $this->_page_data['bredcrum']=array();
		// $this->load->view('gc/dashboard',$this->_page_data);
	}
	function logout(){
		 $this->session->sess_destroy();
		 redirect("main/index");

	}
}
?>