<?php
|
include_once "/Account/User.php";
|
include_once "/Common/CommFunc.php";
|
include_once "/language/lang.php";
|
include_once "/Common/Logging.php";
|
|
\Logging\CreateLogging("queryPlayerInfo.php");
|
|
$Permission = \User\Permission::P_GetPlayerInfo;
|
$spid = $_SESSION['spid'];
|
$user = new \User\User($_SESSION['UserAccount']);
|
if (!$user->HavePermission($Permission)) {
|
exit;
|
}
|
|
$packTypeCh = CommFunc\getCfgKeyNameContent("packType", true);
|
|
?>
|
|
<!DOCTYPE html>
|
<html>
|
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<title><?php echo \Lang\gettext("查询玩家信息"); ?></title>
|
<link rel="gettext" type="application/x-po" href="../language/<?php echo \Lang\getLang(); ?>/LC_MESSAGES/<?php echo \Lang\getjspodomain(); ?>.po" />
|
</head>
|
|
<body>
|
|
<form id="QueryPlayerInfo" name="QueryPlayerInfo" action="/Common/GMCmdProcess.php" method="post">
|
<dl>
|
<dt><?php echo \Lang\gettext("查询玩家信息"); ?></dt>
|
<dd class="def_dd">
|
<div>
|
<?php echo \Lang\gettext("目标玩家"); ?>:
|
<input type="radio" id="queryType" name="queryType" value="accID" /><?php echo \Lang\gettext("按账号"); ?>
|
<input type="radio" id="queryType" name="queryType" value="playerName" checked /><?php echo \Lang\gettext("角色名"); ?>
|
<br />
|
<input type="text" id="playerFind" name="playerFind" value="" />
|
</div>
|
<p class="clear"></p>
|
</dd>
|
|
<dd class="def_dd">
|
<label><?php echo \Lang\gettext("分类查询"); ?>:</label>
|
<div>
|
<input type="hidden" name="Permission" value="<?php echo $Permission; ?>" />
|
<select name='pack_type' id='pack_type'>
|
<option value="GMT_GetPlayerInfo"><?php echo \Lang\gettext("基本信息"); ?></option>
|
<option value="GMT_PlayerItemInfo"><?php echo \Lang\gettext("物品信息"); ?></option>
|
</select>
|
</div>
|
<p class="clear"></p>
|
</dd>
|
|
<dd class="def_dd">
|
<label><?php echo \Lang\gettext("查询的背包类型(仅选择查询物品信息时有效)"); ?>:</label>
|
<div>
|
<select name='packIndex' id='packIndex'>
|
<?php
|
foreach ($packTypeCh as $key => $value) {
|
if ($key == 255) {
|
// 符印背包不提供查询
|
continue;
|
}
|
echo "<option value='" . $key . "'>" . $value . "(" . $key . ")</option>";
|
}
|
?>
|
</select>
|
</div>
|
<p class="clear"></p>
|
</dd>
|
|
<?php
|
if ($user->NeedCheckKey()) {
|
echo "<dd class=\"def_dd\">";
|
echo \Lang\gettext("授权码(key)") . ":";
|
echo "<input type=\"text\" name=\"key\" id=\"key\" />";
|
echo "<p class=\"clear\"></p>";
|
echo "</dd>";
|
} else {
|
echo "<input type=\"hidden\" name=\"key\" id=\"key\" />";
|
}
|
?>
|
|
<dd class="submit_dd">
|
<input type="submit" name="submit" value="<?php echo \Lang\gettext("提交"); ?>" onclick="return CheckKey('key')" />
|
</dd>
|
</dl>
|
</form>
|
|
<script type='text/javascript' src='/language/gettext.js'></script>
|
<script type='text/javascript' src="/js/common.js"></script>
|
</body>
|
|
</html>
|