? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/administrator/components/com_xijc/tables/
File Upload :
Current File : /home/admin/public_html/old/administrator/components/com_xijc/tables/whitelist.php

<?php
// Disallow direct access to this file
defined('_JEXEC') or die('Restricted access');

class XiJCTableWhitelist extends JTable
{
	var $id			= null;
	var $option 	= null;
	var $rulename 	= null;
	var $enable     = null;
	var $params     = null;
		
	function __construct(&$db)
	{
		parent::__construct('#__xijc_whitelist', 'id' , $db);
	}
	
	/**
	 * Overrides Joomla's load method so that we can define proper values
	 * upon loading a new entry
	 *
	 * @param	int	id	The id of the field
	 * @param	boolean isGroup	Whether the field is a group
	 *
	 * @return boolean true on success
	 **/
	function load( $id)
	{
		if( $id ){
			return parent::load( $id );
		}

		$this->id				= 0;
		$this->option			= '';
		$this->rulename        = '';
		$this->enable			= 1;
		$this->params			= '';


		return true;
	}

	function delete()
	{
		return parent::delete();
	}

	/**
	 * Overrides Joomla's JTable store method so that we can define proper values
	 * upon saving a new entry
	 *
	 * @return boolean true on success
	 **/
	function store( )
	{
		parent::store();
		return 	$this->id;
	}


	function bindValues($data)
	{
		$this->option			= $data->option;
		$this->rulename			= $data->rulename;
		$this->enable			= $data->enable;
		$this->params			= $data->params;
	}

}

T1KUS90T
  root-grov@210.1.60.28:~$