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
72
73
74
75
76
77
78
79
80
81
82
83
<?php
include_once "/Account/User.php";
include_once "/Common/Logging.php";
include_once "/Common/CommFunc.php";
include_once "/language/lang.php";
 
\Logging\CreateLogging("magicWeaponExp.php");
$Permission = \User\Permission::P_MagicWeaponExp;
$spid = $_SESSION['spid'];
$user = new \User\User($_SESSION['UserAccount']);
if (!$user->HavePermission($Permission)) {
    exit;
}
 
?>
<!DOCTYPE html>
<html>
 
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>法宝灵魂</title>
</head>
 
<body>
 
    <form id="MagicWeaponExp" name="MagicWeaponExp" action="/Common/GMCmdProcess.php" method="post">
        <dl>
            <center>
                <dt><b>法宝灵魂</b></dt>
            </center>
 
            <dd class="def_dd">
                <label>查询方式:</label>
                <div>
                    <input type="radio" name="queryType" value="accID" checked />
                    <span>按账号</span>
                    <input type="radio" name="queryType" value="playerName" />
                    <span>按角色名</span>
                </div>
                <p class="clear"></p>
            </dd>
 
            <dd class="def_dd">
                <label></label>
                <input class="long_input" type="text" name="playerFind" value="" />
                <p class="clear"></p>
            </dd>
 
            <dd class="def_dd">
                <label>设置法宝ID:</label>
                <input class="long_input" type="text" name="mwID" value="" />
                <p class="clear"></p>
            </dd>
 
            <dd class="def_dd">
                <label>设置法魂值:</label>
                <input class="long_input" type="text" name="mwExp" value="" />(当玩家不足该值时会补给玩家对应差值)
                <p class="clear"></p>
            </dd>
 
            <?php
            if ($user->NeedCheckKey()) {
                echo "<dd class=\"def_dd\"><br />";
                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\" />";
            }
            ?>
            <input type="hidden" name="Permission" value="<?php echo $Permission; ?>" />
            <input type="hidden" name="pack_type" value="GMT_MagicWeaponExp" />
            <dd class="submit_dd">
                <input type="submit" name="submit" value="提交" onclick="return CheckKey('key')" />
            </dd>
        </dl>
    </form>
 
    <script type='text/javascript' src="/js/common.js"></script>
</body>
 
</html>