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
<?php
include_once "/Account/User.php";
include_once "/language/lang.php";
 
$Permission = \User\Permission::P_BugReport;
 
$alertMsg = "";
$spid = $_SESSION['spid'];
$UserAccount = $_SESSION['UserAccount'];
$user = new \User\User($UserAccount);
if (!$user->HavePermission($Permission)) {
    exit;
}
 
?>
 
<html>
 
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title><?php echo \Lang\gettext("Bug反馈"); ?></title>
    <style>
        body {
            width: 100%;
            height: 100%;
            overflow: hidden;
            background: rgb(240, 240, 240);
        }
 
        .left {
            float: left;
            width: 100%;
            height: 95%;
        }
 
        .left iframe {
            float: left;
            width: 100%;
            height: 100%;
            border: 1px solid rgb(204, 204, 204);
        }
 
        .right {
            float: right;
            width: 0%;
            height: 95%;
        }
 
        .right iframe {
            float: left;
            width: 100%;
            height: 100%;
            border: 1px solid rgb(204, 204, 204);
        }
    </style>
</head>
 
<body>
    <div class="container">
        <div class="left">
            <iframe name="iframe_bugreport" src="BugReport.php"></iframe>
        </div>
        <div class="right">
            <iframe name="iframe_mail"></iframe>
        </div>
    </div>
 
    <script>
        function toggleWidth() {
            let leftWidth = document.querySelector('.left').style.width;
            if (leftWidth === "50%") {
                return
            }
            document.querySelector('.left').style.width = "50%";
            document.querySelector('.right').style.width = "50%";
        }
    </script>
</body>
 
</html>