Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
require_once('class.dbaccess.php');
require_once('class.googleanalytic.php');
class GoogleAnalytics extends DBAccess
{
public function GetRow()
{
$sql = "SELECT *";
$sql.= " FROM tblGoogleAnalytics";
$sql.= " LIMIT 1";
if (!($oRes = $this->GetQuery($sql)))
return false;
if (!($oRow = $oRes->GetRow()))
return false;
$oGoogleAnalytic = new GoogleAnalytic();
$oGoogleAnalytic->ParseFromArray($oRow);
return $oGoogleAnalytic;
}
public function Create(GoogleAnalytic $oGoogleAnalytic)
{
$arr = array
(
'IdCodigo' => DB::Number($oGoogleAnalytic->IdCodigo),
'Codigo' => DB::String($oGoogleAnalytic->Codigo)
);
if (!$this->Insert('tblGoogleAnalytics', $arr))
return false;
$oGoogleAnalytic->IdCodigo = DBAccess::GetLastInsertId();
return $oGoogleAnalytic;
}
public function Update(GoogleAnalytic $oGoogleAnalytic)
{
$where = '1';
$arr = array('Codigo' => DB::String($oGoogleAnalytic->Codigo));
if (!DBAccess::UpdateEntidad('tblGoogleAnalytics', $arr, $where))
return false;
return $oGoogleAnalytic;
}
}
?>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat