hxp
2025-06-09 6c3f6335c70859ded94a1ad8d218acb0ac34239c
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
include_once "/Common/CommFunc.php";
include_once "/Common/Logging.php";
include_once "/Account/User.php";
include_once "/language/lang.php";
 
\Logging\CreateLogging("CompensationQuery.php");
 
$Permission = \User\Permission::P_ServerMailMgr;
$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><?php echo \Lang\gettext("全服邮件管理"); ?></title>
    <link rel="stylesheet" type="text/css" href="/css/tableform.css">
    <link rel="gettext" type="application/x-po" href="../language/<?php echo \Lang\getLang(); ?>/LC_MESSAGES/<?php echo \Lang\getjspodomain(); ?>.po" />
</head>
 
<body>
 
    <form id="CompensationQuery" name="CompensationQuery" action="/Common/GMCmdProcess.php" method="post">
 
        <table id="tt" class="formTable">
            <caption><b><?php echo \Lang\gettext("全服邮件管理"); ?></b><br /></caption>
            <tr>
                <td class="formTableTDName"><?php echo \Lang\gettext("发送时间"); ?>: </td>
                <td class="formTableTDValue">
                    <input type="text" name="FromDate" id="FromDate" onclick="new Calendar().show(this);" readonly value="<?php echo date('Y-m-d') ?>" size="8" />
                    ~
                    <input type="text" name="ToDate" id="ToDate" onclick="new Calendar().show(this);" readonly value="<?php echo date('Y-m-d') ?>" size="8" />
                </td>
            </tr>
            <tr>
                <td class="formTableTDName"><?php echo \Lang\gettext("包含标题"); ?>: </td>
                <td class="formTableTDValue">
                    <input type="text" name="SearchTitle" id="SearchTitle" size="50" />
                </td>
            </tr>
            <tr>
                <td class="formTableTDName"><?php echo \Lang\gettext("包含内容"); ?>: </td>
                <td class="formTableTDValue">
                    <input type="text" name="SearchContent" id="SearchContent" size="50" />
                </td>
            </tr>
            <tr>
                <td class="formTableTDName"><?php echo \Lang\gettext("邮件GUID"); ?>: </td>
                <td class="formTableTDValue">
                    <input type="text" name="GUID" id="GUID" size="50" />
                </td>
            </tr>
            <tr>
                <td class="formTableTDName"><?php echo \Lang\gettext("审核状态"); ?>: </td>
                <td class="formTableTDValue">
                    <select name="SearchState" id="SearchState">
                        <option value="0"><?php echo \Lang\gettext("全部"); ?></option>
                        <option value="1"><?php echo \Lang\gettext("已通过"); ?></option>
                        <option value="2" selected><?php echo \Lang\gettext("未审核"); ?></option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="formTableTDName"></td>
                <td class="formTableTDValue">
                    ** <?php echo \Lang\gettext("最大返回条数20条"); ?> **
                    <input type="hidden" name="MaxCount" value="20" />
                </td>
            </tr>
            <?php
            if ($user->NeedCheckKey()) {
                echo "<tr><td class=\"formTableTDName\">";
                echo \Lang\gettext("授权码(key)");
                echo ": </td>";
                echo "<td class=\"formTableTDValue\">";
                echo "<input type=\"text\" name=\"key\" id=\"key\" />";
                echo "</td><tr>";
            } else {
                echo "<input type=\"hidden\" name=\"key\" id=\"key\" />";
            }
            ?>
            <tr>
                <td class="formTableTDName"></td>
                <td class="formTableTDValue">
                    <input type="hidden" name="Permission" value="<?php echo $Permission; ?>" />
                    <input type="hidden" name="pack_type" value="GMT_CompensationQuery" />
                    <input type="submit" name="submit" value="<?php echo \Lang\gettext("查询"); ?>" onclick="return CheckKey('key')" />
                </td>
            </tr>
        </table>
    </form>
    <script type='text/javascript' src='/language/gettext.js'></script>
    <script type='text/javascript' src="/js/calendar.js"></script>
    <script type='text/javascript' src="/js/common.js"></script>
</body>
 
</html>