Jump to content
Sign in to follow this  
By Lazzy

[Module] Easy zodiac

Recommended Posts

//Profile -> Zodiak

$month = $user_birthday[1];
$day = $user_birthday[2];

function getZodiacalSign($month, $day) {
    $signs = array("Oğlak", "Kova", "Balık", "Koç", "Телец", "İkizler", "Рак", "Aslan", "Девы", "Terazi", "Akrep", "Yay");
    $signsstart = array(1=>20, 2=>19, 3=>20, 4=>20, 5=>20, 6=>21, 7=>22, 8=>22, 9=>23, 10=>23, 11=>23, 12=>23);
    return $tpl->set('%zodiak%', $day);



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this