<!--#include file="Inc.asp"-->
<!--#include file="ydzq.asp"-->
<%If Request("SubmitFlag") <> "" Then

       
'----------------------------------------------------------------
'			生成cwset.asp文件
'----------------------------------------------------------------
dim YD_Config,YD_File

YD_File= Server.MapPath("/inc/cwset.asp")'生成cwset.asp文件路径

YD_Config="<%"

YD_Config=YD_Config+chr(13)&chr(10)&"cwkblx="""&Request.Form("cwkblx")&""" "
YD_Config=YD_Config+chr(13)&chr(10)&"cwkblx1="""&Request.Form("cwkblx1")&""" "
YD_Config=YD_Config+chr(13)&chr(10)&"cwkblx2="""&Request.Form("cwkblx2")&""" "
YD_Config=YD_Config+chr(13)&chr(10)&"cwkblx3="""&Request.Form("cwkblx3")&""" "
YD_Config=YD_Config+chr(13)&chr(10)&"cwkblx4="""&Request.Form("cwkblx4")&""" "
YD_Config=YD_Config+chr(13)&chr(10)&"%"&">"
Call CreatedTextFiles(YD_File,YD_Config)
Response.Write "<card id='card2' title='宠物高级设置' ontimer='../index.asp?saytk="&saytk&"&amp;sid="&sid&"'><timer value='10'/><p>"
Response.Write "宠物高级设置成功！正在返回..."
else%>
<card id="index" title="宠物高级设置">
<p align="left">
以下是每天的宠物扣点数设置,<br/>
生命:<input name="cwkblx<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(cwkblx)%>"/>点<br/>
心情:<input name="cwkblx1<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(cwkblx1)%>"/>点<br/>
情感:<input name="cwkblx2<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(cwkblx2)%>"/>点<br/>
智力:<input name="cwkblx3<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(cwkblx3)%>"/>点<br/>
健康:<input name="cwkblx4<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(cwkblx4)%>"/>点<br/>
<anchor>[配置文件]
<go href="cwset.asp?SubmitFlag=true&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>" method="post">
<postfield name="cwkblx" value="$(cwkblx<%=minute(now)%><%=second(now)%>)"/>
<postfield name="cwkblx1" value="$(cwkblx1<%=minute(now)%><%=second(now)%>)"/>
<postfield name="cwkblx2" value="$(cwkblx2<%=minute(now)%><%=second(now)%>)"/>
<postfield name="cwkblx3" value="$(cwkblx3<%=minute(now)%><%=second(now)%>)"/>
<postfield name="cwkblx4" value="$(cwkblx4<%=minute(now)%><%=second(now)%>)"/>
</go>
</anchor>
<%end if%><br/>
<a href="../index.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">[后台管理]</a><br/>
</p></card></wml>