Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
require_once('class.db.php');
require_once('class.dbaccess.php');
require_once('class.exiss.php');
require_once('class.extrs.php');
require_once('class.pdres.php');
require_once('class.jinetes.php');
class EquipoAnimal
{
public $IdEquipoAnimal;
public $IdEquipo;
public $FNac;
public $Sba;
public $Rp;
public $Nombre;
public $Jinete;
public $IdAnimal;
public $Sexo;
public $IdJinete;
public $Tabla;
public function ParseFromArray(array $arr)
{
$this->IdEquipoAnimal = $arr['IdEquipoAnimal'];
$this->IdEquipo = $arr['IdEquipo'];
$this->FNac = $arr['FNac'];
$this->Sba = $arr['Sba'];
$this->Rp = $arr['Rp'];
$this->Nombre = $arr['Nombre'];
$this->Jinete = $arr['Jinete'];
$this->IdAnimal = $arr['IdAnimal'];
$this->Sexo = $arr['Sexo'];
$this->IdJinete = $arr['IdJinete'];
$this->Tabla = $arr['Tabla'];
}
public function GetAnimal() {
$oCaballo = null;
switch ($this->Tabla)
{
case 'IdPdre':
$oPdres = new Pdres();
$oCaballo = $oPdres->GetByID($this->IdAnimal);
break;
case 'IdExis':
$oExiss = new Exiss();
$oCaballo = $oExiss->GetById($this->IdAnimal);
break;
case 'IdExtr':
$oExtrs = new Extrs();
$oCaballo = $oExtrs->GetById($this->IdAnimal);
break;
}
return $oCaballo;
}
public function GetJinete() {
$oJinetes = new Jinetes();
return $oJinetes->GetById($this->IdJinete);
}
}
?>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat