Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?
require_once('../library/class.lotevideos.php');
class ModuleLoteVideos extends Module
{
function GetName()
{
return "LoteVideos";
}
function GetXMLCommands()
{
$Commands = array();
$Commands[] = 'GetById';
$Commands[] = 'GetLastId';
$Commands[] = 'Update';
return $Commands;
}
function GetById(array $array)
{
$LoteVideos = new LoteVideos();
return $LoteVideos->GetById($array['IdLoteVideo']);
}
function GetLastId(array $array)
{
$LoteVideos = new LoteVideos();
return $LoteVideos->GetLastId();
}
function Update(array $array)
{
$LoteVideos = new LoteVideos();
/* obtiene los datos del registro */
$oLoteVideo = $LoteVideos->GetById($array['IdLoteVideo']);
if (!$oLoteVideo)
return false;
$oLoteVideo->Epigrafe = $array['Epigrafe'];
return $LoteVideos->Update($oLoteVideo);
}
function Delete(array $array)
{
$LoteVideos = new LoteVideos();
/* obtiene los datos del registro */
$oLoteVideo = $LoteVideos->GetById($array['IdLoteVideo']);
if (!$oLoteVideo)
return false;
return $LoteVideos->Delete($oLoteVideo->IdLoteVideo);
}
}
?>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat