Fortune Telling Collection - Horoscope - Please calculate the codes of the zodiac and the constellation .. Thank you!

Please calculate the codes of the zodiac and the constellation .. Thank you!

How did you know I had it? Do you want it now?

I looked it up just now and forgot what language it was. I'll provide you with HTML+JavaScript first. Tell me what language you want and I'll write it to you later.

& lt scripting language = "JavaScript">

& lt! -Go.

Function symbol () {

var start = 190 1,birth year = document . zodiac . year . value,date = document . zodiac . date . value,month = document . zodiac . month . selectedindex;

Use (document.zodiac.sign) (

if(month = = 1 & amp; & date & gt=20 || month = = 2 & amp& amp date & lt= 18) {value = "Aquarius"; }

if(month = = 1 & amp; & Date & gt3 1) {value = "Huh?" ; }

if(month = = 2 & amp; & date & gt= 19 || month = = 3 & date & lt = 20) {value = "prizes"; }

if(month = = 2 & amp; & Date & gt29) {value = "Say what?" ; }

if(month = = 3 & amp; & date & gt=2 1 || month = = 4 & date & lt =19) {value = "Aries"; }

if(month = = 3 & amp; & Date & gt3 1) {value = "OK. Whatever. ”; }

if(month = = 4 & amp; & date & gt=20 || month = = 5 & date & lt= 20){ value = "Taurus ";; }

if(month = = 4 & amp; & Date & gt30) {value = "I'm sorry!" ; }

if(month = = 5 & amp; & date & gt=2 1 || month = = 6 & date & lt=2 1) {value = "Gemini"; }

if(month = = 5 & amp; & Date & gt3 1) {value = "Um ... No". }

if(month = = 6 & amp; & date & gt=22 || month = = 7 & amp& amp date & lt=22) {value = "Cancer"; }

if(month = = 6 & amp; & Date & gt30) {value = "Sorry." ; }

if(month = = 7 & amp; & date & gt=23 || month = = 8 & amp& amp date & lt= 22){ value = "Leo ";; }

if(month = = 7 & amp; & Date & gt3 1) {value = "Excuse me?" ; }

if(month = = 8 & amp; & date & gt=23 || month = = 9 & amp& amp date & lt=22) {value = "Virgo"; }

if(month = = 8 & amp; & Date & gt3 1) {value = "Yes. Right. ”; }

if(month = = 9 & amp; & date & gt = 23 || month = =10 & & date & lt= 22){ value = "Libra ";; }

if(month = = 9 & amp; & Date & gt30) {value = "Try again." ; }

if(month = = 10 & amp; & date & gt = 23 || month =11& & date & lt=2 1) {value = "Scorpio"; }

if(month = = 10 & amp; & Date & gt3 1) {value = "Forget it!" ; }

if(month = = 1 1 & amp; & date & gt = 22 || month = =12 & & date & lt=2 1) {value = "Sagittarius"; }

if(month = = 1 1 & amp; & Date & gt30) {value = "Invalid date"; }

if(month = = 12 & amp; & date & gt = 22 || month = =1&; & date & lt= 19) {value = "Capricorn"; }

if(month = = 12 & amp; & Date & gt3 1) {value = "Impossible!" ; }

}

X = (initial year of birth)% 12

with (document.zodiac.csign){

if(x = = 1 | | x =- 1 1){ value = " mouse "; }

if(x = = 0){ value = " cow "; }

if(x = = 1 1 | | x =- 1){ value = " Tiger "; }

if(x = = 10 | | x = =-2){ value = " rabbit "; }

if(x = = 9 | | x = =-3){ value = " dragon "; }

if(x = = 8 | | x = =-4){ value = " snake "; }

if(x = = 7 | | x = =-5){ value = " horse "; }

if(x = = 6 | | x = =-6){ value = " sheep "; }

if(x = = 5 | | x = =-7){ value = " monkey "; }

if(x = = 4 | | x = =-8){ value = " chicken "; }

if(x = = 3 | | x = =-9){ value = " dog "; }

if(x = = 2 | | x =- 10){ value = " pig "; }

}

}

//End-& gt;

& lt/script & gt;

& ltform name="zodiac " >

& lt center & gt

& lttable bgcolor = " # eeaa 00 " border = " 2 " border color = " # 000000 " rules = " none " cellspacing = " 0 " cell padding = " 4 " & gt;

& lttr & gt& lttd & gt& ltb>& lt my> year of birth.

& lttd & gt& ltdiv align="right " >& ltinput type = " text " size = " 10 " name = " year " value = " year of birth " onClick = value = " " & gt; & lt/div & gt; & lt/TD & gt;

& lttd & gt& lt! -This empty field is just for appearance-> & lt/TD & gt;

& lttr & gt& lttd & gt& ltb>& lt my> date of birth.

& lttd & gt& ltdiv align="right " >

& ltselect name="month " >

& ltoption value = "x"> Please select a month.

& ltoption value=" 1 "> January.

& ltoption value="4 "> April

& ltoption value="7 "> July

& ltoption value=" 10 "> October

& ltoption value=" 12 "> December

& lttd & gt& lt! -This empty field is just for appearance-> & lt/TD & gt; & lt/tr & gt;

& lttr & gt& lttd & gt& ltb>& lt I> God

& lttd & gt& ltdiv align="right " >& ltinput type = " text " name = " date " value = " day " size = " 3 " onClick = value = " " & gt; & lt/TD & gt;

& lttd & gt& ltinput type = " button " value = " Calculate " onClick = " signs()" & gt; & lt/div & gt; & lt/TD & gt; & lt/tr & gt;

& lttr & gt& lttd & gt& ltb>& lt me> constellation:

& lttd & gt& ltdiv align="right " >& ltinput type = " text " name = " sign " size = " 12 " value = " " align = " right " >& lt/div & gt; & lt/TD & gt; & lt/tr & gt;

& lttd & gt& lt! -This empty field is just for appearance-> & lt/TD & gt; & lt/tr & gt;

& lttr & gt& lttd & gt& ltb>& lt me> Zodiac chart:

& lttd & gt& ltdiv align="right " >& ltinput type = " text " name = " csign " size = " 12 " >& lt/div & gt; & lt/TD & gt;

& lttd & gt& lt! -This empty field is just for appearance-> & lt/TD & gt; & lt/tr & gt;

& lt/table & gt;

& lt/center & gt;

& lt/form & gt;