No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

60 líneas
2.8 KiB

  1. <html>
  2. <head>
  3. <title>{$msgname} 友情提示信息</title>
  4. <meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" />
  5. <base target = "_self" />
  6. <style>
  7. html, body, h2, div, p { margin: 0; padding: 0; list-style: none; border: none; font-size: 12px; }
  8. body { text-align: center; font-family: "Microsoft Yahei", Tahoma, Geeva, sans-serif; background: #E6E8F0; padding-bottom: 25px; font-size: 12px; outline: none; }
  9. a:link, a:visited, a:active { text-decoration: none; font-family: Tahoma, Geneva, sans-serif; }
  10. a:hover { text-decoration: underline; }
  11. .ts_div { width: 500px; overflow: hidden; position: absolute; top: 50%; left: 50%; margin-left: -250px; margin-top: -150px }
  12. .ts_borderline { border: 1px solid #E9E9E9; border-radius: 3px; }
  13. .ts_border { border: 7px solid #efefef; }
  14. .ts_b2 { background: #fff; border: 1px solid #E9E9E9; padding: 10px 20px 10px 20px; }
  15. .ts_div h2 { text-align: left; color: #666; border-bottom: 1px dotted #ccc; padding-bottom: 10px; font-size: 16px; }
  16. .ts_div p { line-height: 2; margin: 10px auto; font-size: 14px; text-align: left; padding: 10px 0 10px 45px; }
  17. .ts_div .success { background: url(/static/image/success.gif) no-repeat 0 center; }
  18. .ts_div .error { background: url(/static/image/error.gif) no-repeat 0 center; }
  19. .ts_tz { position: relative; top: 50%; left: 50%; margin-left: -250px; margin-top: 10px; text-align: right; width: 500px; color: #666; }
  20. .ts_tz a { color: #f30; }
  21. .ts_tz span { color: #ff0000; font-weight: bold; padding: 0 5px; }
  22. </style>
  23. </head>
  24. <body style = "background:#f7f7f7;">
  25. <div class = "ts_div">
  26. <div class = "ts_borderline">
  27. <div class = "ts_border">
  28. <div class = "ts_b2">
  29. <h2>{$msgname}{$msgtitle}提示</h2>
  30. <p class = "{$msgtype}">{$message}</p>
  31. </div>
  32. </div>
  33. </div>
  34. {if $waitsecond}
  35. <div class = "ts_tz"><span id = "second">{$waitsecond}</span>秒后自动跳转,如果浏览器没有自动跳转,请 <a href = "javascript:redirect()" id = "jumourl">点击这里</a></div>
  36. <script type = "text/javascript">
  37. var time = parseInt("{$waitsecond}");
  38. function redirect() {
  39. var url = "{$jumpurl}";
  40. if (url == '#back#') {
  41. history.back(-1);
  42. } else if (url == '#close#') {
  43. window.close();
  44. } else {
  45. location.href = url;
  46. }
  47. }
  48. function change() {
  49. document.getElementById('second').innerHTML = --time;
  50. if (time == 0) {
  51. clearInterval(t);
  52. redirect();
  53. }
  54. }
  55. t = setInterval('change()', 1000);
  56. </script>
  57. {/if}
  58. </div>
  59. </body>
  60. </html>