dispatch_jump.html
2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>系统提示-{$tpshop_config['shop_info_store_title']}</title>
<meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
<link rel="stylesheet" href="__STATIC__/css/base.css" type="text/css">
<link href="__STATIC__/css/tsinformation.css" rel="stylesheet" type="text/css">
</head>
<body>
<!--------头部开始-------------->
<include file="public/header" />
<!--中间内容-->
<div id="warpper" class="clearfix">
<?php if($code == 1) {?>
<!-- 处理成功 -->
<div class="box-ts">
<i><img src="__STATIC__/images/success_ts.png"></i>
<ul>
<li><h3><?php echo(strip_tags($msg)); ?><h3></li>
<li><a href="javascript:void(0);">页面自动 <a id="href" href="<?php echo($url); ?>">">跳转</a> 等待时间: <b id="wait"><?php echo($wait); ?></b></a></li>
<li>
<a href="/">首页</a> <a href="/index.php?m=Home&c=Cart&a=cart">购物车</a>
<a href="/index.php?m=Home&c=User&a=index">用户中心</a>
</li>
</ul>
</div>
<?php }else{?>
<!-- 处理失败 -->
<div class="box-ts">
<i><img src="__STATIC__/images/error_ts.png"></i>
<ul>
<li><h3><?php echo(strip_tags($msg)); ?></h3></li>
<li><a href="javascript:void(0);">页面自动 <a id="href" href="<?php echo($url); ?>">">跳转</a> 等待时间: <b id="wait"><?php echo($wait); ?></b></a></li>
<li>
<a href="/">首页</a> <a href="/index.php?m=Home&c=Cart&a=cart">购物车</a>
<a href="/index.php?m=Home&c=User&a=index">用户中心</a>
</li>
</ul>
</div>
<?php }?>
</div>
<!--中间内容 end-->
<!--------footer-开始-------------->
<include file="public/footer" />
<!--------footer-结束-------------->
<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>
</div>
</body>
</html>