⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 js.asp

📁 网佳网络办公系统(以下简称OA)是一套基于B/S模式的无纸化办公系统。[显著特点:无须安装客户端] 主要功能模块:管理 公文 车辆 通知 档案 值班 人事 审批 仓库 主界面 软件下载 个
💻 ASP
字号:
<%Response.Buffer=true 
Response.CacheControl = "no-cache" 
Response.AddHeader "Pragma", "no-cache" 
if Session("hxf_u_nickname")=""  then  Response.Redirect "../error.asp?id=440" 
response.expires=0 
username=session("hxf_u_nickname")
if Application("hxf_js")=0 then  
%>
<script> 
alert('提示:你小子是不是没事找事呀,哪里有鬼?!'); 
window.close(); 
</script>
<% 
response.end 
end if
Set conn=Server.CreateObject("ADODB.CONNECTION") 
Set rs=Server.CreateObject("ADODB.RecordSet") 
connstr=Application("hg_connstr") 
conn.open connstr 
conn.execute "update 用户 set 体力=体力-"& Application("hxf_JS") &" where 姓名='"&username&"'"
rs.open "select 体力 FROM 用户 where 姓名='"&username&"'",conn,1,1
if rs("体力")<-100 then
	conn.execute "update 用户 set 状态='死' where 姓名='"&username
	call boot(username)
	conn.execute "insert into 人命(死者,时间,凶手,死因) values ('" & username & "',now(),'僵尸','因勇打僵尸所牺牲')"
	JS="<img src='kl.gif'>太不幸了,["&username&"]为了保护大家的安全,舍身取义,被僵尸咬的七零八落,死翘翘了………"
else
	conn.execute "update 用户 set 经验=经验+"& Application("hxf_js")*10&" where 姓名='" & username & "'"
	JS="厉害!["&username&"]终于打死了僵尸,官府奖励<img src='251.gif'>"&Application("hxf_js")*10&"点经验!"
end if
set rs=nothing                                                                                                                                 
set conn=nothing
Application.Lock 
sd=Application("hxf_c_sd") 
line=int(Application("hxf_c_line")) 
Application("hxf_c_line")=line+1 
for i=1 to 171 
 sd(i)=sd(i+9) 
next 
sd(172)=line 
sd(173)=1 
sd(174)=0 
sd(175)="消息" 
sd(176)="大家" 
sd(177)="660099" 
sd(178)="660099" 
sd(179)="对" 
sd(180)="<font color=red><b>【江湖消息】</b></font>"&JS
Application("hxf_c_sd")=sd 
Application.UnLock 
Application.Lock 
Application("hxf_JS")=0 
Application.UnLock 
%>
<script> 
alert('打僵尸成功'); 
window.close(); 
</script> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -