404.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>404 页面丢失了</title>
  6. <link rel="stylesheet" href="/static/public/layui/css/layui.css">
  7. <!-- View Responsive -->
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10. </head>
  11. <body>
  12. <div class="error">
  13. <p class="error-text error-text-f">404</p>
  14. <p class="error-text error-text-s">非常抱歉,您所问的页面不存在</p>
  15. <div style="text-align:center;padding-top: 10px;"><a href="/" class="layui-btn layui-btn-danger">返回首页</a></div>
  16. </div>
  17. <style>
  18. .error-text {
  19. text-align: center;
  20. }
  21. .error-text-f {
  22. font-size: 200px;
  23. margin: 0;
  24. }
  25. .error-text-s {
  26. font-size: 30px;
  27. }
  28. body {
  29. color: #666666;
  30. }
  31. </style>
  32. <script>
  33. //{php}think\Log::log('404');{/php}
  34. //{php}if(input('server.HTTP_REFERER'))think\Log::log('referer='.input('server.HTTP_REFERER'));{/php}
  35. if (top != self) {
  36. top.gologin();
  37. }
  38. </script>
  39. </body>
  40. </html>