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

class Homes extends CI_Controller {

	public function __construct()
    {
        parent::__construct();
        $this->load->model('Homes_model');
    }

    public function index()  
    {
    	$data = array();

		$data['vacation_homes'] = $this->Homes_model->get_vacation_homes();

    	$this->load->view('_templates/header');
    	$this->load->view('homes/vacation_homes', $data);
    }

    public function houseOverview()
    {
        $data = array();
        $homeId = $_GET ['id'];
        $data['vacationhouse'] = $this->Homes_model->get_vacationhome_info($homeId);
<<<<<<< HEAD
        $this->load->view('_templates/header');
=======
        $data['images'] = $this->Homes_model->get_vacationhome_images($homeId);
        // var_dump($data['images']); 
>>>>>>> c278d9aea25789e564120b43708e85eb03e3948d
        $this->load->view('homes/home', $data);
    }
}<commit_msg>add line from jazz branch<commit_after><?php 
defined('BASEPATH') OR exit('No direct script access allowed');

class Homes extends CI_Controller {

	public function __construct()
    {
        parent::__construct();
        $this->load->model('Homes_model');
    }

    public function index()  
    {
    	$data = array();

		$data['vacation_homes'] = $this->Homes_model->get_vacation_homes();

    	$this->load->view('_templates/header');
    	$this->load->view('homes/vacation_homes', $data);
    }

    public function houseOverview()
    {
        $data = array();
        $homeId = $_GET ['id'];
        $data['vacationhouse'] = $this->Homes_model->get_vacationhome_info($homeId);
        $data['images'] = $this->Homes_model->get_vacationhome_images($homeId);
<<<<<<< HEAD
        $this->load->view('_templates/header');
=======
        $data['images'] = $this->Homes_model->get_vacationhome_images($homeId);
        // var_dump($data['images']); 
>>>>>>> c278d9aea25789e564120b43708e85eb03e3948d
        $this->load->view('homes/home', $data);
    }
}
{'fraction_non_alphanumeric': 0.18904244817374136, 'fraction_numerical': 0.027640671273445213, 'mean_word_length': 3.5044444444444443, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7199860', 'n_tokens_mistral': 737, 'n_tokens_neox': 668, 'n_words': 96}