📄 cwindex.asp
字号:
<!--#include file="../inc/conn2.asp"-->
<!--#include file="../tools.asp"-->
<Script language="javascript">
window.resizeTo(screen.availWidth,screen.availHeight);
</script>
<%
Response.Buffer=True
response.expires = 0
response.expiresabsolute = now() - 1
response.addHeader "pragma","no-cache"
response.addHeader "cache-control","private"
Response.cachecontrol = "no-cache"
if Request.Cookies("NC")="" or Request.Cookies("NC")="访客" then
Response.Write("")
Response.End
end if
if (UCase(Request.Cookies("NC")) = UCase(Application("NC"))) then
conn.Execute("delete from [sheep] where logintoday < DATEADD('d',-90,'"&ConvertDateTime(now())&"')")
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>饲养宠物</title>
<style>
<!--
a,td { font: 14px "宋体"}
.whet { color: #FFFFFF}
-->
</style>
<script language="JavaScript">
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
<base target="_self">
</head>
<body background="siba.gif">
<table bgColor="#cccccc" border="0" cellPadding="0" cellSpacing="2" width="100%">
<tr>
<td background="nn/siba1.gif">
<table border="0" cellPadding="0" cellSpacing="4" width="100%">
<tr>
<td>
<table border="0" cellPadding="0" cellSpacing="3" width="100%">
<tr>
<td noWrap>
<span lang="zh-cn"><font color="#FFFFFF">好多可爱宠物,你喜欢吗?</font></span></td>
</tr>
<tr>
<td noWrap>
<img height="1" src="nn/black_point.gif" width="100%"></td>
</tr>
<tr>
<td noWrap>
<table border="0" cellPadding="0" cellSpacing="0" width="100%">
<tr>
<td> <img align="absMiddle" height="30" src="nn/money.gif" width="30">
<font color="#ffffff"><strong>每只</strong></font> <font color="yellow">1000</font>
<b><font color="#ffffff"> NG</font></b><font color="yellow"> </font><font color="yellow">领养后请定期到宠物市场喂养宠物</font></td>
<td>
</td>
</tr>
</table>
<p style="line-height: 150%; margin-top: 0; margin-bottom: 0" align="center">
<font color="#FFFFFF"><span lang="zh-cn">请选择你需要的宠物</span></font></p>
<font color="#FFFFFF">
<table border="0" cellPadding="0" cellSpacing="3" class="td2" width="100%">
<tr>
<td> <form method="POST" action="buysheep.asp">
<input type="radio"
value="01" name="R1" checked><img src="images/01.gif" width="104" height="89" border="0">
<input type="radio"
value="02" name="R1"><img src="images/02.gif" width="96" height="87"><font color="#FFFFFF">
<input type="radio"
value="03" name="R1">
<img src="images/03.gif" width="108" height="89" border="0"></font>
<font color="#FFFFFF">
<input type="radio"
value="04" name="R1">
<img src="images/04.gif" width="84" height="90" border="0"></font><font color="#FFFFFF">
<input type="radio"
value="05" name="R1">
<img src="images/05.gif" width="96" height="81" border="0"></font><font color="#FFFFFF"><br>
<input type="radio"
value="06" name="R1">
<img src="images/06.gif" width="96" height="79" border="0"></font><font color="#FFFFFF">
<input type="radio"
value="07" name="R1">
<img src="images/07.gif" width="96" height="81" border="0"></font>
<font color="#FFFFFF">
<input type="radio"
value="08" name="R1">
<img src="images/08.gif" width="80" height="82" border="0"></font><font color="#FFFFFF">
<input type="radio"
value="09" name="R1">
<img src="images/09.gif" width="68" height="62" border="0"></font><font color="#FFFFFF">
<input type="radio"
value="10" name="R1">
<img src="images/10.gif" width="76" height="105" border="0"></font><font color="#FFFFFF">
<input type="radio"
value="11" name="R1">
<img src="images/11.gif" width="80" height="81" border="0"><br>
</font><font color="#FFFFFF">
<input type="radio"
value="12" name="R1">
<img src="images/12.gif" width="76" height="106" border="0"></font><font color="#FFFFFF">
<input type="radio"
value="13" name="R1">
<img src="images/13.gif" width="108" height="112" border="0"></font><font color="#FFFFFF">
<input type="radio"
value="14" name="R1">
<img src="images/14.gif" width="72" height="73" border="0"></font><font color="#FFFFFF">
<input type="radio"
value="15" name="R1">
<img src="images/15.gif" width="111" height="144" border="0"></font><font color="#FFFFFF">
</font> <font color="#FFFFFF">
<input type="radio"
value="16" name="R1">
<img src="images/16.gif" width="68" height="66" border="0">
<input type="radio"
value="17" name="R1">
<img src="images/17.gif" width="48" height="58" border="0"><br>
<input type="radio"
value="18" name="R1">
<img src="images/18.gif" width="52" height="61" border="0">
<input type="radio"
value="19" name="R1">
<img src="images/19.gif" width="52" height="60" border="0">
<input type="radio"
value="20" name="R1">
<img src="images/20.gif" width="112" height="122" border="0">
<input type="radio"
value="21" name="R1">
<img src="images/21.gif" width="84" height="90" border="0">
<input type="radio"
value="22" name="R1">
<img src="images/22.gif" width="96" height="78" border="0">
<input type="radio"
value="23" name="R1">
<img src="images/23.gif" width="68" height="71" border="0">
<br>
<input type="radio"
value="25" name="R1">
<img src="images/25.gif" width="52" height="47" border="0">
<input type="radio"
value="24" name="R1">
<img src="images/24.gif" width="84" height="106" border="0">
<input type="radio"
value="26" name="R1">
<img src="images/26.gif" width="108" height="83" border="0">
<input type="radio"
value="27" name="R1">
<img src="images/27.gif" width="76" height="61" border="0">
<input type="radio"
value="28" name="R1">
<img src="images/28.gif" width="60" height="53" border="0">
<input type="radio"
value="29" name="R1">
<img src="images/29.gif" width="96" height="87" border="0"><br>
<input type="radio"
value="30" name="R1">
<img src="images/30.gif" width="88" height="113" border="0">
<input type="radio"
value="31" name="R1">
<img src="images/31.gif" width="104" height="89" border="0"><br>
<br>
</font> <font color="#FFFF00"><strong>(名字)</strong></font><font color="#FFFFFF">
</font> <input class=input class=input type="text" name="sheepname" size="10">
<input class=input class=input type="submit" value="领养" name="B1">
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" align="center">
<tr>
<td align="right">
<%
sql="Select * from [sheep] where NC='"&Request.Cookies("NC")&"'"
set rs=conn.Execute(sql)
if rs.eof then
%>
你还没有饲养宠物或你的宠物已经死亡!
<%else%>
<input type="submit" name="Submit" value="喂养宠物" onClick="MM_goToURL('parent','checksheep.asp');return document.MM_returnValue">
<%end if%>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</td>
</tr>
</table>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -