护身符不用了该怎么毁掉

护身符不用了该怎么毁掉,第1张

phpwind护身符道具不过期问题

关键词:益智但道具&;nbsp&;gtuid&quotShowmsg&ampon:hack/toolcenter/require/defend.PHP所有文档内容都改为以下代码:copycode<?php!function_exists('readover')&;&退出('禁止');/****@姓名:护身符@类型:vip会员

关键字描述:难题但是道具&nbsp&gtuid&quotShowmsg&ampif

开启:hack/toolcenter/require/defend.php

全部文档內容更换为一下编码:
Copycode <?php
!function_exists('readover')&&exit('Forbidden');

/****

@name:平安符
@type:vip会员类
@effect:应用后,不可以对该客户完成猪脸术实际效果。

****/
InitGP(array('uid'));
if($tooldb['type']!=2){
Showmsg('tooluse_type_error');//分辨道具种类是不是设定不正确
}
if(!$uid){
Showmsg('tooluse_nodefender');
}

$rt=$db->get_ss="superseo">ss="superseo">one("SELECTMAX(time)AStooltimeFROMpw_toollogWHEREtouid='$uid'ANDfilename='defend'");
if($rt&&$rt['tooltime']>$timestamp-3600*48){
Showmsg('tooluse_deused');
}
$db->update("UPDATEpw_usertoolSETnums=nums-1WHEREuid='$winduid'ANDtoolid='$toolid'");
$logdata=array(
'type'=>'use',
'filename'=>'defend',
'descrip'=>'tool_21_descrip',
'uid'=>$winduid,
'username'=>$windid,
'touid'=>$uid,
'ip'=>$onlineip,
'time'=>$timestamp,
'toolname'=>$tooldb['name'],
);
writetoollog($logdata);
Showmsg('toolmsg_success');
?>

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zz/772188.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-03
下一篇 2022-05-03

发表评论

登录后才能评论

评论列表(0条)

保存