Files
人事系统开发 1ba6efd8ed MRBS 1.12.2 等保2.0二级整改完整提交
包含:登录失败锁定、90天密码有效期、30分钟会话超时、
强制改密、登录审计日志、屏幕水印、企业背景图、
备案信息固定底部、favicon、JS空集合保护、
会话过期体验优化(403 JSON)、display_errors 关闭、
固定 key 根治 Integrity check failed 等全部改动

注意:config.inc.php/.htaccess/.user.ini 含敏感信息,
通过 .gitignore 排除,勿推送到公开仓库。
2026-09-09 16:55:02 +08:00

48 lines
1.4 KiB
PHP

<?php
declare(strict_types=1);
namespace MRBS;
function print_theme_footer()
{
// 等保整改(2026-09-08):备案信息固定显示在页面底部
$beian_number = "蜀ICP备2023013112号-1";
$beian_url = "https://beian.miit.gov.cn/";
$gongan_icon = "/img/gongan.png";
$gongan_number = "川公网安备51050402000368号";
$gongan_url = "https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=51050402000368";
$copyright = "&#169; 2026 泸州龙涧假日酒店";
echo <<<HTML
<style>
.mrbs-footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(255,255,255,0.92);
border-top: 1px solid #e2e8f0;
text-align: center;
padding: 6px 12px;
font-size: 12px;
color: #64748b;
line-height: 1.6;
}
.mrbs-footer a { color: #64748b; text-decoration: none; }
.mrbs-footer a:hover { text-decoration: underline; }
.mrbs-footer img { border: none; vertical-align: middle; margin: 0 3px; width: 18px; height: 18px; }
</style>
<div class="mrbs-footer">
工信部备案号:<a href="{$beian_url}" target="_blank">{$beian_number}</a>
&nbsp;|&nbsp;
公安网安备案号:<img src="{$gongan_icon}" alt="公安备案图标"> <a href="{$gongan_url}" target="_blank">{$gongan_number}</a>
&nbsp;|&nbsp;
{$copyright}
</div>
HTML;
echo "</div>\n"; // closing the contents div, opened in print_theme_header()
echo "</body>\n";
echo "</html>\n";
}