error.php 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?php
  2. namespace app\error;
  3. class error
  4. {
  5. function message($ERROR_MESSAGE = '', $BACK_HOME = '')
  6. {
  7. ?>
  8. <!DOCTYPE html>
  9. <!--[if IE 8]>
  10. <html lang="" class="ie8"><![endif]-->
  11. <!--[if IE 9]>
  12. <html lang="" class="ie9"><![endif]-->
  13. <!--[if !IE]><!-->
  14. <html lang="">
  15. <!--<![endif]-->
  16. <head>
  17. <title>哎呦,遇到错误了</title>
  18. <meta charset="utf-8"/>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  20. <meta name="keywords" content="apk,android,ipa,ios,iphone,ipad,app封装,应用分发,企业签名">
  21. <meta name="description" content="<?php echo IN_NAME ?>为各行业提供ios企业签名、app封装、应用分发托管服务!">
  22. <meta name="author" content="<?php echo $_SERVER['HTTP_HOST'] ?>">
  23. <meta name="apple-mobile-web-app-capable" content="yes">
  24. <meta name="apple-mobile-web-app-title" content="">
  25. <meta name="baidu-site-verification" content="ukBKOPYfE2"/>
  26. <meta name="baidu-site-verification" content="xSBa81fLpH"/>
  27. <meta name="author" content="<?php echo $_SERVER['HTTP_HOST'] ?>">
  28. <meta property="og:type" content="webpage">
  29. <meta property="og:title" content="<?php echo $_SERVER['HTTP_HOST'] ?>">
  30. <meta property="og:image" content="<?php echo $_SERVER['HTTP_HOST'] ?>/img/logo.png">
  31. <meta property="og:description" content="<?php echo IN_NAME ?>为开发者提供简洁迅速的内测程序服务">
  32. <meta name="apple-mobile-web-app-capable" content="yes">
  33. <meta name="apple-mobile-web-app-title" content="flper">
  34. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  35. <meta name="viewport"
  36. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no minimal-ui">
  37. <link rel="stylesheet" href="/static/pack/bootstrap-3.3.7-dist/css/bootstrap.min.css"/>
  38. <link rel="stylesheet" href="/static/index/css/style.css"/>
  39. <style>
  40. body {
  41. background-color: #efeff1;
  42. }
  43. .violations {
  44. margin: 100px auto 70px;
  45. width: 524px;
  46. }
  47. .violations .bg {
  48. background: url("/static/index/image/warning.png?20180927?20190530");
  49. width: 524px;
  50. height: 505px;
  51. color: #999;
  52. font-size: 18px;
  53. text-align: center;
  54. padding: 205px 100px 0 80px;
  55. font-weight: 600;
  56. }
  57. .violations a {
  58. width: 170px;
  59. height: 40px;
  60. line-height: 40px;
  61. background-color: #ffae5e;
  62. border-radius: 20px;
  63. display: block;
  64. margin: 70px auto 0;
  65. text-align: center;
  66. color: #fff;
  67. text-decoration: none;
  68. }
  69. @media (max-width: 767px) {
  70. .violations {
  71. margin: 150px auto 0;
  72. width: 6.5rem;
  73. }
  74. .violations .bg {
  75. background: url("/static/index/image/warning1.png?201809271?20190530");
  76. background-size: cover;
  77. width: 6.5rem;
  78. height: 6.26rem;
  79. color: #999;
  80. font-size: .32rem;
  81. text-align: center;
  82. padding: 115px 60px 0 50px;
  83. font-weight: 600;
  84. }
  85. }
  86. </style>
  87. </head>
  88. <body>
  89. <div class="violations">
  90. <div class="bg"><span class="error-msg"><?php echo $ERROR_MESSAGE ?></span></div>
  91. <a href="/" class="hidden-xs"><?php echo $BACK_HOME ?></a>
  92. </div>
  93. <script src="/static/index/js/jquery.min.js"></script>
  94. <script>
  95. var windowWidth = $(window).width();
  96. function setRem() {
  97. var windowWidth = $(window).width();
  98. if (windowWidth <= 750) {
  99. var fs = windowWidth / 750 * 6.25 * 100;
  100. $('html').css('font-size', fs + '%'); // 1rem = 100px;
  101. }
  102. };
  103. setRem();
  104. $(window).resize(setRem);
  105. console.log('APP_ILLEGAL[-10006]');
  106. </script>
  107. </body>
  108. <!--<script src="/static/index/js/markup.js"></script>-->
  109. <!--<script src="/static/index/js/publish/ua-parser.min.js"></script>-->
  110. <!--<script src="/static/index/js/template/wave.js"></script>-->
  111. </html>
  112. <?php
  113. }
  114. }