📄 liveitem.php
字号:
<?phpif(!defined('IN_DISCUZ')) { exit('Access Denied');}if($mypethp > 0 && $mypetsp > 0 && $mypetdata['mypetdead']==0){ showmessage('您的宝宝还没死,干嘛要复活啊?<BR><BR><a href=pet.php?index=mypet>我的宠物</a>');}else{ $db->query("UPDATE {$tablepre}wxpetdata SET mypetdead=0,mypethp='$mypetmaxhp',mypetmp='$mypetmaxmp',mypetsp='5000',npcid2='0' WHERE username='$discuz_user'"); updatestoragebyid(-1,$storageid); showmessage("使用成功,您的宝宝复活了 !<BR><BR><a href=pet.php?index=mypet>我的宠物</a>");}?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -