<?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>
|