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 - ARMONIZACION-A-DISTANCIA-CON-PENDULO-HEBREO

ARTICLE TOOLBAR

Comentarios

  • Este Articulo No Tiene Comentarios Aun

DEJE UN COMENTARIO

Please login first to make a comment

 

 Ideal para quienes x impedimentos diversos o por la distancia no pueden acercarse a una sanacion. Esta tecnica restablece el equilibrio fisico, mental, emocional y espiritual. Nos desbloquea de energias negativas y actua positivamente en procesos de crisis, duelo, separaciones, sensacion de escasez, desgano y es util para impulsar o movilizar cambios en aquellas areas de la vida en que nos sentimos estancados.
 
Solicita una sesion a distancia: aqui
 

Login

Usuario :

Password :

Olvido su Password?

No esta registrado?

Registrese AQUI!!!
Con CuentaDigital.com cobre con PagoFacil RapiPago y BaproPagos