String year=request.getParameter("year");
String month=request.getParameter("month");
String day=request.getParameter("day");
String hours=request.getParameter("hours");
String minute=request.getParameter("minute");
String second=request.getParameter("second");
%>
inttoyear=1984;
String birthyear1=year;
intbirthyear=Integer.parseInt(birthyear1);
String birthpet="";
intx=(toyear-birthyear)%12;
if(Integer.toString(birthyear)!=null){
if((x == 0)){
birthpet="您属鼠";
}
else{
if((x == 1)||(x == -11)){
birthpet="您属牛";
}
else{
if((x == 2) || (x == -10)){
birthpet="您属虎";
}
else{
if((x == 3)||(x == -9)){
birthpet="您属兔";
}
else{
if((x == 4)||(x == -8)){
birthpet="您属龙";
}
else{
if((x == 5)||(x == -7)){
birthpet="您属蛇";
}
else{
if((x == 6)||(x == -6)){
birthpet="您属马";
}
else{
if((x == 7)||(x == -5)){
birthpet="您属羊";
}
else{
if((x == 8)||(x == -4)){
birthpet="您属猴";
}
else{
if((x == 9)||(x == -3)){
birthpet="您属鸡";
}
else{
if((x == 10)||(x == -2)){
birthpet="您属狗";
}
else{
if((x == 11)||(x == -1)){
birthpet="您属猪";
}
}
}
}
}
}
}
}
}
}
}
}
}else{
birthpet="请输入你的出生年份";
}
%>
String xingzuo;
intxmonth=Integer.parseInt(month);
intxday=Integer.parseInt(day);
if( (1==xmonth && xday>=21 && xday<=31) || (2==xmonth && 1<=xday&&xday<=18) ){
xingzuo="水瓶座";
}
elseif( (2==xmonth && xday>=19 && xday<=29) || (3==xmonth && 1<=xday&&xday<=20) ){
xingzuo="双鱼座";
}
elseif( (3==xmonth && xday>=21 && xday<=31) || (4==xmonth && 1<=xday&&xday<=20) ){
xingzuo="白羊座";
}
elseif( (4==xmonth && xday>=21 && xday<=30) || (5==xmonth && 1<=xday&&xday<=21) ){
xingzuo="金牛座";
}
elseif( (5==xmonth && xday>=22 && xday<=31) || (6==xmonth && 1<=xday&&xday<=21) ){
xingzuo="双子座";
}
elseif( (6==xmonth && xday>=22 && xday<=30) || (7==xmonth && 1<=xday&&xday<=22) ){
xingzuo="巨蟹座";
}
elseif( (7==xmonth && xday>=23 && xday<=31) || (8==xmonth && 1<=xday&&xday<=23) ){
xingzuo="狮子座";
}
elseif( (8==xmonth && xday>=24 && xday<=31) || (9==xmonth && 1<=xday&&xday<=22) ){
xingzuo="处女座";
}
elseif( (9==xmonth && xday>=23 && xday<=30) || (10==xmonth && 1<=xday&&xday<=23) ){
xingzuo="天秤座";
}
elseif( (10==xmonth && xday>=24 && xday<=31) || (11==xmonth && 1<=xday&&xday<=22) ){
xingzuo="天蝎座";
}
elseif( (11==xmonth && xday>=23 && xday<=30) || (12==xmonth && 1<=xday&&xday<=21) ){
xingzuo="射手座";
}
elseif( (12==xmonth && xday>=22 && xday<=31) || (1==xmonth && 1<=xday&&xday<=20) ){
xingzuo="摩羯座";
}
else{
xingzuo="日期错误!";
}
%>
您的出生日期:
年
月
日
您的出生时间:
时
分
秒
您的属相:
您的星座:
document.write("今年你已经 "+yourage+"岁了, 你离 "+age2+"岁还有:");
以下是您在这世上存活的时间
返回上一页