Files
littleTiger/application/admin/view/public/dispatch_jump.html

85 lines
3.6 KiB
HTML
Raw Normal View History

2019-02-28 19:48:21 +08:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>操作提示</title>
</head>
<style>
*{margin: 0 auto;padding: 0;}
.tranjump{background: url(__PUBLIC__/images/tac.jpg) no-repeat;width: 100%;height: 100%;}
.rectangle_box{position: absolute;left: 50%;right: 50%;top: 50%;bottom: 50%;margin-left: -189.5px;margin-top: -77px;}
.borderopely{width: 363px;height: 138px;border: 8px solid rgba(255,255,255,0.6);}
.tipbox{width: 363px;height: 138px;background: white;text-align: center;}
.welcople{color: #666666;font-size: 16px;padding-top: 18px;}
.welcople .litps{background: url(__PUBLIC__/images/socp.png) no-repeat;width: 31px;height: 31px;display: inline-block;vertical-align: text-bottom;}
.welcople .modifysu{background: url(__PUBLIC__/images/socp2.png) no-repeat;width: 34px;height: 37px;}
.welcople .modifyfail{background: url(__PUBLIC__/images/socp3.png) no-repeat;width: 24px;height: 28px;}
.ma-to-30{margin-top: 30px;}
.ma-to-20{margin-top: 20px;}
.ma-to-10{margin-top: 10px;}
.cloblu{color: #3c8dbc;font-size: 16px;}
.waittim{color: #666666;font-size: 16px;margin-left: 10px;}
.ht-colblue{color: #3c8dbc;}
a{text-decoration: none;}
.waittim em{color: #3c8dbc;}
em{font-style: normal;}
.recigle{width: 379px;text-align: center;margin-top: 10px;}
.recigle p{color: #333333;font-size: 16px;line-height: 20px;}
.recigle .copyright{color: #3c8dbc;}
</style>
<body class="tranjump">
<div class="rectangle_box">
<div class="borderopely">
<?php if($code == 1) {?>
<!--修改成功-s-->
<div class="tipbox" style="">
<div class="welcople">
<i class="litps modifysu"></i><?php echo(strip_tags($msg)); ?>
</div>
<div class="ma-to-20">
<span class="cloblu">页面自动跳转中...</span>
<span class="waittim"><a id="href" href="<?php echo($url); ?>" style="color: #666666">等待时间:<em id="wait"><?php echo($wait); ?></em></a></span>
</div>
<div class="ma-to-10">
<a href="/" target="_parent" class="cloblu">网站前台</a>
<a href="/index.php?m=Admin&c=Index&a=index" target="_parent" class="waittim ht-colblue">管理员后台</a>
</div>
</div>
<!--修改成功-e-->
<?php }else{?>
<!--修改失败-s-->
<div class="tipbox" style="">
<div class="welcople">
<i class="litps modifyfail"></i><?php echo(strip_tags($msg)); ?>
</div>
<div class="ma-to-20">
<span class="cloblu">页面自动跳转中...</span>
<span class="waittim"><a id="href" href="<?php echo($url); ?>" style="color: #666666">等待时间:<em id="wait"><?php echo($wait); ?></em></a></span>
</div>
<div class="ma-to-10">
<a href="/" target="_parent" class="cloblu">网站前台</a>
<a href="/index.php?m=Admin&c=Index&a=index" target="_parent" class="waittim ht-colblue">管理员后台</a>
</div>
</div>
<!--修改失败-e-->
<?php }?>
</div>
<div class="recigle">
<p>Copyright©2014-2017<em class="copyright"><a class="copyright" href="http://www.tpshop.cn/">{$tpshop_config.shop_info_store_name|default='TPshop商城'} v2.0.0</a></em></p>
<p><em class="copyright"><a class="copyright" href="http://www.tpshop.cn/">{$tpshop_config.shop_info_store_name|default='TPshop商城'}</a></em>出品</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>
</body>
</html>