getSign(date("d"),date("m")); $theSign = ($zodiacSign->isOk()) ? $zodiacSign->displaySigns() : $zodiacSign->error; */ class Zodiac { private $carpeta="files/img_gen/"; private $error; private $zodiac; private $view; public function getSign($day,$month) { $this->error = (($day > 31) || ($day < 0)) ? "not valid day" : ""; $this->error = (($month > 12) || ($month < 0)) ? "not valid month" : ""; switch ($month) { case 1: $this->zodiac = ($day <=20) ? constant("RUTA").$this->carpeta."n_capricorn28.jpg" : constant("RUTA").$this->carpeta."n_aquarius28.jpg"; break; case 2: $this->error = ($day > 29) ? "February has less than ".$day." days" : ""; $this->zodiac = ($day <=18) ? constant("RUTA").$this->carpeta."n_aquarius28.jpg" : constant("RUTA").$this->carpeta."n_pisces28.jpg"; break; case 3: $this->zodiac = ($day <=20) ? constant("RUTA").$this->carpeta."n_pisces28.jpg" : constant("RUTA").$this->carpeta."n_aries28.jpg"; break; case 4: $this->error = ($day > 30) ? "April has less than ".$day." days" : ""; $this->zodiac = ($day <=20) ? constant("RUTA").$this->carpeta."n_aries28.jpg" : constant("RUTA").$this->carpeta."n_taurus28.jpg"; break; case 5: $this->zodiac = ($day <=21) ? constant("RUTA").$this->carpeta."n_taurus28.jpg" : constant("RUTA").$this->carpeta."n_gemini28.jpg"; break; case 6: $this->error = ($day > 30) ? "June has less than ".$day." days" : ""; $this->zodiac = ($day <=22) ? constant("RUTA").$this->carpeta."n_gemini28.jpg" : constant("RUTA").$this->carpeta."n_.jpg"; break; case 7: $this->zodiac = ($day <=22) ? constant("RUTA").$this->carpeta."n_.jpg" : constant("RUTA").$this->carpeta."n_leo22.jpg"; break; case 8: $this->zodiac = ($day <=21) ? constant("RUTA").$this->carpeta."n_leo22.jpg" : constant("RUTA").$this->carpeta."n_virgo28.jpg"; break; case 9: $this->error = ($day > 30) ? "September has less than ".$day." days" : ""; $this->zodiac = ($day <=23) ? constant("RUTA").$this->carpeta."n_virgo28.jpg" : constant("RUTA").$this->carpeta."n_libra28.jpg"; break; case 10: $this->zodiac = ($day <=23) ? constant("RUTA").$this->carpeta."n_libra28.jpg" : constant("RUTA").$this->carpeta."n_scorpio28.jpg"; break; case 11: $this->error = ($day > 30) ? "November has less than ".$day." days" : ""; $this->zodiac = ($day <=21) ? constant("RUTA").$this->carpeta."n_scorpio28.jpg" : constant("RUTA").$this->carpeta."n_sagittarius28.jpg"; break; case 12: $this->zodiac = ($day <=222) ? constant("RUTA").$this->carpeta."n_sagittarius28.jpg" : constant("RUTA").$this->carpeta."n_capricorn28.jpg"; break; } } public function isOk() { if(isset($this->error) && $this->error != "") return FALSE; else return TRUE; } public function error() { if(isset($this->error) && $this->error != "") return $this->error; } public function displaySigns() { $this->view = $this->zodiac; return $this->view; } } ?> Numerologia Web

Registrese Ahora!

Complete todos los campos por favor y de esa manera podremos facilitar su perfil de usuario.

Paso 1: Informacion General

Paso Dos: Mas Sobre Mi !!

Pais
Cargando...
Fallo al cargar la informacion!
No Listado?
Provincia
Cargando...
Fallo al cargar la informacion!
No Listado?
Localidad
Cargando...
Fallo al cargar la informacion!
No Listado?
Fe/Nacimi.

Paso Tres: Registrar!