123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <style type="text/css">
- *{ padding: 0; margin: 0; }
- body{ background: #fff; font-family: '微软雅黑'; color: #333; font-size: 16px; }
- .system-message{ width:500px; margin:auto;border:6px solid #999;text-align:center; position:relative;top:50px;}
- .system-message legend{font-size:24px;font-weight:bold;color:#999;margin:auto;width:100px;}
- .system-message h1{ font-size: 100px; font-weight: normal; line-height: 120px; margin-bottom: 12px; }
- .system-message .jump{ padding-right:10px;height:25px;line-height:25px;font-size:14px;position:absolute;bottom:0px;left:0px;background-color:#e6e6e1 ; display:block;width:490px;text-align:right;}
- .system-message .jump a{ color: #333;}
- .system-message .success,.system-message .error{ line-height: 1.8em; font-size: 15px;min-height:80px; }
- .system-message .detail{ font-size: 12px; line-height: 20px; margin-top: 12px; display:none}
- #href{color:gray;font-weight:bold;}
- .system-message{border:6px solid #619aff !important;}
- .system-message legend{color:#619aff !important;}
- .system-message legend{border-bottom: 1px solid #fff !important;}
- </style>
- <div class="content">
- <fieldset class="system-message">
- <legend style="margin-left:20px;">提示信息</legend>
- <div style="text-align:left;padding-left:10px;width:490px; ">
-
- <?php if($status):?>
- <p class="success">恭喜^_^!~<?php echo($message); ?></p>
- <?php else:?>
- <p class="error"><?php echo($error); ?></p>
- <?php endif;?>
- <p class="detail"> <?php echo($message); ?></p>
-
- </div>
- <p class="jump">
- 页面自动 <a title="点击跳转" id="href" href="<?php if($go>0){echo 'javascript::history.go(-2);';}else{echo $jumpUrl;}; ?>">跳转</a> 等待时间: <b id="wait"><?php echo($waitSecond); ?></b>。
- </p>
- </fieldset>
- </div>
- <script type="text/javascript">
-
- (function(){
- var wait = document.getElementById('wait'),href = document.getElementById('href').href;
- var go = <?php echo $go?>;
- totaltime=parseInt(wait.innerHTML);
- var interval = setInterval(function(){
- var time = --totaltime;
- wait.innerHTML=""+time;
- if(time === 0) {
- if(go==0)
- {
- location.href = href;
- }else{
- history.go(-2);
- }
- clearInterval(interval);
- };
- }, 1000);
- })();
- </script>
|