<?php
/**
 * Manually Developed CI View - access_log_gridfeed.php
 *
 * @package			AIR\views
 * @version			2.7
 * @uses
 * @see
 * @copyright		2015, BizyCorp Internal Systems Development
 * @license			private, All rights reserved
 * @author			Mohamed Roshan <roshan@ekwa.com>
 *
 */
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Manually Developed CI View
 *
 *
 * This is the main view file of accesslog which generates the grid
 *
 * @package			AIR\views
 * @version			2.7
 * @uses
 * @see
 * @copyright		2015, BizyCorp Internal Systems Development
 * @license			private, All rights reserved
 * @author			Mohamed Roshan <roshan@ekwa.com>
 * @created			Jul 18, 2014
 * @modified
 * @modification
 *
*/
class Access_log_gridfeed{
	// Just a dummy clas for phpdoc to catch the doc header.
}


	header('Content-type: text/xml');
	$log_create = new log_object();
	
	$collist=array(
		'Date Created',
		'User Name',
		'Member type',
		'IP address',
		'Referer',
		'Gateway',
		'Server port',
		'Remote port',
		'Server name',
		'Request method',
		'Request url',
		'User agent',
		'Mode',
		'Data',
		'Duration'
	);
	$widths = array(
		'Date Created'	=>150,
		'User Name'		=>200,
		'Member type'	=>90,
		'IP address'	=>100,
		'Referer'		=>300,
		'Gateway'		=>100,
		'Server port'	=>90,
		'Remote port'	=>90,
		'Server name'	=>120,
		'Request method'=>120,
		'Request url'	=>300,
		'User agent'	=>300,
		'Mode'			=>70,
		'Data'			=>500,
		'Duration'		=>100
	);
	echo $log_create->get_xml($this->input->get_post('logDate'), $widths ,$collist);
?>