68 lines
1.9 KiB
HTML
68 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>提示</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
html {
|
|
color: #888;
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
text-align: center;
|
|
}
|
|
body {
|
|
left: 50%;
|
|
margin: -43px 0 0 -150px;
|
|
position: absolute;
|
|
top: 20%;
|
|
width: 300px;
|
|
}
|
|
h1 {
|
|
color: #555;
|
|
font-size: 2em;
|
|
font-weight: 400;
|
|
}
|
|
img {
|
|
width: 100%;
|
|
}
|
|
p {
|
|
line-height: 1.2;
|
|
}
|
|
@media only screen and (max-width: 270px) {
|
|
body {
|
|
margin: 10px auto;
|
|
position: static;
|
|
width: 95%;
|
|
}
|
|
h1 {
|
|
font-size: 1.5em;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<img src="/static/fanfic_13.png" alt="">
|
|
<p><?php echo(strip_tags($msg));?></p>
|
|
<p class="jump">
|
|
<b id="wait"><?php echo($wait);?></b>秒后跳转
|
|
</p>
|
|
</body>
|
|
<script type="text/javascript">
|
|
(function(){
|
|
var wait = document.getElementById('wait'),
|
|
href = "<?php echo($url);?>";
|
|
var interval = setInterval(function(){
|
|
var time = --wait.innerHTML;
|
|
if(time <= 0) {
|
|
location.href = href;
|
|
clearInterval(interval);
|
|
};
|
|
}, 1000);
|
|
})();
|
|
</script>
|
|
</html>
|
|
<!-- IE requires 512+ bytes: http://www.404-error-page.com/404-error-page-too-short-problem-microsoft-ie.shtml --> |