official_website/static/warn/close.php

47 lines
1.1 KiB
PHP

<?php
/**
* @Notes:
* @author: ZhangShaoLiang
* @Date: 2022/9/30 9:48
*/
$status_desc = $_COOKIE["status_desc"]??"网站已关闭";
$version = $_COOKIE['version'];
if(empty($version)){
$version = "未知版本";
}else{
$version = V."{$version}";
}
$html = <<<EOF
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$status_desc}</title>
<link rel="stylesheet" href="/static/css/foxui-1.32.min.css" />
<link rel="stylesheet" href="/static/css/warning.min.css" />
</head>
<body>
<div class="warning-container">
<div class="panel">
<div class="panel-header">
<h3>FoxCMS 系统提示信息</h3>
</div>
<div class="panel-main">
<h2>{$status_desc}</h2>
<ul>
<li>该站点已被网站管理员停止</li>
<li>您访问的网站已过服务期</li>
</ul>
</div>
<div class="panel-footer">
<p>Powered by FoxCMS {$version}</p>
</div>
</div>
</div>
</body>
</html>
EOF;
echo $html;