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 - TALLER-DE-GEOMETRIA-SAGRADA--SABADO-21-DE-JULIO--14-HS



Horario de 14 a 17 hs en CENTRO SATI – CABALLITO- C.A.B.A. (Av. Acoyte al 200, a 2 cuadras de Av. Rivadavia)

 

Vacantes limitadas- confirmar asistencia a la brevedad

 

Informes e inscripción:

contacto@numerologiaweb.com.ar

centrosati@centrosati.com.ar

tel: 4522-3678/ 4903- 4497

 

Login

Usuario :

Password :

Olvido su Password?

No esta registrado?

Registrese AQUI!!!