42 Star 123 Fork 21

火木科技 / Scoreshop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
error.html 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
<extend name="Base/common"/>
<block name="body">
<style>
.font{
font-size: 25px;;
}
</style>
<?php
$img_id = modC('JUMP_BACKGROUND','','config');
if($img_id){
$background =get_cover($img_id,'path');
}else{
$background = '__PUBLIC__/images/jump_background.jpg';
}
?>
<div class="" style="padding:300px 100px 0 100px;height: 650px; background: url(<?php echo($background); ?>)">
<div class="text-center " style="margin: 0 auto; ">
<?php if(isset($success_message)) {?>
<div class="alert alert-success with-icon">
<i class="icon-ok-sign"></i>
<div class="content">
<p class="font"><?php echo($success_message); ?></p>
</div>
</div>
<?php }else{?>
<div class="alert alert-danger with-icon">
<i class="icon-remove-sign"></i>
<div class="content">
<p class="font"> <?php echo($error_message); ?></p>
</div>
</div>
<?php }?>
<p class="jump">
页面自动 <a id="href" style="color: green" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间: <b id="wait"><?php echo($waitSecond); ?></b>
<a href="http://{$_SERVER['HTTP_HOST']}__ROOT__" style="color: green">返回首页</a>
</p>
</div>
</div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
var time = --wait.innerHTML;
if(time <= 0) {
location.href = href;
clearInterval(interval);
};
}, 1000);
})();
</script>
</block>
PHP
1
https://gitee.com/dameng100/Scoreshop.git
git@gitee.com:dameng100/Scoreshop.git
dameng100
Scoreshop
Scoreshop
master

搜索帮助