1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/dameng100-Scoreshop

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
error.html 1.6 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
MS-20170320FEZQ\Administrator Отправлено 17.05.2018 14:25 78c6fb1
<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>

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/dameng100-Scoreshop.git
git@api.gitlife.ru:oschina-mirror/dameng100-Scoreshop.git
oschina-mirror
dameng100-Scoreshop
dameng100-Scoreshop
master