Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
require_once('class.dbaccess.php');
require_once('class.enviolink.php');
require_once('class.filter.php');
require_once('class.page.php');
class EnvioLinks extends DBAccess
{
public function GetByIdEnvio($IdEnvio)
{
$sql = "SELECT *";
$sql.= " FROM tblEnviosLinks";
$sql.= " WHERE IdEnvio = " . DB::Number($IdEnvio);
if (!($oRes = $this->GetQuery($sql)))
return false;
if (!($oRow = $oRes->GetRow()))
return false;
$oEnvioLink = new EnvioLink();
$oEnvioLink->ParseFromArray($oRow);
return $oEnvioLink;
}
public function Create(EnvioLink $oEnvioLink)
{
$arr = array
(
'IdEnvio' => DB::Number($oEnvioLink->IdEnvio),
'Link' => DB::String($oEnvioLink->Link)
);
if (!$this->Insert('tblEnviosLinks', $arr))
return false;
return $oEnvioLink;
}
}
?>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat