25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

64 lines
3.3 KiB

  1. <?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:85:"/usr/share/nginx/vietnam/shop/public/../application/common/view/tpl/dispatch_jump.tpl";i:1618727430;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title><?php echo __('Warning'); ?></title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <link rel="shortcut icon" href="/assets/img/favicon.ico" />
  9. <style type="text/css">
  10. *{box-sizing:border-box;margin:0;padding:0;font-family:Lantinghei SC,Open Sans,Arial,Hiragino Sans GB,Microsoft YaHei,"微软雅黑",STHeiti,WenQuanYi Micro Hei,SimSun,sans-serif;-webkit-font-smoothing:antialiased}
  11. body{padding:70px 0;background:#edf1f4;font-weight:400;font-size:1pc;-webkit-text-size-adjust:none;color:#333}
  12. a{outline:0;color:#3498db;text-decoration:none;cursor:pointer}
  13. .system-message{margin:20px 5%;padding:40px 20px;background:#fff;box-shadow:1px 1px 1px hsla(0,0%,39%,.1);text-align:center}
  14. .system-message h1{margin:0;margin-bottom:9pt;color:#444;font-weight:400;font-size:40px}
  15. .system-message .jump,.system-message .image{margin:20px 0;padding:0;padding:10px 0;font-weight:400}
  16. .system-message .jump{font-size:14px}
  17. .system-message .jump a{color:#333}
  18. .system-message p{font-size:9pt;line-height:20px}
  19. .system-message .btn{display:inline-block;margin-right:10px;width:138px;height:2pc;border:1px solid #44a0e8;border-radius:30px;color:#44a0e8;text-align:center;font-size:1pc;line-height:2pc;margin-bottom:5px;}
  20. .success .btn{border-color:#69bf4e;color:#69bf4e}
  21. .error .btn{border-color:#ff8992;color:#ff8992}
  22. .info .btn{border-color:#3498db;color:#3498db}
  23. .copyright p{width:100%;color:#919191;text-align:center;font-size:10px}
  24. .system-message .btn-grey{border-color:#bbb;color:#bbb}
  25. .clearfix:after{clear:both;display:block;visibility:hidden;height:0;content:"."}
  26. @media (max-width:768px){body {padding:20px 0;}}
  27. @media (max-width:480px){.system-message h1{font-size:30px;}}
  28. </style>
  29. </head>
  30. <body>
  31. <?php $codeText=$code == 1 ? 'success' : ($code == 0 ? 'error' : 'info'); ?>
  32. <div class="system-message <?php echo $codeText; ?>">
  33. <div class="image">
  34. <img src="/assets/img/<?php echo $codeText; ?>.svg" alt="" width="150" />
  35. </div>
  36. <h1><?php echo $msg; ?></h1>
  37. <?php if($url): ?>
  38. <p class="jump">
  39. <?php echo __('This page will be re-directed in %s seconds', '<span id="wait">' . $wait . '</span>'); ?>
  40. </p>
  41. <?php endif; ?>
  42. <p class="clearfix">
  43. <a href="/" class="btn btn-grey"><?php echo __('Go back'); ?></a>
  44. <?php if($url): ?>
  45. <a href="<?php echo $url; ?>" class="btn btn-primary"><?php echo __('Jump now'); ?></a>
  46. <?php endif; ?>
  47. </p>
  48. </div>
  49. <?php if($url): ?>
  50. <script type="text/javascript">
  51. (function () {
  52. var wait = document.getElementById('wait');
  53. var interval = setInterval(function () {
  54. var time = --wait.innerHTML;
  55. if (time <= 0) {
  56. location.href = history.length <= 1 ? "/" : "<?php echo $url; ?>";
  57. clearInterval(interval);
  58. }
  59. }, 1000);
  60. })();
  61. </script>
  62. <?php endif; ?>
  63. </body>
  64. </html>