📄 szzongzi.php
字号:
<?php
if(!defined('IN_DISCUZ')) { exit('Access Denied');}
updatestoragebyid(-1,$storageid);
$rand=mt_rand(-10,25);
$db->query("UPDATE {$tablepre}wxpetdata SET criring=criring+$rand WHERE username='$discuz_user'");
if($rand>=0){
showmessage("使用【<font color=red> {$cname} </font>】成功,您的掉宝率增加了【<font color=red> {$rand} </font>】点!<BR><BR><a href=pet.php?index=storage&itemtype=$itemtype>宠物仓库</a>");
}else{
showmessage("使用【<font color=red> {$cname} </font>】成功,您的掉宝率减少了【<font color=red> {$rand} </font>】点!<BR><BR><a href=pet.php?index=storage&itemtype=$itemtype>宠物仓库</a>");
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -