hxp
2025-06-04 f4a514d5ac952110da846636ecbb9de951eaf3d2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?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>";
?>