<%
Response.Expires=0
if Session("zhbg_name")="" then Response.Redirect "../../errors.asp?id=016"
%>
<!--#include file="DATA1.ASP"-->

<html>
<link href="../../css.css" rel="stylesheet" type="text/css">
<head>
<title>非凡国度--托儿所</title>
</head>
<body >
<div align="center">
  <center>
    <table border="0" width="95%" cellspacing="0" cellpadding="0" height="183">
      <tr>
      <td width="100%" colspan="3" background="PICC/K2.GIF" height="18">　</td>
    </tr>
    <tr>
        <td width="4%" rowspan="4" background="PICC/K3.GIF" height="147"></td>
      <td width="88%" align="center" height="26"><img border="0" src="61.GIF" width="111" height="22"></td>
      <td width="4%" background="PICC/K3.GIF" height="147" rowspan="4">　</td>
    </tr>
    <tr>
      <td width="88%" height="70" align="center"><img border="0" src="PICC/KG8.JPG" width="520" height="309"></td>
    </tr>
    <tr>
      <td width="88%" height="103" valign="top">
        <table border="0" width="100%">

          <tr>
              <td width="100%" align="center"><br>
<a href="javascript:this.location.reload()">【刷新】</a> <a href="javascript:history.go(-1)">【返回】</a> <br>
                <br>
                托儿所</td>                    
          </tr>

          <tr>
            <td width="100%">这儿是喂养小孩的地方，你小孩就住在这儿，看着她无忧无虑的生活着，你觉得在剑侠里不再孤独。不过你每天得来这照顾她哦，不然她会死掉的哦
              
</td>
          </tr>

          <tr>
            <td width="100%" align="center"> 
             <form method="POST" action="checksheep.asp">
         
<table border="0" width="100%">
  <tr>
    <td width="100%">                    <%
rs.open"select sheepname from sheep where user='"&session("zhbg_name")&"'",conn,1,1
if rs.bof then
rs.close
response.write "您还没有领养小孩呢！快领养一个吧"
else
                              %>
                                      <p align="center"><span class="p9">你的孩子的名字叫<font color="#FF0000"><%=rs("sheepname")%> 
                                      </font> 
                                        <input   
                              type="hidden" name="nick" size="20"  
                              style="font-family: Tahoma; font-size: 12px"  
                              value="<%=rs("sheepname")%>">  
                                        </font>  </td>
  </tr>
  <tr>
    <td width="100%"> <p align="center">  
                                        <input type="submit"  
                              value="进入" name="B1"  
                              style="font-family: 宋体; font-size: 12px; background-color: #FFFFCC; border-style: solid; border-width: 1"></td>
  </tr>
</table>
 </form>  
 <%   
rs.close   
end if   
conn.close   
   %>  

</td>
          </tr>

          <tr>
            <td width="100%" align="center">          
   <!--#include file="DATA1.ASP"-->            
                          <p><font color="#FF0000">算工资了：            
                            <%rs.open("select * from sheep where user='"&session("zhbg_name")&"'"),conn,1,1                             
if  rs.bof then%>              
                            <span class="p9">快快养个小孩为你打工赚钱啦！</span>                   
                            <%else                             
 if rs("feedsheepday")>=3then%>              
                            </font></p>              
                          <form method="POST" action="SELLMILK.ASP">              
                            <p><span class="p9">你孩子为你在孤儿院里打了<%=rs("milk")%>工作单位。你想向孤儿院收多少小时的工钱呢？                
                              <input                 
          type="text" name="milk" size="9"                 
          style="font-family: 宋体; font-size: 12px; background-color: #FFFFCC; border-style: solid; border-width: 1">              
                              <input type="submit"                  
          value="收工钱了" name="B2"                 
          style="font-family: 宋体; font-size: 12px; background-color: #FFFFCC; border-style: solid; border-width: 1">              
                              <input type="hidden"                  
          name="sheepname" value="<%=rs("sheepname")%>">              
                              <%else%>               
                              你的孩子还没找到工作呢</span>。</p>               
                          </form>              
                          <%end if%>              
                                        
                            <%end if%>              
         
</td>
          </tr>

          <tr>
            <td width="100%" align="center">          
</td>
          </tr>
         <td><hr>

          <tr>
            <td width="100%" align="center">[版本：非凡国度精美版v1.0]</td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td width="88%" height="18"></td>
    </tr>
    <tr>
      <td width="100%" colspan="3" background="PICC/K2.GIF" height="18">　</td>
    </tr>
  </table>
  </center>
</div>

</body>

</html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>
<script language="JavaScript">                                                
<!--                                                 
var runAs=1;                                                
N = 40;                                                 
Y = new Array();                                                
X = new Array();                                                
S = new Array();                                                
A = new Array();                                                
B = new Array();                                                
M = new Array();                                                
V = (document.layers)?1:0;                                                
iH=(document.layers)?window.innerHeight:window.document.body.clientHeight;                                                
iW=(document.layers)?window.innerWidth:window.document.body.clientWidth;                                                
for (i=0; i < N; i++){                                                 
Y[i]=Math.round(Math.random()*iH);                                                
X[i]=Math.round(Math.random()*iW);                                                
S[i]=Math.round(Math.random()*5+2);                                                
A[i]=0;                                                
B[i]=Math.random()*0.1+0.1;                                                
M[i]=Math.round(Math.random()*1+1);                                                
}                                                
if (V){                                                
for (i = 0; i < N; i++)                                                
{document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFF0' CLIP='0,0,"+M[i]+","+M[i]+"'></LAYER>")}                                                
}                                                
else{                                                
document.write('<div style="position:absolute;top:0px;left:0px">');                                                
document.write('<div style="position:relative">');                                                
for (i = 0; i < N; i++)                                                
{document.write('<div id="si" style="position:absolute;top:0;left:0;width:'+M[i]+';height:'+M[i]+';background:#fffff0;font-size:'+M[i]+'"></div>')}                                                
document.write('</div></div>');                                                
}                                                
function snow(){                                                
var H=(document.layers)?window.innerHeight:window.document.body.clientHeight;                                                
var W=(document.layers)?window.innerWidth:window.document.body.clientWidth;                                                
var T=(document.layers)?window.pageYOffset:document.body.scrollTop;                                                
var L=(document.layers)?window.pageXOffset:document.body.scrollLeft;                                                
for (i=0; i < N; i++){                                                
sy=S[i]*Math.sin(90*Math.PI/180);                                                
sx=S[i]*Math.cos(A[i]);                                                
Y[i]+=sy;                                                
X[i]+=sx;                                                 
if (Y[i] > H){                                                
Y[i]=-10;                                                
X[i]=Math.round(Math.random()*W);                                                
M[i]=Math.round(Math.random()*1+1);                                                
S[i]=Math.round(Math.random()*5+2);                                                
}                                                
if (V){document.layers['sn'+i].left=X[i];document.layers['sn'+i].top=Y[i]+T}                                                
else{si[i].style.pixelLeft=X[i];si[i].style.pixelTop=Y[i]+T}                                                 
A[i]+=B[i];                                                
}                                                
if(runAs==1){setTimeout('snow()',5);}                                                
}                                                
//-->                                                
</script>                                                
                                                
                                   
<script language=javascript>                                                                                                                     
     function Click(){                                                                                                                    
     alert('[非凡国度]欢迎您！本画面不支援滑鼠右键！');                                                                                                                    
     window.event.returnValue=false;                                                                                                                    
     }                                                                                                                    
     document.oncontextmenu=Click;                                                                                                                    
     </script> 





