成功失败跳转模板代码
多么简结的模板,喜欢就拿走
作者: 小曾 扣扣:839024615
<?php <br />
if(C('LAYOUT_ON')) {<br>
echo '{__NOLAYOUT__}';<br>
}<br>
?><br>
nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br>
<br>
<br>
<meta>
<br>
<title>跳转提示</title>
<br>
<style><br />
* {<br />
padding: 0;<br />
margin: 0;<br />
}<br />
body {<br />
background: #fff;<br />
font-family: '微软雅黑';<br />
color: #333;<br />
font-size: 16px;<br />
}<br />
.system-message {<br />
position:absolute;<br />
top:50%;<br />
left:50%;<br />
margin:-150px 0 0 -150px;<br />
width:300px;<br />
height:300px;<br />
text-align:center;<br />
}<br />
<br />
.system-message h1 {<br />
font-size: 120px;<br />
font-weight: normal;<br />
}<br />
.system-message .jump {<br />
padding-top: 10px<br />
}<br />
.system-message .jump a {<br />
color: #09C;<br />
text-decoration:none<br />
}<br />
.system-message .success, .system-message .error {<br />
line-height: 1.8em;<br />
font-size: 36px<br />
}<br />
.system-message .detail {<br />
font-size: 12px;<br />
line-height: 20px;<br />
margin-top: 12px;<br />
display:none<br />
}<br />
</style>
<br>
<br>
<br>
<div>
<br>
<?php if(isset($message)) {?><br>
<h1>√</h1>
<br>
<p><?php echo($message); ?></p>
<br>
<style><br />
.system-message{border:3px solid #09C;}<br />
.system-message h1{ color: #09C;}<br />
</style>
<br>
<?php }else{?><br>
<h1>×</h1>
<br>
<p><?php echo($error); ?></p>
<br>
<style><br />
.system-message{border:3px solid #F33;}<br />
.system-message h1{ color: #F33;}<br />
</style>
<br>
<?php }?><br>
<p></p>
<br>
<p> 页面自动 <a>">跳转</a> 等待时间: <b><?php echo($waitSecond); ?></b> </p>
<br>
</div>
<br>
<script><br />
(function(){<br />
var wait = document.getElementById('wait'),href = document.getElementById('href').href;<br />
var interval = setInterval(function(){<br />
var time = --wait.innerHTML;<br />
if(time <= 0) {<br />
location.href = href;<br />
clearInterval(interval);<br />
};<br />
}, 1000);<br />
})();<br />
</script><br>
<br>
AD:真正免费,域名+虚机+企业邮箱=0元