<!--#include file="conn.asp"-->
<!--#include file="inc/function.asp"-->
<!--#include file="inc/getuc.asp"-->
<%
if xuexing <> "" then
%>
<%
'获取血型信息
select case xuexing
case "a" str2=" selected class=style5"
case "b" str3=" selected class=style5"
case "o" str4=" selected class=style5"
case "ab" str1=" selected class=style5"
end select
%>
<%end if%>
<html>
<head>
<title>血型配对,配对</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") = "xuexingpeidui" then
sqlstr="select * from xuexinglove where xuexing1='"&trim(cstr(request("p3")))&"' and xuexing2='"&trim(cstr(request("p4")))&"'"
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="xuexingpeidui.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("xuexing1")%> 和 <%=rs("xuexing2")&"</font>"%></td>
    </tr>
    <tr>
      <td height="50" align="center"><%="<font color=#FF6666>"&rs("title1")&"</font>"%></td>
    </tr>
    <tr>
      <td height="50" align="center"><%="<font color=#FF6666>"&rs("title2")&"</font>"%></td>
    </tr>
</table>
<table width="100%"  border="0" cellspacing="1" cellpadding="0" class="style3">
    <tr>
      <td width="20%" height="200" align="center">&nbsp;</td>
      <td height="200"><%=rep(rs("content"))%></td>
      <td width="20%" height="200" align="center">&nbsp;</td>
    </tr>
</table>
<br>
</td>
</tr>
<form name="xuexingpeidui" method="post" action="">
<input name="chk" type="hidden" value="xuexingpeidui">
<tr bgcolor="#EFF8FE">
<td height="30" align="center" valign="middle" bgcolor="#EFF8FE">
  <span class="style3">您的血型：</span>
<SELECT name="p3" class="style3">
<OPTION value=AB<%=str1%>>AB型</OPTION>
<OPTION value=A<%=str2%>>A型</OPTION>
<OPTION value=B<%=str3%>>B型</OPTION>
<OPTION value=O<%=str4%>>O型</OPTION>
</SELECT>&nbsp;&nbsp;&nbsp;&nbsp;<span class="style3">她(他)的血型：</span>
<SELECT name="p4" class="style3">
<OPTION value=AB>AB型</OPTION>
<OPTION value=A>A型</OPTION>
<OPTION value=B>B型</OPTION>
<OPTION value=O>O型</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='xuexingpeidui.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="xuexingpeidui.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"><br>
<span class="style3">血型配对，根据血型测试您和恋人的缘分和婚姻！</span>
</td>
</tr>
<form name="xingzuopeidui" method="post" action="">
<input name="chk" type="hidden" value="xuexingpeidui">
<tr bgcolor="#EFF8FE">
<td height="30" align="center" valign="middle" bgcolor="#EFF8FE">
  <span class="style3">您的血型：</span>
<SELECT name="p3" class="style3">
<OPTION value=AB<%=str1%>>AB型</OPTION>
<OPTION value=A<%=str2%>>A型</OPTION>
<OPTION value=B<%=str3%>>B型</OPTION>
<OPTION value=O<%=str4%>>O型</OPTION>
</SELECT>&nbsp;&nbsp;&nbsp;&nbsp;<span class="style3">她(他)的血型：</span>
<SELECT name="p4" class="style3">
<OPTION value=AB>AB型</OPTION>
<OPTION value=A>A型</OPTION>
<OPTION value=B>B型</OPTION>
<OPTION value=O>O型</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='xuexingpeidui.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
%>
