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

📄 mx_2_xp.php

📁 极限网络智能办公系统—MYOA26—100%—源程序。
💻 PHP
📖 第 1 页 / 共 3 页
字号:
$install[] = "INSERT INTO ibf_rpg_classf VALUES (14, 'Thief', 'thieff.gif', 8, 6, 7, 7, 6, 6, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classf VALUES (15, 'White Mage', 'whitemagef.gif', 6, 10, 6, 10, 4, 4, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (1, 'Civilian', 'nonem.gif', 1, 1, 1, 1, 1, 1, 0, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (2, 'Archer', 'archerm.gif', 9, 7, 6, 8, 5, 5, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (3, 'Archmage', 'archmagem.gif', 6, 10, 8, 7, 4, 4, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (4, 'Assassin', 'assassinm.gif', 10, 8, 7, 6, 5, 5, 2, 'Warrior')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (5, 'Black Mage', 'blackmagem.gif', 6, 10, 10, 7, 4, 4, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (6, 'Black Smith', 'blacksmithm.gif', 8, 7, 8, 9, 4, 4, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (7, 'Calculator', 'calculatorm.gif', 7, 7, 8, 8, 5, 5, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (8, 'Captain', 'captainm.gif', 10, 6, 6, 10, 4, 4, 2, 'Warrior')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (9, 'Chemist', 'chemistm.gif', 7, 8, 8, 9, 5, 5, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (10, 'Dark Knight', 'darkknightm.gif', 9, 9, 6, 7, 4, 4, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (11, 'Dragoon', 'dragoonm.gif', 8, 8, 7, 7, 6, 6, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (12, 'Ex-Soldier', 'ex-soldierm.gif', 10, 6, 7, 9, 5, 5, 2, 'Warrior')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (13, 'Foot Soldier', 'footsoldierm.gif', 9, 7, 6, 10, 4, 4, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (14, 'Gambler', 'gamblerm.gif', 7, 8, 6, 9, 6, 6, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (15, 'Geomancer', 'geomancerm.gif', 7, 8, 9, 8, 4, 4, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (16, 'Holy Knight', 'holyknightm.gif', 9, 8, 7, 7, 5, 5, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (17, 'Knight', 'knightm.gif', 9, 6, 8, 9, 4, 4, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (18, 'Mediator', 'mediatorm.gif', 7, 8, 9, 8, 5, 5, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (19, 'Mercenary', 'mercenarym.gif', 9, 7, 7, 8, 5, 5, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (20, 'Monk', 'monkm.gif', 9, 7, 6, 8, 5, 5, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (21, 'Ninja', 'ninjam.gif', 9, 8, 7, 6, 5, 5, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (22, 'Samurai', 'samuraim.gif', 9, 7, 6, 8, 5, 5, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (23, 'Squire', 'squirem.gif', 8, 6, 7, 9, 5, 5, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (24, 'Thief', 'thiefm.gif', 8, 7, 6, 7, 6, 6, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (25, 'Time Mage', 'timemagem.gif', 6, 9, 8, 7, 6, 6, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (26, 'Vampire', 'vampirem.gif', 7, 6, 5, 6, 4, 4, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_classm VALUES (27, 'White Mage', 'whitemagem.gif', 5, 9, 9, 6, 3, 3, 1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_element VALUES (1, 'Unknown', 0, 0, 0, 0)";
$install[] = "INSERT INTO ibf_rpg_element VALUES (2, 'Dark', 30, 30, 50, 60)";
$install[] = "INSERT INTO ibf_rpg_element VALUES (3, 'Earth', 40, 30, 20, 35)";
$install[] = "INSERT INTO ibf_rpg_element VALUES (4, 'Fire', 35, 20, 40, 45)";
$install[] = "INSERT INTO ibf_rpg_element VALUES (5, 'Light', 60, 30, -2, 3)";
$install[] = "INSERT INTO ibf_rpg_element VALUES (6, 'Lightning', 45, 40, 30, 40)";
$install[] = "INSERT INTO ibf_rpg_element VALUES (7, 'Water', 55, 30, 4, 10)";
$install[] = "INSERT INTO ibf_rpg_element VALUES (8, 'Wind', 50, 20, 10, 25)";
$install[] = "INSERT INTO ibf_rpg_options (allow, display) VALUES('0','0')";
$install[] = "INSERT INTO ibf_rpg_race VALUES (1, 1, 'Unknown', 'Elves', 2, 5, 3, 4, 6, 7)";
$install[] = "INSERT INTO ibf_rpg_race VALUES (2, 2, 'Neutral', 'Human', 7, 6, 7, 6, 6, 0)";
$install[] = "INSERT INTO ibf_rpg_race VALUES (3, 3, 'Good', 'Knight', 10, 7, 5, 8, 10, 3)";
$install[] = "INSERT INTO ibf_rpg_race VALUES (4, 4, 'Evil', 'Dark Magic', 5, 10, 9, 3, 8, 8)";
$install[] = "INSERT INTO ibf_rpg_type VALUES (1, 'Generic')";
$install[] = "INSERT INTO ibf_rpg_type VALUES (2, 'Warrior')";
$install[] = "ALTER TABLE ibf_members \r\nADD rpgname\tvarchar(20) NOT NULL default '',\r\nADD rpgclass int(3) NOT NULL default '',\r\nADD rpgrace int(3) NOT NULL default '',\r\nADD alignment varchar(10) NOT NULL default '',\r\nADD rpgtype int(3) NOT NULL default '',\r\nADD rpggender int(3) NOT NULL default '',\r\nADD hp INT(6) NOT NULL default '200',\r\nADD maxhp INT(6) NOT NULL default '200',\r\nADD ma INT(6) NOT NULL default '50',\r\nADD maxma INT(6) NOT NULL default '50',\r\nADD pp INT(6) NOT NULL default '0',\r\nADD maxpp INT(6) NOT NULL default '0',\r\nADD ap INT(6) NOT NULL default '0',\r\nADD element INT(3) NOT NULL default '0',\r\nADD inbattle INT(6) NOT NULL default '0',\r\nADD money INT(100) NOT NULL default '200',\r\nADD type INT(3) NOT NULL default '0',\r\nADD level INT(4) NOT NULL default '0',\r\nADD icon varchar(20) NOT NULL default '',\r\nADD regatt int(4) NOT NULL default '',\r\nADD regdef int(4) NOT NULL default '',\r\nADD magicatt int(4) NOT NULL default '',\r\nADD magicdef int(4) NOT NULL default '',\r\nADD speed int(4) NOT NULL default '',\r\nADD evade int(4) NOT NULL default ''";
foreach ( $install as $this_query )
{
	$DB->query( $this_query );
}
$DB->query( "SELECT tid FROM ibf_topics" );
echo "下一步将升级附件信息。。。<br><br>";
while ( $out = $DB->fetch_row( ) )
{
	$topic[] = $out['tid'];
}
foreach ( $topic as $tid )
{
	$DB->query( "SELECT count(attach_id) as attachments FROM ibf_posts WHERE queued <> 1 AND topic_id='".$tid."' AND attach_id <> ''" );
	$attachments = $DB->fetch_row( );
	$DB->query( "UPDATE ibf_topics SET attached='".$attachments['attachments']."' WHERE tid='".$tid."'" );
	echo $tid." checked! ";
}
echo "<br><br>附加信息升级成功!<br><br>";
$DB->close_db( );
echo "论坛升级成功,请立即删除本文件!";
echo "\t\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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