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

📄 skin_rpg.php

📁 极限网络智能办公系统—MYOA26—100%—源程序。
💻 PHP
字号:
<?php

class skin_rpg
{

	function scanplayer_js( )
	{
		global $ibforums;
		return "<script language='javascript'>\r\n<!--\r\n//function redirect_to(where, closewin)\r\n//{\r\n//\topener.location= '{$ibforums->base_url}' + where;\r\n//\tif (closewin == 1)\r\n//\t{\r\n//\t\tself.close();\r\n// \t}\r\n//}\r\n//function check_form(helpform)\r\n//{\r\n//\topener.name = \"ibfmain\";\r\n//\tif (helpform == 1) {\r\n//\t\tdocument.theForm2.target = 'ibfmain';\r\n//\t} else {\r\n//\t\tdocument.theForm.target = 'ibfmain';\r\n//\t}\r\n//\treturn true;\r\n//}\r\n//function shrink()\r\n//{\r\n//\twindow.resizeTo('200','75');\r\n//}\r\n//function expand()\r\n//{\r\n//\twindow.resizeTo('200','450');\r\n//}\r\n//-->\r\n</script>";
	}

	function scanplayer( $rpg )
	{
		global $ibforums;
		return "<table cellpadding=0 cellspacing='0' border='0' width='100%' bgcolor='<{tbl_border}>' align='center'>\r\n<tr>\r\n\t<td>\r\n\t<table cellpadding='4' cellspacing='1' border='0' width='100%'>\r\n\t<tr>\r\n\t\t<td class='maintitle' colspan=\"2\"><b>{$ibforums->lang['rpg_scanplayer']}:{$rpg['rpgname']}</b></font></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='titlemedium' align=\"center\" colspan=\"2\"><b>{$ibforums->lang['rpg_statistics']}</b></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='row1' colspan=\"2\">\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td width=\"50%\" align=\"center\">{$rpg['rpgjob']}</td>\r\n\t\t\t<td>\r\n\t\t\t<table>\r\n\t\t\t<tr>\r\n\t\t\t<td class='row1'>{$ibforums->lang['rpg_rpgname']}<strong>{$rpg['rpgname']}</strong></td>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t<td class='row1'>{$ibforums->lang['rpg_rpgclass']}<strong>{$rpg['rpgclass']}</strong></td>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t<td class='row1'>{$ibforums->lang['rpg_rpggender']}<strong>{$rpg['rpggender']}</strong></td>\r\n\t\t\t</tr>\r\n\t\t\t</table>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='row2' colspan=\"2\">\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td class='row1'>{$ibforums->lang['rpg_rpgrace']}<strong>{$rpg['rpgrace']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td class='row1'>{$ibforums->lang['rpg_rpgalignment']}<strong>{$rpg['rpgalignment']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td class='row1'>{$ibforums->lang['rpg_rpgtype']}<strong>{$rpg['rpgtype']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td class='row1'>{$ibforums->lang['rpg_rpglevel']}<strong>{$rpg['rpglevel']}</strong></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n<!--\r\n\t<tr>\r\n\t\t<td class='row1' colspan=\"2\">\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td width=\"30%\">{$ibforums->lang['rpg_rpghealth']}</td>\r\n\t\t\t<td width=\"70%\"><strong>{$rpg['rpghp']}</strong> / <strong>{$rpg['rpgmaxhp']}</strong></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t<table width='100%' border='1' cellspacing='0' cellpadding='0' bordercolor='#000000'>\r\n\t\t<tr> \r\n\t\t\t<td ><img src='html/rpg/bar/bhg.gif' width='{$rpg['rpghpimg']}%' height='4'></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td width=\"30%\">{$ibforums->lang['rpg_rpgmagic']}</td>\r\n\t\t\t<td width=\"70%\"><strong>{$rpg['rpgma']}</strong> / <strong>{$rpg['rpgmaxma']}</strong></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t<table width='100%' border='1' cellspacing='0' cellpadding='0' bordercolor='#000000'>\r\n\t\t<tr> \r\n\t\t\t<td><img src='html/rpg/bar/bmg.gif' width='{$rpg['rpgmaimg']}%' height='4'></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td width=\"30%\">{$ibforums->lang['rpg_rpgpower']}</td>\r\n\t\t\t<td width=\"70%\"><strong>{$rpg['rpgpp']}</strong> / <strong>{$rpg['rpgmaxpp']}</strong></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t<table width='100%' border='1' cellspacing='0' cellpadding='0' bordercolor='#000000'>\r\n\t\t<tr> \r\n\t\t\t<td><img src='html/rpg/bar/bxg.gif' width='{$rpg['rpgppimg']}%' height='4'></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n//-->\r\n\t<tr>\r\n\t\t<td class='titlemedium' width='50%' align='center'><strong>{$ibforums->lang['rpg_physical']}</strong></td>\r\n\t\t<td class='titlemedium' width='50%' align='center'><strong>{$ibforums->lang['rpg_magic']}</strong></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='row1'>\r\n\t\t<table>\r\n\t\t<tr>\r\n\t\t<td class='row1'>{$ibforums->lang['rpg_attack']}<strong>{$rpg['regatt']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td class='row1'>{$ibforums->lang['rpg_defense']}<strong>{$rpg['regdef']}</strong></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t</td>\r\n\t\t<td class='row1'>\r\n\t\t<table>\r\n\t\t<tr>\r\n\t\t<td class='row1'>{$ibforums->lang['rpg_attack']}<strong>{$rpg['magicatt']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td class='row1'>{$ibforums->lang['rpg_defense']}<strong>{$rpg['magicdef']}</strong></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='titlemedium' width='50%' align='center'><strong>{$ibforums->lang['rpg_speed']}</strong></td>\r\n\t\t<td class='titlemedium' width='50%' align='center'><strong>{$ibforums->lang['rpg_evade']}</strong></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='row1'>{$ibforums->lang['rpg_point']}<strong>{$rpg['speed']}</strong></td>\r\n\t\t<td class='row1'>{$ibforums->lang['rpg_point']}<strong>{$rpg['evade']}</strong></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='titlemedium' width='50%' align='center' colspan=\"2\"><strong>{$ibforums->lang['rpg_battlestats']}</strong></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='row1' colspan=\"2\">\r\n\t\t<table>\r\n\t\t<tr>\r\n\t\t\t<td>{$ibforums->lang['rpg_totalbattles']}</td>\r\n\t\t\t<td><strong>{$rpg['totalbattles']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>{$ibforums->lang['rpg_win']}</td>\r\n\t\t\t<td><strong>{$rpg['win']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>{$ibforums->lang['rpg_lose']}</td>\r\n\t\t\t<td><strong>{$rpg['lose']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>{$ibforums->lang['rpg_draw']}</td>\r\n\t\t\t<td><strong>{$rpg['draw']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>{$ibforums->lang['rpg_retreat']}</td>\r\n\t\t\t<td><strong>{$rpg['retreat']}</strong></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='titlemedium' width='50%' align='center' colspan=\"2\"><strong>{$ibforums->lang['rpg_inventory']}</strong></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='row1' colspan=\"2\">\r\n\t\t<table>\r\n\t\t<tr>\r\n\t\t\t<td>{$ibforums->lang['rpg_weapon']}</td>\r\n\t\t\t<td><strong>{$rpg['weapon']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>{$ibforums->lang['rpg_armory']}</td>\r\n\t\t\t<td><strong>{$rpg['armory']}</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>{$ibforums->lang['rpg_item']}</td>\r\n\t\t\t<td><strong>{$rpg['item']}</strong></td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t\t</td>\r\n\t</tr>\r\n\t</table>\r\n\t</td>\r\n</tr>\r\n</table>\r\n<p>\r\n<!--CLOSE.LINK-->";
	}

