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

class Procrastinator extends CI_Controller {

	// load index page (page where task are showns)
	public function index()
	{
		// load header (<head>, menu and some css+js)
		$this->load->view('partials/header');
		// main, this file only have an AJAX script to load the tasks
        $this->load->view('main');
		// footer, footer of the page, js and other css that do not require to be loaded at start
        $this->load->view('partials/footer');
	}
}<commit_msg>added tabs view and passes data<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Procrastinator extends CI_Controller {

	// load index page (page where task are showns)
	public function index()
	{
		// load model
		$this->load->model('pr_model');

		// catch tabs from the model and asign it to data['tabs']
		$this->data['tabs'] = $this->pr_model->pr_tabs();

		// load header (<head>, menu and some css+js)
		$this->load->view('partials/header');
		// load the tabs for the tasks
		$this->load->view('tabs', $this->data);
		// main, this file only have an AJAX script to load the tasks
        $this->load->view('main');
		// footer, footer of the page, js and other css that do not require to be loaded at start
        $this->load->view('partials/footer');
	}
}
{'fraction_non_alphanumeric': 0.1414885777450258, 'fraction_numerical': 0.0, 'mean_word_length': 3.63481228668942, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 25, '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': '2355059', 'n_tokens_mistral': 434, 'n_tokens_neox': 403, 'n_words': 154}