<!--#include file="conn.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>
<%if request("chk") <> "gy" then%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" colspan="2" align="center"><span class="style3"><font color="#FF0000">观灾观劫观众生&nbsp;&nbsp;&nbsp;&nbsp;音苦音凄音闻亲&nbsp;&nbsp;&nbsp;&nbsp;灵通灵验灵光照&nbsp;&nbsp;&nbsp;&nbsp;签迷签津签明灯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td width="30%" align="center" bgcolor="#EFF8FE"><img src="imgs/guanyin2.jpg" width="116" height="180">
<br>
<br>
<span class="smallTxt">普陀山南海观音</span></td>
<td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#FF0000">请从正确的页面进入此页面！</font></span></td>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
<%else%>
<%
on error resume next

if request.Cookies("Bmcha")("guanyin") = "" then
'产生随机数
dim num,sqlgy,picnum,gysmile
randomize
num=int((rnd*100)+1)
response.Cookies("Bmcha")("guanyin")=num
else
num=request.Cookies("Bmcha")("guanyin")
end if

randomize
gysmile=int((rnd*4)+1)
response.Cookies("Bmcha")("gysmile")=cstr(gysmile)

sqlgy="select * from guanyin where id="&num
set rsgy=conn.execute(sqlgy)
%>
<%
if request("gyclicknum") = "" then
%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" colspan="2" align="center"><span class="style3"><font color="#FF0000">观灾观劫观众生&nbsp;&nbsp;&nbsp;&nbsp;音苦音凄音闻亲&nbsp;&nbsp;&nbsp;&nbsp;灵通灵验灵光照&nbsp;&nbsp;&nbsp;&nbsp;签迷签津签明灯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td width="30%" rowspan="5" align="center" bgcolor="#EFF8FE" valign="top"><img src="imgs/guanyin2.jpg" width="116" height="180">
<br>
<br>
<span class="smallTxt">普陀山南海观音</span></td>
<td align="center" bgcolor="#EFF8FE"><span class="style3">您抽到的是&nbsp;<span class="style3"><font color="#FF0000"><%=rsgy("id")%></font></span>&nbsp;签</span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE" class="style3">
<%
randomize
picnum=int(rnd*3)+1
response.write "<a href=guanyinchouqian.asp?gyclicknum=1&chk=gy><img src=imgs/sign"&picnum&".gif width=100 height=77 border=0></a>"
%></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#CC6600"></font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#CC6600">需連續擲出三次聖杯，才是灵籤！请点上面图标开始擲出聖杯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE">&nbsp;</td>
</tr>
</table>
<%end if%>
<%
if request("gyclicknum") = "1" then
%>
<%
if request.Cookies("Bmcha")("gysmile") <> "4" then
%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" colspan="2" align="center"><span class="style3"><font color="#FF0000">观灾观劫观众生&nbsp;&nbsp;&nbsp;&nbsp;音苦音凄音闻亲&nbsp;&nbsp;&nbsp;&nbsp;灵通灵验灵光照&nbsp;&nbsp;&nbsp;&nbsp;签迷签津签明灯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td width="30%" rowspan="5" align="center" bgcolor="#EFF8FE" valign="top"><img src="imgs/guanyin2.jpg" width="116" height="180">
<br>
<br>
<span class="smallTxt">普陀山南海观音</span></td>
<td align="center" bgcolor="#EFF8FE"><span class="style3">您抽到的是&nbsp;<span class="style3"><font color="#FF0000"><%=rsgy("id")%></font></span>&nbsp;签</span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE" class="style3">
<%
randomize
picnum=int(rnd*3)+1
response.write "<a href=guanyinchouqian.asp?gyclicknum=2&chk=gy><img src=imgs/sign"&picnum&".gif width=100 height=77 border=0></a>"
%></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#ff0000">圣杯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#CC6600">需連續擲出三次聖杯，才是灵籤！<font color="#FF0000">您目前抽了 1 次</font></font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE">&nbsp;</td>
</tr>
</table>
<%else%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" colspan="2" align="center"><span class="style3"><font color="#FF0000">观灾观劫观众生&nbsp;&nbsp;&nbsp;&nbsp;音苦音凄音闻亲&nbsp;&nbsp;&nbsp;&nbsp;灵通灵验灵光照&nbsp;&nbsp;&nbsp;&nbsp;签迷签津签明灯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td width="30%" rowspan="5" align="center" bgcolor="#EFF8FE" valign="top"><img src="imgs/guanyin2.jpg" width="116" height="180">
<br>
<br>
<span class="smallTxt">普陀山南海观音</span></td>
<td align="center" bgcolor="#EFF8FE"><span class="style3">您抽到的是&nbsp;<span class="style3"><font color="#FF0000"><%=rsgy("id")%></font></span>&nbsp;签</span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE" class="style3">
<%
response.write "<img src=imgs/sign0.gif width=100 height=77 border=0>"
%></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#ff0000">笑杯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#CC6600">需連續擲出三次聖杯，才是灵籤！<font color="#FF0000">您目前抽了 1 次</font></font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><a href="guanyin.asp"><font color="#FF0000">但是，您擲出笑杯了，此签不准，请点这里重新抽签！</font></a></td>
</tr>
</table>
<%end if%>
<%end if%>
<%
if request("gyclicknum") = "2" then
%>
<%
if request.Cookies("Bmcha")("gysmile") <> "4" then
%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" colspan="2" align="center"><span class="style3"><font color="#FF0000">观灾观劫观众生&nbsp;&nbsp;&nbsp;&nbsp;音苦音凄音闻亲&nbsp;&nbsp;&nbsp;&nbsp;灵通灵验灵光照&nbsp;&nbsp;&nbsp;&nbsp;签迷签津签明灯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td width="30%" rowspan="5" align="center" bgcolor="#EFF8FE" valign="top"><img src="imgs/guanyin2.jpg" width="116" height="180">
<br>
<br>
<span class="smallTxt">普陀山南海观音</span></td>
<td align="center" bgcolor="#EFF8FE"><span class="style3">您抽到的是&nbsp;<span class="style3"><font color="#FF0000"><%=rsgy("id")%></font></span>&nbsp;签</span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE" class="style3">
<%
randomize
picnum=int(rnd*3)+1
response.write "<a href=guanyinchouqian.asp?gyclicknum=3&chk=gy><img src=imgs/sign"&picnum&".gif width=100 height=77 border=0></a>"
%></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#ff0000">圣杯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#CC6600">需連續擲出三次聖杯，才是灵籤！<font color="#FF0000">您目前抽了 2 次</font></font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE">&nbsp;</td>
</tr>
</table>
<%else%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" colspan="2" align="center"><span class="style3"><font color="#FF0000">观灾观劫观众生&nbsp;&nbsp;&nbsp;&nbsp;音苦音凄音闻亲&nbsp;&nbsp;&nbsp;&nbsp;灵通灵验灵光照&nbsp;&nbsp;&nbsp;&nbsp;签迷签津签明灯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td width="30%" rowspan="5" align="center" bgcolor="#EFF8FE" valign="top"><img src="imgs/guanyin2.jpg" width="116" height="180">
<br>
<br>
<span class="smallTxt">普陀山南海观音</span></td>
<td align="center" bgcolor="#EFF8FE"><span class="style3">您抽到的是&nbsp;<span class="style3"><font color="#FF0000"><%=rsgy("id")%></font></span>&nbsp;签</span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE" class="style3">
<%
response.write "<img src=imgs/sign0.gif width=100 height=77 border=0>"
%></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#ff0000">笑杯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#CC6600">需連續擲出三次聖杯，才是灵籤！<font color="#FF0000">您目前抽了 2 次</font></font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><a href="guanyin.asp"><font color="#FF0000">但是，您擲出笑杯了，此签不准，请点这里重新抽签！</font></a></td>
</tr>
</table>
<%end if%>
<%end if%>
<%
if request("gyclicknum") = "3" then
%>
<%
if request.Cookies("Bmcha")("gysmile") <> "4" then
%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" colspan="2" align="center"><span class="style3"><font color="#FF0000">观灾观劫观众生&nbsp;&nbsp;&nbsp;&nbsp;音苦音凄音闻亲&nbsp;&nbsp;&nbsp;&nbsp;灵通灵验灵光照&nbsp;&nbsp;&nbsp;&nbsp;签迷签津签明灯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td width="30%" rowspan="5" align="center" bgcolor="#EFF8FE" valign="top"><img src="imgs/guanyin2.jpg" width="116" height="180">
<br>
<br>
<span class="smallTxt">普陀山南海观音</span></td>
<td align="center" bgcolor="#EFF8FE"><span class="style3">您抽到的是&nbsp;<span class="style3"><font color="#FF0000"><%=rsgy("id")%></font></span>&nbsp;签</span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE" class="style3">
<%
randomize
picnum=int(rnd*3)+1
response.write "<img src=imgs/sign"&picnum&".gif width=100 height=77 border=0>"
%></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#ff0000">圣杯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><span class="style3"></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><a href="guanyinlingqian.asp"><font color="#ff0000">恭喜，您連續擲出了三次聖杯，请点这里察看签词！</font></a></td>
</tr>
</table>
<%else%>
<table width="100%" height="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#C0DBEF">
<tr bgcolor="#EFF8FE">
<td height="50" colspan="2" align="center"><span class="style3"><font color="#FF0000">观灾观劫观众生&nbsp;&nbsp;&nbsp;&nbsp;音苦音凄音闻亲&nbsp;&nbsp;&nbsp;&nbsp;灵通灵验灵光照&nbsp;&nbsp;&nbsp;&nbsp;签迷签津签明灯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td width="30%" rowspan="5" align="center" bgcolor="#EFF8FE" valign="top"><img src="imgs/guanyin2.jpg" width="116" height="180">
<br>
<br>
<span class="smallTxt">普陀山南海观音</span></td>
<td align="center" bgcolor="#EFF8FE"><span class="style3">您抽到的是&nbsp;<span class="style3"><font color="#FF0000"><%=rsgy("id")%></font></span>&nbsp;签</span></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE" class="style3">
<%
response.write "<img src=imgs/sign0.gif width=100 height=77 border=0>"
%></td>
</tr>
<tr bgcolor="#EFF8FE">
<td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#ff0000">笑杯</font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><span class="style3"><font color="#CC6600">需連續擲出三次聖杯，才是灵籤！<font color="#FF0000">您目前抽了 3 次</font></font></span></td>
</tr>
<tr bgcolor="#EFF8FE">
  <td align="center" bgcolor="#EFF8FE"><a href="guanyin.asp"><font color="#FF0000">但是，您擲出笑杯了，此签不准，请点这里重新抽签！</font></a></td>
</tr>
</table>
<%end if%>
<%end if%>
<!--#include file="copyright.asp"-->
</body>
</html>
<%end if%>
<%
'输出
If Err Then
response.Write "观音灵签查询内容出错!"
err.Clear
Response.End
End If
%>