Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
require_once('class.dbaccess.php');
require_once('class.envioip.php');
require_once('class.filter.php');
class EnviosIp extends DBAccess implements IFilterable
{
public function ParseFilter(array $filter)
{
$sql = '';
$sql.= " WHERE IdEnvio = " . DB::Number($filter['IdEnvio']);
$sql.= " AND Ip = '" . DB::StringUnquoted($filter['Ip']) . "'";
return $sql;
}
public function GetAll(array $filter = NULL)
{
$sql = "SELECT *";
$sql.= " FROM tblEnviosIp";
$sql.= ($filter) ? $this->ParseFilter($filter) : "";
if (!($oRes = $this->GetQuery($sql)))
return false;
$arr = array();
while ($oRow = $oRes->GetRow())
{
$oEnvioIp = new EnvioIp();
$oEnvioIp->ParseFromArray($oRow);
array_push($arr, $oEnvioIp);
$oRes->MoveNext();
}
return $arr;
}
public function Create(EnvioIp $oEnvioIp)
{
$arr = array
(
'IdEnvio' => DB::Number($oEnvioIp->IdEnvio),
'Ip' => DB::String($oEnvioIp->Ip)
);
if (!$this->Insert('tblEnviosIp', $arr))
return false;
return $oEnvioIp;
}
}
?>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat