<!--#include file="conn.asp"-->
<!--#include file="inc/getuc.asp"-->
<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"; }
-->
</style>
</head>
<body>
<%
function chkstr(str)
chkstr=true
if  not isnumeric(str) then
chkstr=false
end if
if len(str) <> 11 then
chkstr=false
end if
end function
if chkstr(trim(request("phonenum"))) then
%>
<%
'手机吉凶
'on error resume next
dim phonenum,temp
phonenum=cstr(trim(request("phonenum")))
phonenum=mid(phonenum,8)
phonenum=int(phonenum)
phonenum=phonenum/80
temp=int(phonenum)
phonenum=phonenum-temp
phonenum=int(phonenum*80)
phonenum=cstr(phonenum)
if phonenum="0" then
phonenum="81"
end if
%>
<%
dim sql,num,title,jx,content
sql="select * from shouji where num='"&phonenum&"'"
set rs=conn.execute(sql)
if not (rs.bof and rs.eof) then
num=rs("num")
title=rs("title")
jx=rs("jx")
content=rs("content")
end if
%>
<%
'输出
If Err Then
response.Write "手机吉凶查询内容出错!"
err.Clear
Response.End
End If
dim tempstr
if xing<>"" then
tempstr=xing&ming
else
tempstr="这位先生或者女士"
end if
tempstr=tempstr&",您的手机&nbsp;<font color=#cc6600>"&cstr(trim(request("phonenum")))&"</font><br><br>"
tempstr=tempstr&"吉凶指数为:&nbsp;<font color=#ff6600>"&num&"</font><br><br>"
tempstr=tempstr&"状态为:&nbsp;<font color=#cc6600>"&title&"</font><br><br><font color=red>"&jx&"</font><br><br>"&content
%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<form name="shouji" method="post" action="">
<tr bgcolor="#EFF8FE">
<td height="50" align="center">
<span class="style3">
请输入您的手机号码:<input name="phonenum" type="text" id="phonenum">
<input type="submit" name="Submit" value="提交">
</span></td>
</tr>
</form>
<tr bgcolor="#EFF8FE">
<td bgcolor="#EFF8FE"><span class="style3">
<%=tempstr%>
</span></td>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
<%else%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<form name="shouji" method="post" action="">
<tr bgcolor="#EFF8FE">
<td height="50" align="center">
<span class="style3">
请输入您的手机号码:<input name="phonenum" type="text" id="phonenum">
<input type="submit" name="Submit" value="提交">
</span></td>
</tr>
</form>
<tr bgcolor="#EFF8FE">
<td bgcolor="#EFF8FE" align="center"><span class="style3">
<%="<font color=#cc6600>请输入正确的手机号码!</font>"%>
<br><br>
有些人会问，手机号码为什么会影响一个人的运势？<br>其实这就像风水、阳宅会影响运势命运的意义是一样的。虽然这只是一个号码，但是它与您的生活息息相关，也代表您与所有人的沟通桥梁！所以『吉』与『凶』关系非常大！而且网友来信都一一印证，的确不可轻忽！ 
</span></td>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
<%end if%>