<?php
|
include_once "/db/DataMgr.php";
|
include_once "/language/lang.php";
|
include_once "/Common/CommFunc.php";
|
|
header("Content-type: text/html; charset=utf-8");
|
|
\CommFunc\SessionStart();
|
$spid = $_SESSION['spid'];
|
|
$moneyTypeArray = CommFunc\getCfgKeyNameContent("money", true, $spid);
|
|
$resultInfo = $_POST;
|
$playerInfo = $resultInfo["ResultMsg"];
|
|
$playerInfoKeyCh = array(
|
'AccID' => \Lang\gettext('帐号'),
|
'AccState' => \Lang\gettext('帐号状态'),
|
'PlayerID' => \Lang\gettext('玩家ID'),
|
'Name' => \Lang\gettext('玩家名'),
|
'FamilyName' => \Lang\gettext('仙盟名'),
|
'GMLV' => \Lang\gettext('GM管理员等级'),
|
'BTGMLV' => \Lang\gettext('BTGM等级'),
|
'Job' => \Lang\gettext('职业'),
|
'LV' => \Lang\gettext('等级'),
|
'OfficialRank' => \Lang\gettext('境界'),
|
'FightPower' => \Lang\gettext('战斗力'),
|
'VIPLV' => \Lang\gettext('VIP等级'),
|
'MapID' => \Lang\gettext('所在地图'),
|
'Gold' => $moneyTypeArray["1"],
|
'GoldPaper' => $moneyTypeArray["2"],
|
'Silver' => $moneyTypeArray["3"],
|
'SilverPaper' => $moneyTypeArray["4"],
|
'LogoffTime' => \Lang\gettext('离线时间'),
|
'LoginTime' => \Lang\gettext('登陆时间'),
|
'LoginIP' => \Lang\gettext('登录IP'),
|
'ClientVersion' => \Lang\gettext('客户端版本号'),
|
'Online' => \Lang\gettext('是否在线'),
|
);
|
|
//其他自定义货币
|
foreach (array("33", "34", "35", "41", "42", "99", "98") as $Currency) {
|
if (array_key_exists("PlayerCurrency_" . $Currency, $playerInfo)) {
|
$playerInfoKeyCh["PlayerCurrency_" . $Currency] = $moneyTypeArray[$Currency]?$moneyTypeArray[$Currency]:("货币".$Currency);
|
}
|
}
|
|
CommFunc\GetConfig("ServerInfo", "CoupontypeGroup", $CoupontypeGroup);
|
$CoupontypeGroup = json_decode($CoupontypeGroup, true);
|
if (isset($CoupontypeGroup)) {
|
$playerInfoKeyCh["AccountGroup"] = \Lang\gettext('分组');
|
$accountInfo = \CommFunc\GetAccountInfoByAccID($playerInfo["AccID"]);
|
$Coupontype = \DataMgr\GetCoupontypeGroup($accountInfo["Channel"], $accountInfo["AccountID"], $accountInfo["ServerID"]);
|
$playerInfo["AccountGroup"] = array_key_exists($Coupontype, $CoupontypeGroup) ? $CoupontypeGroup[$Coupontype] : "";
|
}
|
|
//echo $_POST[data];
|
?>
|
|
<br />
|
<hr />
|
<?php
|
echo "<table cellspacing='1' cellpadding='1' width='400' border='1'>";
|
foreach ($playerInfoKeyCh as $key => $value) {
|
echo "<tr>";
|
echo "<td align='left'>" . $value . "</td>";
|
echo "<td align='left'>" . $playerInfo[$key] . "</td>";
|
echo "</tr>";
|
}
|
echo "</table>";
|
?>
|