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');
class InscripcionResultadoRodeo
{
public $IdInscripcionResultadoRodeo;
public $IdInscripcionesAnimalesPruebasFuncional;
public $IdJinete;
public $Vaca1;
public $Vaca2;
public $Vaca3;
public $Vaca4;
public $Vaca5;
public $Vaca6;
public $Vaca7;
public $Vaca8;
public $Vaca9;
public $Vaca10;
public $Vaca11;
public $Vaca12;
public $Vaca13;
public $Vaca14;
public $Vaca15;
public $Vaca16;
public $Vaca17;
public $Vaca18;
public $Vaca19;
public $Vaca20;
public $Vaca21;
public $Vaca22;
public $Vaca23;
public $Vaca24;
public $Total;
public $Vaca25;
public $Vaca26;
public $Vaca27;
public $Desempate;
public $Promedio1;
public $Promedio2;
public function __construct()
{
$this->IdInscripcionResultadoRodeo = '';
$this->IdInscripcionesAnimalesPruebasFuncional = '';
$this->IdJinete = '';
$this->Vaca1 = '';
$this->Vaca2 = '';
$this->Vaca3 = '';
$this->Vaca4 = '';
$this->Vaca5 = '';
$this->Vaca6 = '';
$this->Vaca7 = '';
$this->Vaca8 = '';
$this->Vaca9 = '';
$this->Vaca10 = '';
$this->Vaca11 = '';
$this->Vaca12 = '';
$this->Vaca13 = '';
$this->Vaca14 = '';
$this->Vaca15 = '';
$this->Vaca16 = '';
$this->Vaca17 = '';
$this->Vaca18 = '';
$this->Vaca19 = '';
$this->Vaca20 = '';
$this->Vaca21 = '';
$this->Vaca22 = '';
$this->Vaca23 = '';
$this->Vaca24 = '';
$this->Total = '';
$this->Vaca25 = '';
$this->Vaca26 = '';
$this->Vaca27 = '';
$this->Desempate = '';
$this->Promedio1 = '';
$this->Promedio2 = '';
}
public function ParseFromArray(array $arr)
{
$this->IdInscripcionResultadoRodeo = $arr['IdInscripcionResultadoRodeo'];
$this->IdInscripcionesAnimalesPruebasFuncional = $arr['IdInscripcionesAnimalesPruebasFuncional'];
$this->IdJinete = $arr['IdJinete'];
$this->Vaca1 = $arr['Vaca1'];
$this->Vaca2 = $arr['Vaca2'];
$this->Vaca3 = $arr['Vaca3'];
$this->Vaca4 = $arr['Vaca4'];
$this->Vaca5 = $arr['Vaca5'];
$this->Vaca6 = $arr['Vaca6'];
$this->Vaca7 = $arr['Vaca7'];
$this->Vaca8 = $arr['Vaca8'];
$this->Vaca9 = $arr['Vaca9'];
$this->Vaca10 = $arr['Vaca10'];
$this->Vaca11 = $arr['Vaca11'];
$this->Vaca12 = $arr['Vaca12'];
$this->Vaca13 = $arr['Vaca13'];
$this->Vaca14 = $arr['Vaca14'];
$this->Vaca15 = $arr['Vaca15'];
$this->Vaca16 = $arr['Vaca16'];
$this->Vaca17 = $arr['Vaca17'];
$this->Vaca18 = $arr['Vaca18'];
$this->Vaca19 = $arr['Vaca19'];
$this->Vaca20 = $arr['Vaca20'];
$this->Vaca21 = $arr['Vaca21'];
$this->Vaca22 = $arr['Vaca22'];
$this->Vaca23 = $arr['Vaca23'];
$this->Vaca24 = $arr['Vaca24'];
$this->Total = $arr['Total'];
$this->Vaca25 = $arr['Vaca25'];
$this->Vaca26 = $arr['Vaca26'];
$this->Vaca27 = $arr['Vaca27'];
$this->Desempate = $arr['Desempate'];
$this->Promedio1 = $this->CalcularPromedio1();
$this->Promedio2 = $this->CalcularPromedio2();
}
public function CalcularTotal()
{
$this->Total = 0;
for ($i = 1; $i <= 24; $i++)
{
$Vaca = 'Vaca' . $i;
$this->Total+= $this->$Vaca;
}
$this->Desempate = $this->Vaca25 + $this->Vaca26;
if ($this->Vaca27)
$this->Total+= $this->Vaca27;
$this->Total = $this->Total / 2;
return $this->Total;
}
public function CalcularPromedio1()
{
$this->Promedio1 = 0;
for ($i = 1; $i <= 12; $i++)
{
$Vaca = 'Vaca' . $i;
$this->Promedio1+= $this->$Vaca;
}
return $this->Promedio1;
}
public function CalcularPromedio2()
{
$this->Promedio2 = 0;
for ($i = 13; $i <= 24; $i++)
{
$Vaca = 'Vaca' . $i;
$this->Promedio2+= $this->$Vaca;
}
return $this->Promedio2;
}
}
?>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat