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

📄 ssbox.php

📁 天使宠物 V6 Final版 天使宠物 V6 Final版目前支持Discuz!6.0 和 Discuz!6.1论坛
💻 PHP
字号:
<?php
if(!defined('IN_DISCUZ')) { exit('Access Denied');}

updatestoragebyid(-1,$storageid);
			    $rand=rand(1,7);
				$addcname = "皇者之链";
				$addcname1 = "初心者戒指";
				$addcname2 = "青铜戒指";
				$addcname3 = "贵族戒指";
				$addcname4 = "玄铁戒指";
				$addcname5 = "权利领花";
				if($rand==1){
				    updatestoragebyitemname($discuz_user,'kingl',1,1);
					showmessage("你打开潘多拉宝箱 获得了1个".$addcname."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}elseif($rand==2){
					updatestoragebyitemname($discuz_user,'cxjz',1,1);
					showmessage("你打开潘多拉宝箱 获得了1个".$addcname1."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}elseif($rand==3){
					updatestoragebyitemname($discuz_user,'qtjz',1,1);
					showmessage("你打开潘多拉宝箱 获得了1个".$addcname2."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}elseif($rand==4){
					updatestoragebyitemname($discuz_user,'gzjz',1,1);
					showmessage("你打开潘多拉宝箱 获得了1个".$addcname3."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}elseif($rand==5){
					updatestoragebyitemname($discuz_user,'xtjz',1,1);
					showmessage("你打开潘多拉宝箱 获得了1个".$addcname4."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}elseif($rand==6){
					updatestoragebyitemname($discuz_user,'qlyd',1,1);
					showmessage("你打开潘多拉宝箱 获得了1个".$addcname5."~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}else{
				showmessage("你打开潘多拉宝箱 可惜甚么都没有获得~·<BR><BR><a href=pet.php?index=storage>宠物仓库</a>");
				}
?>

⌨️ 快捷键说明

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