📄 skin_itemshop.php
字号:
function items_personel_start( $money )
{
global $ibforums;
return "<table cellpadding=0 cellspacing='0' border='0' width='<{tbl_width}>' 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=\"9\">\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td align=\"left\"><font color=\"white\"><b>{$ibforums->member['name']}{$ibforums->lang['current_status']}</b></font></td>\r\n\t\t\t<td align=\"right\"><font color=\"white\"><b>{$ibforums->lang['cash']}{$money}</b></font></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 align=\"center\" width=\"5%\" class='titlemedium'><b>{$ibforums->lang['icon']}</b></td>\r\n\t\t<td align=\"center\" width=\"35%\" class='titlemedium'><b>{$ibforums->lang['name']}</b></td>\r\n\t\t<td align=\"center\" width=\"25%\" class='titlemedium'><b>{$ibforums->lang['description']}</b></td>\r\n\t\t<td align=\"center\" width=\"5%\" class='titlemedium'><b>{$ibforums->lang['cost']}</b></td>\r\n\t\t<td align=\"center\" width=\"5%\" class='titlemedium'><b>{$ibforums->lang['refund']}</b></td>\r\n\t</tr>";
}
function items_personel_row( $catstuff, $icon, $item, $sell, $desc, $cost, $refund )
{
global $ibforums;
return "\t<tr>\r\n\t\t<td align=\"center\" class='{$catstuff['CELL_COLOUR']}'><img src=\"html/rpg/itemshop/{$icon}.gif\" alt=\"\"></td>\r\n\t\t<td align=\"left\" class='{$catstuff['CELL_COLOUR']}'><b>{$item}</b>{$sell}</td>\r\n\t\t<td align=\"left\" class='{$catstuff['CELL_COLOUR']}'>{$desc}</td>\r\n\t\t<td align=\"center\" class='{$catstuff['CELL_COLOUR']}'><b>{$cost}</b></td>\r\n\t\t<td align=\"center\" class='{$catstuff['CELL_COLOUR']}'><b>{$refund}</b></td>\r\n\t</tr>";
}
function items_personel_end( $bankval, $totalbankval, $totalclients )
{
global $ibforums;
return "\t<tr>\r\n\t\t<td colspan=\"9\" class='titlemedium'>\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n\t\t<tr>\r\n\t\t<td align=\"left\"><font color=\"#3A4F6C\"><b>{$ibforums->lang['bank_deposit']}{$bankval}</b></font></td>\r\n\t\t<td align=\"right\"><font color=\"#3A4F6C\"><b>{$ibforums->lang['total_bank_property']}{$totalbankval}</b>|<b>{$ibforums->lang['total_bank_clients']}{$totalclients}</b></font></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<br>";
}
function item_shop_start( )
{
global $ibforums;
return "<table cellpadding=0 cellspacing='0' border='0' width='<{tbl_width}>' 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=\"9\">\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td align=\"left\"><font color=\"white\"><b>{$ibforums->vars['home_name']}{$ibforums->lang['shop']}</b></font></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 align=\"center\" width=\"33%\" class='titlemedium'><b>{$ibforums->lang['shop_name']}</b></td>\r\n\t\t<td align=\"center\" width=\"33%\" class='titlemedium'><b>{$ibforums->lang['shop_description']}</b></td>\r\n\t\t<td align=\"center\" width=\"33%\" class='titlemedium'><b>{$ibforums->lang['shop_stats']}</b></td>\r\n\t</tr>";
}
function item_shop_row( $shop, $shopname, $shopdesc, $shoporder, $shopprofit, $shopsold )
{
global $ibforums;
return "\t<tr>\r\n\t\t<td class='{$shop['CELL_COLOUR']}'><a href=\"{$ibforums->base_url}&act=itemshop&cat={$shoporder}\">{$shopname}</a></td>\r\n\t\t<td class='{$shop['CELL_COLOUR']}'>{$shopdesc}</td>\r\n\t\t<td class='{$shop['CELL_COLOUR']}'>{$ibforums->lang['profit']}<b>{$shopprofit}</b>|{$ibforums->lang['solditems']}<b>{$shopsold}</b></td>\r\n\t</tr>";
}
function item_shop_end( $totalshopprofit, $totalshopsold )
{
global $ibforums;
return "\t<tr>\r\n\t\t<td colspan=\"3\" class='titlemedium'>\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td align=\"left\"><font color=\"#3A4F6C\"><b>{$ibforums->lang['total_profit']}{$totalshopprofit}</b></font></td>\r\n\t\t\t<td align=\"right\"><font color=\"#3A4F6C\"><b>{$ibforums->lang['total_solditems']}{$totalshopsold}</b></font></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<br>";
}
function item_shop_pers_start( )
{
global $ibforums;
return "<table cellpadding=0 cellspacing='0' border='0' width='<{tbl_width}>' 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=\"9\">\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td align=\"left\"><font color=\"white\"><b>{$ibforums->lang['shop_personal']}</b></font></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 align=\"center\" width=\"50%\" class='titlemedium'><b>{$ibforums->lang['shop_name']}</b></td>\r\n\t\t<td align=\"center\" width=\"25%\" class='titlemedium'><b>{$ibforums->lang['shop_owner']}</b></td>\r\n\t\t<td align=\"center\" width=\"25%\" class='titlemedium'><b>{$ibforums->lang['shop_pers_stats']}</b></td>\r\n\t</tr>";
}
function item_shop_pers_row( $pers, $persname, $persdesc, $persorder, $shopowner, $persowner, $persprofit, $perssold )
{
global $ibforums;
return "\t<tr>\r\n\t\t<td class='{$pers['CELL_COLOUR']}'><a href=\"{$ibforums->base_url}&act=itemshop&cat={$persorder}\">{$persname}</a><br><b>{$ibforums->lang['shop_pers_description']}</b> {$persdesc}</td><td class='{$pers['CELL_COLOUR']}'><a href=\"{$ibforums->base_url}&act=Profile&MID={$persowner}\">{$shopowner}</a></td><td class='{$pers['CELL_COLOUR']}'>{$ibforums->lang['profit']}<b>{$persprofit}</b>|{$ibforums->lang['solditems']}<b>{$perssold}</b></td>\r\n\t</tr>";
}
function item_shop_pers_end( $totalpresprofit, $totalpressold )
{
global $ibforums;
return "\t<tr>\r\n\t\t<td colspan=\"3\" class='titlemedium'>\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td align=\"left\"><font color=\"#3A4F6C\"><b>{$ibforums->lang['total_profit']}{$totalpresprofit}</b></font></td>\r\n\t\t\t<td align=\"right\"><font color=\"#3A4F6C\"><b>{$ibforums->lang['total_solditems']}{$totalpressold}</b></font></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<br>";
}
function items_start( $get_name )
{
global $ibforums;
return "<table cellpadding=0 cellspacing='0' border='0' width='<{tbl_width}>' 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=\"9\"><b>{$ibforums->lang['available']}{$get_name['name']}</b></td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td align=\"center\" width=\"5%\" class='titlemedium'><b>{$ibforums->lang['icon']}</b></td>\r\n\t\t<td align=\"center\" width=\"35%\" class='titlemedium'><b>{$ibforums->lang['name']}</b></td>\r\n\t\t<td align=\"center\" width=\"25%\" class='titlemedium'><b>{$ibforums->lang['description']}</b></td>\r\n\t\t<td align=\"center\" width=\"5%\" class='titlemedium'><b>{$ibforums->lang['cost']}</b></td>\r\n\t\t<td align=\"center\" width=\"5%\" class='titlemedium'><b>{$ibforums->lang['buff']}</b></td>\r\n\t\t<td align=\"center\" width=\"5%\" class='titlemedium'><b>{$ibforums->lang['level']}</b></td>\r\n\t\t<td align=\"center\" width=\"5%\" class='titlemedium'><b>{$ibforums->lang['stock']}</b></td>\r\n\t\t<td align=\"center\" width=\"5%\" class='titlemedium'><b>{$ibforums->lang['sold']}</b></td>\r\n\t\t<td align=\"center\" width=\"5%\" class='titlemedium'><b>{$ibforums->lang['view']}</b></td>\r\n\t</tr>";
}
function items_row( $rpg, $purchase )
{
global $ibforums;
return "<tr>\r\n\t<td align=\"center\" class='{$rpg['CELL_COLOUR']}'><img src=\"html/rpg/itemshop/{$rpg['icon']}.gif\" alt=\"\"></td>\r\n\t<td align=\"left\" class='{$rpg['CELL_COLOUR']}'><b>{$rpg['name']}</b><br>{$purchase}</td>\r\n\t<td align=\"left\" class='{$rpg['CELL_COLOUR']}'>{$rpg['descr']}</td>\r\n\t<td align=\"center\" class='{$rpg['CELL_COLOUR']}'><b>{$rpg['cost']}</b></td>\r\n\t<td align=\"center\" class='{$rpg['CELL_COLOUR']}'><b>{$rpg['damage']}</b></td>\r\n\t<td align=\"center\" class='{$rpg['CELL_COLOUR']}'><b>{$rpg['levelreq']}</b></td>\r\n\t<td align=\"center\" class='{$rpg['CELL_COLOUR']}'><b>{$rpg['stock']}</b></td>\r\n\t<td align=\"center\" class='{$rpg['CELL_COLOUR']}'><b>{$rpg['sold']}</b></td>\r\n\t<td align=\"center\" class='{$rpg['CELL_COLOUR']}'><img src=\"html/rpg/itemshop/src.gif\" border=\"0\"></td>\r\n</tr>";
}
function items_end( $profit, $sold )
{
global $ibforums;
return "\t<tr>\r\n\t\t<td colspan=\"9\" class='titlemedium'>\r\n\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n\t\t<tr>\r\n\t\t\t<td align=\"left\"><font color=\"#3A4F6C\"><b>{$ibforums->lang['profit']}{$profit}</b></font></td>\r\n\t\t\t<td align=\"right\"><font color=\"#3A4F6C\"><b>{$ibforums->lang['solditems']}{$sold}</b></font></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<br>";
}
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -