<!--#include file="conn.asp"-->
<!--#include file="inc/function.asp"-->
<!--#include file="inc/cookies.asp"-->
<%
'把用户信息写入cookies
writecookies()
%>
<!--#include file="inc/getuc.asp"-->
<html>
<head>
<title>姓名测试,名字测试,姓名吉凶,姓名算命,姓名测算,姓名与命运</title>
<META name=keywords content="便民查询网99fad.cn，姓名测试,名字测试,姓名吉凶,姓名算命,姓名测算,姓名与命运">
<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"; }
-->
</style>
<script language="javascript">
<!--
if(self==top){self.location.href="index.htm";}
//-->
</script>
</head>
<body>
<%
if xing<>"" then
%>
<%
'处理用户信息
'姓
dim xing1,xing2,bihua1,bihua2
bihua1=0
bihua2=0
xing1=mid(xing,1,1)
bihua1=getnum(xing1)
if mid(xing,2,1) <> "" then
xing2=mid(xing,2,1)
bihua2=getnum(xing2)
end if
'名
dim ming1,ming2,bihua3,bihua4
bihua3=0
bihua4=0
ming1=mid(ming,1,1)
bihua3=getnum(ming1)
if mid(ming,2,1) <> "" then
ming2=mid(ming,2,1)
bihua4=getnum(ming2)
end if
'笔画总数
dim bihua
bihua=bihua1+bihua2+bihua3+bihua4
%>
<%
on error resume next
'测算姓名
dim sqlcesuan,cesuancontent
sqlcesuan="select * from 81 where num='"&bihua&"'"
set rscesuan=conn.execute(sqlcesuan)
if not (rscesuan.bof and rscesuan.eof) then
cesuancontent=rscesuan("content")
end if
%>
<%
'输出测算姓名内容
If Err Then
response.Write "测算姓名查询内容出错!"
err.Clear
Response.End
End If
%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" align="center"><span class="style3"><%="<font color='#cc6600'>"&xing&ming&"</font>"&","%>您的姓名经过算命系统的分析,结果如下：</span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td bgcolor="#EFF8FE"><span class="style3">
<%="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"&cesuancontent%>
</span></td>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
<%else%>
<%response.Redirect("youinfo.asp")%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" align="center" class="smallTxt">对不起，要测算请返回输入您的用户数据!<a href="youinfo.asp"><font color="#FF0000">点击这里</font></a></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td bgcolor="#EFF8FE"><span class="style3">你名字的背后藏着秘密哦！！！<br><br>姓名不仅仅是一个人的代号而已，通过只属于你个人的名字，可以看出你的个性和特质；同时，也可以找到你最有利的成功点哦。我们还会给你针对你的性格的一点建议，对于成功是大有助益的，赶紧进来探询你名字背后的玄机与秘密吧？</span></td>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
<%end if%>