	function scanplayer_error( $get_member )
	{
		global $ibforums;
		return "<table cellpadding=0 cellspacing='0' border='0' width='100%' bgcolor='<{tbl_border}>' align='center'>\r\n<tr>\r\n\t<td>\r\n\t<table cellpadding='4' cellspacing='1' border='0' width='100%'>\r\n\t<tr>\r\n\t\t<td class='maintitle' colspan=\"2\"><b>{$ibforums->lang['rpg_scanplayer_error']}</b></font></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class='row1'>{$get_member['name']}{$ibforums->lang['rpg_scanplayer_error_msg']}</td>\r\n\t</tr>\r\n\t</table>\r\n\t</td>\r\n</tr>\r\n</table>\r\n<br>\r\n<table cellpadding='4' cellspacing='0' border='0' width='100%' align='center'>\r\n<tr>\r\n\t<td valign='middle' align='center'>[ <a href=\"javascript:window.location=window.location;\"><strong>{$ibforums->lang['rpg_refresh']}</strong></a> ]|[ <a href='javascript:self.close();'><strong>{$ibforums->lang['rpg_close']}</strong></a> ]</td>\r\n</tr>\r\n</table>";
	}

	function closelink( )
	{
		global $ibforums;
		return "<table cellpadding='4' cellspacing='0' border='0' width='100%' align='center'>\r\n<tr>\r\n\t<td valign='middle' align='center'>[ <a href=\"javascript:window.location=window.location;\"><strong>{$ibforums->lang['rpg_refresh']}</strong></a> ]|[ <a href='javascript:self.close();'><strong>{$ibforums->lang['rpg_close']}</strong></a> ]</td>\r\n</tr>\r\n</table>";
	}

}

?>

⌨️ 快捷键说明

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