vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   zodiac addon problem (https://vborg.vbsupport.ru/showthread.php?t=37931)

Slynderdale 04-27-2002 10:49 AM

zodiac addon problem
 
im adding a option in the profile that shows the users zodiac sign and it keeps showing up as N/A does some one see whats wrong?

PHP Code:

if (($bday[2]>=21 and $bday[1]>=3) and ($bday[2]<=19 and $bday[1]<=4)) {
$zodiacsign="Aries";
} else if ((
$bday[2]>=20 and $bday[1]>=4) and ($bday[2]<=20 and $bday[1]<=5)) {
$zodiacsign="Taurus";
} else if ((
$bday[2]>=21 and $bday[1]>=5) and ($bday[2]<=21 and $bday[1]<=6)) {
$zodiacsign="Gemini";
} else if ((
$bday[2]>=22 and $bday[1]>=6) and ($bday[2]<=22 and $bday[1]<=7)) {
$zodiacsign="Cancer";
} else if ((
$bday[2]>=23 and $bday[1]>=7) and ($bday[2]<=22 and $bday[1]<=8)) {
$zodiacsign="Leo";
} else if ((
$bday[2]>=23 and $bday[1]>=8) and ($bday[2]<=22 and $bday[1]<=9)) {
$zodiacsign="Virgo";
} else if ((
$bday[2]>=23 and $bday[1]>=9) and ($bday[2]<=21 and $bday[1]<=10)) {
$zodiacsign="Libra";
} else if ((
$bday[2]>=24 and $bday[1]>=10) and ($bday[2]<=21 and $bday[1]<=11)) {
$zodiacsign="Scorpio";
} else if ((
$bday[2]>=22 and $bday[1]>=11) and ($bday[2]<=21 and $bday[1]<=12)) {
$zodiacsign="Sagittarius";
} else if ((
$bday[2]>=22 and $bday[1]>=12) and ($bday[2]<=19 and $bday[1]<=1)) {
$zodiacsign="Capricorn";
} else if ((
$bday[2]>=20 and $bday[1]>=1) and ($bday[2]<=18 and $bday[1]<=2)) {
$zodiacsign="Aquarius";
} else if ((
$bday[2]>=19 and $bday[1]>=2) and ($bday[2]<=20 and $bday[1]<=3)) {
$zodiacsign="Pisces";
} else {
$zodiacsign="N/A";



Aries The Ram Mar. 21-Apr. 19
Taurus The Bull Apr. 20-May 20
Gemini The Twins May 21-June 21
Cancer The Crab June 22-July 22
Leo The Lion July 23-Aug. 22
Virgo The Virgin Aug. 23-Sept. 22
Libra The Balance Sept. 23-Oct. 23
Scorpio The Scorpion Oct. 24-Nov. 21
Sagittarius The Archer Nov. 22-Dec. 21
Capricorn The Goat Dec. 22-Jan. 19
Aquarius The Water Bearer Jan. 20-Feb. 18
Pisces The Fishes Feb. 19-Mar. 20

Slynderdale 04-27-2002 01:20 PM

never mind i got it


All times are GMT. The time now is 06:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01133 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete