<!--#include file="conn.asp"-->
<!--#include file="inc/function.asp"-->
<!--#include file="inc/getuc.asp"-->
<%
if xing<>"" then
%>
<%
'获取月日信息
dim tempstar
tempstar=yue1
if len(ri1)=1 then
ri1="0"&ri1
end if
tempstar=tempstar&ri1
%>
<%
'获取星座信息
dim tempnum,result,str1,str2,str3,str4,str5,str6,str7,str8,str9,str10,str11,str12
tempnum=int(tempstar)
if tempnum>=120 and tempnum<=218 then
str11=" selected class=style5"
elseif tempnum>=219 and tempnum<=320 then
str12=" selected class=style5"
elseif tempnum>=321 and tempnum<=419 then
str1=" selected class=style5"
elseif tempnum>=420 and tempnum<=520 then
str2=" selected class=style5"
elseif tempnum>=521 and tempnum<=621 then
str3=" selected class=style5"
elseif tempnum>=622 and tempnum<=722 then
str4=" selected class=style5"
elseif tempnum>=723 and tempnum<=822 then
str5=" selected class=style5"
elseif tempnum>=823 and tempnum<=922 then
str6=" selected class=style5"
elseif tempnum>=923 and tempnum<=1022 then
str7=" selected class=style5"
elseif tempnum>=1023 and tempnum<=1121 then
str8=" selected class=style5"
elseif tempnum>=1122 and tempnum<=1221 then
str9=" selected class=style5"
else
str10=" selected class=style5"
end if
%>
<%end if%>
<html>
<head>
<title>星座配对,配对---便民查询网-www.99fad.cn</title>
<META name=keywords content="星座配对,配对">
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<style type="text/css">
<!--
BODY{
scrollbar-face-color: #d4d0c8;
scrollbar-highlight-color:#D4D0C8 ;
scrollbar-shadow-color:#d6d6d6 ;
scrollbar-3dlight-color:#e6e6e6 ;
scrollbar-arrow-color:#006699  ;
scrollbar-track-color:#dfdfdf ;
scrollbar-darkshadow-color: #808080; 
}
A:link {font-family:"Verdana",  "宋体"; COLOR: #000000;  font-size: 12px;  TEXT-DECORATION: none }
A:visited {font-family: "Verdana", "宋体";	COLOR: #000000; FONT-SIZE:12px; TEXT-DECORATION: none }
A:active {font-family: "Verdana", "宋体"; COLOR: #000099; FONT-SIZE: 12px; TEXT-DECORATION: none }
A:hover {font-family: "Verdana", "宋体"; COLOR: #dd0000>; FONT-SIZE: 12px; TEXT-DECORATION: underline }
.smallTxt{FONT-SIZE: 11px; FONT-FAMILY: "Tahoma","Arial","sans-serif"}
.style3 {FONT-SIZE: 14px; FONT-FAMILY: "Tahoma","Arial","sans-serif"; }
.style4 {FONT-SIZE: 14px;color: #CCCCCC}
.style5 {FONT-SIZE: 14px; FONT-FAMILY: "Tahoma","Arial","sans-serif"; color: #FF6600;}
-->
</style>
</head>
<body>
<%
dim sqlstr
if request("chk") = "xingzuopeidui" then
sqlstr="select * from xingzuolove where xingzuo1='"&trim(cstr(request("p1")))&"' and xingzuo2='"&trim(cstr(request("p2")))&"'"
set rs=conn.execute(sqlstr)
%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" align="center"><a href="xingzuopeidui.asp" target="_blank"><span class="style3"><font color="cc6600">星座配对</font></span></a>&nbsp;&nbsp;<span class="style3">by</span><a href="index.htm"><span class="style3">99Fad.cn 便民网</span></a></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE">
<table width="100%"  border="0" cellspacing="1" cellpadding="0" class="style3">
    <tr>
      <td height="50" align="center"><%="<font color=#FF0000>"&rs("xingzuo1")%> 和 <%=rs("xingzuo2")&"</font>"%></td>
    </tr>
    <tr>
      <td height="50" align="center"><%=rs("title")%></td>
    </tr>
</table>
<table width="100%"  border="0" cellspacing="1" cellpadding="0" class="style3">
    <tr>
      <td width="20%" height="100" align="center">&nbsp;</td>
      <td><%="<font color=#FF6666>"&rep(rs("content1"))&"</font>"%></td>
      <td width="20%" height="100" align="center">&nbsp;</td>
    </tr>
    <tr>
      <td width="20%" height="100" align="center">&nbsp;</td>
      <td><%=rep(rs("content2"))%></td>
      <td width="20%" height="100" align="center">&nbsp;</td>
    </tr>
</table>
<br>
</td>
</tr>
<form name="xingzuopeidui" method="post" action="">
<input name="chk" type="hidden" value="xingzuopeidui">
<tr bgcolor="#EFF8FE">
<td height="30" align="center" valign="middle" bgcolor="#EFF8FE">
  <span class="style3">您的星座：</span>
<SELECT name="p1" class="style3">
  <OPTION value=白羊座<%=str1%>>白羊座</OPTION>
  <OPTION value=金牛座<%=str2%>>金牛座</OPTION>
  <OPTION value=双子座<%=str3%>>双子座</OPTION>
  <OPTION value=巨蟹座<%=str4%>>巨蟹座</OPTION>
  <OPTION value=狮子座<%=str5%>>狮子座</OPTION>
  <OPTION value=处女座<%=str6%>>处女座</OPTION>
  <OPTION value=天秤座<%=str7%>>天秤座</OPTION>
  <OPTION value=天蝎座<%=str8%>>天蝎座</OPTION>
  <OPTION value=射手座<%=str9%>>射手座</OPTION>
  <OPTION value=摩羯座<%=str10%>>摩羯座</OPTION>
  <OPTION value=水瓶座<%=str11%>>水瓶座</OPTION>
  <OPTION value=双鱼座<%=str12%>>双鱼座</OPTION>
  </SELECT>&nbsp;&nbsp;&nbsp;&nbsp;<span class="style3">她(他)的星座：</span>
<SELECT name="p2" class="style3">
  <OPTION value=白羊座 selected>白羊座</OPTION>
  <OPTION value=金牛座>金牛座</OPTION>
  <OPTION value=双子座>双子座</OPTION>
  <OPTION value=巨蟹座>巨蟹座</OPTION>
  <OPTION value=狮子座>狮子座</OPTION>
  <OPTION value=处女座>处女座</OPTION>
  <OPTION value=天秤座>天秤座</OPTION>
  <OPTION value=天蝎座>天蝎座</OPTION>
  <OPTION value=射手座>射手座</OPTION>
  <OPTION value=摩羯座>摩羯座</OPTION>
  <OPTION value=水瓶座>水瓶座</OPTION>
  <OPTION value=双鱼座>双鱼座</OPTION>
  </SELECT>&nbsp;&nbsp;&nbsp;&nbsp;
  <input type="submit" name="Submit" value="快速配对" style='cursor:hand;COLOR: #ff0000;'>&nbsp;&nbsp;
  <input type="button" name="Submit2" value="重新开始" style='cursor:hand;' onClick="javascript:window.location.href='xingzuopeidui.asp'">&nbsp;&nbsp;
  <input type="button" name="Submit3" value="返回首页" style='cursor:hand;' onClick="javascript:top.location.href='/'">
</span>
</td>
</tr>
</form>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
<%else%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" align="center"><a href="xingzuopeidui.asp" target="_blank"><span class="style3"><font color="cc6600">星座配对</font></span></a>&nbsp;&nbsp;<span class="style3"></span><a href="index.htm"><span class="style3">99Fad.cn 便民网</span></a></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE"><br>
<span class="style3">由星座來分析你和另一半在基本性格上的適配度
謹供大家作為相處時的參考，
但可不要因噎廢食，看星座交朋友哦！<br>
<br>
它可以幫助您看清彼此的歧異，避免相處時踩到地雷區
希望各位都能知己知彼、相處愉快！^_^

</span> </td>
</tr>
<form name="xingzuopeidui" method="post" action="">
<input name="chk" type="hidden" value="xingzuopeidui">
<tr bgcolor="#EFF8FE">
<td height="30" align="center" valign="middle" bgcolor="#EFF8FE">
  <span class="style3">您的星座：</span>
<SELECT name="p1" class="style3">
  <OPTION value=白羊座 <%=str1%>>白羊座</OPTION>
  <OPTION value=金牛座 <%=str2%>>金牛座</OPTION>
  <OPTION value=双子座 <%=str3%>>双子座</OPTION>
  <OPTION value=巨蟹座 <%=str4%>>巨蟹座</OPTION>
  <OPTION value=狮子座 <%=str5%>>狮子座</OPTION>
  <OPTION value=处女座 <%=str6%>>处女座</OPTION>
  <OPTION value=天秤座 <%=str7%>>天秤座</OPTION>
  <OPTION value=天蝎座 <%=str8%>>天蝎座</OPTION>
  <OPTION value=射手座 <%=str9%>>射手座</OPTION>
  <OPTION value=摩羯座 <%=str10%>>摩羯座</OPTION>
  <OPTION value=水瓶座 <%=str11%>>水瓶座</OPTION>
  <OPTION value=双鱼座 <%=str12%>>双鱼座</OPTION>
  </SELECT>&nbsp;&nbsp;&nbsp;&nbsp;<span class="style3">她(他)的星座：</span>
<SELECT name="p2" class="style3">
  <OPTION value=白羊座 selected>白羊座</OPTION>
  <OPTION value=金牛座>金牛座</OPTION>
  <OPTION value=双子座>双子座</OPTION>
  <OPTION value=巨蟹座>巨蟹座</OPTION>
  <OPTION value=狮子座>狮子座</OPTION>
  <OPTION value=处女座>处女座</OPTION>
  <OPTION value=天秤座>天秤座</OPTION>
  <OPTION value=天蝎座>天蝎座</OPTION>
  <OPTION value=射手座>射手座</OPTION>
  <OPTION value=摩羯座>摩羯座</OPTION>
  <OPTION value=水瓶座>水瓶座</OPTION>
  <OPTION value=双鱼座>双鱼座</OPTION>
  </SELECT>&nbsp;&nbsp;&nbsp;&nbsp;
  <input type="submit" name="Submit" value="快速配对" style='cursor:hand;COLOR: #ff0000;'>&nbsp;&nbsp;
  <input type="button" name="Submit2" value="重新开始" style='cursor:hand;' onClick="javascript:window.location.href='xingzuopeidui.asp'">&nbsp;&nbsp;
  <input type="button" name="Submit3" value="返回首页" style='cursor:hand;' onClick="javascript:top.location.href='/'">
</span>
</td>
</tr>
</form>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
<%end if%>
<%
'输出
If Err Then
response.Write "星座配对查询内容出错!"
err.Clear
Response.End
End If
%>
