<commit_before><?php

defined('BASEPATH') OR exit('No direct script access allowed');

class Welcome extends Application
{

	function __construct()
	{
		parent::__construct();
	}

	public function index() 
	{
		
		// this is the view we want shown
		$this->data['pagebody'] = 'homepage';

		// build the list of authors, to pass on to our view
		$source = $this->quotes->all();		
		
		$authors = array ();
		$record = $source[(count($source) - 1)];
        $authors[] = array('who' => $record['who'], 'mug' => $record['mug'], 'href' => $record['where'], 'what' => $record['what']);

		$this->data['authors'] = $authors;

		$this->render();
	}
}
<commit_msg>completed the Last link fix.<commit_after><?php

defined('BASEPATH') OR exit('No direct script access allowed');

class Welcome extends Application
{

	function __construct()
	{
		parent::__construct();
	}

	public function index() 
	{
		
		// this is the view we want shown
		$this->data['pagebody'] = 'justone';

		// build the list of authors, to pass on to our view
		$source = $this->quotes->all();	

		//select the last author in the array
		$record = $source[(count($source) - 1)];

		$this->data = array_merge($this->data, $record);
		$this->render();
	}
}

{'fraction_non_alphanumeric': 0.18166939443535188, 'fraction_numerical': 0.0016366612111292963, 'mean_word_length': 3.7587548638132295, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, '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': '5512792', 'n_tokens_mistral': 433, 'n_tokens_neox': 385, 'n_words': 115}