error.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. use app\assets\CoreAsset;
  3. $asset = CoreAsset::register($this);
  4. $assetsUrl = $asset->baseUrl;
  5. ?>
  6. <!doctype html>
  7. <html>
  8. <head>
  9. <meta charset="<?php echo CHARSET;?>" />
  10. <title><?php echo Yii::t('admin','error info');?></title>
  11. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  12. <!-- App favicon -->
  13. <link rel="shortcut icon" href="<?= $assetsUrl ?>/images/favicon.ico">
  14. <!-- Bootstrap Css -->
  15. <link href="<?= $assetsUrl ?>/css/bootstrap.css" id="bootstrap-style" rel="stylesheet" type="text/css" />
  16. <!-- Icons Css -->
  17. <link href="<?= $assetsUrl ?>/css/icons.css" rel="stylesheet" type="text/css" />
  18. <!-- App Css-->
  19. <link href="<?= $assetsUrl ?>/css/app.css" id="app-style" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div class="account-pages my-5 pt-5">
  23. <div class="container">
  24. <div class="row">
  25. <div class="col-lg-12">
  26. <div class="text-center mb-5">
  27. <h1 class="display-2 fw-medium">5<i class="bx bx-buoy bx-spin text-primary display-3"></i><?php echo intval($lastnum[0]);?></h1>
  28. <h4 class="text-uppercase"><?php echo Yii::t('admin','internal server error');?></h4>
  29. <div class="mt-5 text-center">
  30. <a class="btn btn-primary waves-effect waves-light" href="<?php echo $homeurl;?>" target="_top"><?php echo Yii::t('admin','redirect to homepage');?></a>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="row justify-content-center">
  36. <div class="col-md-8 col-xl-6">
  37. <div>
  38. <img src="<?= $assetsUrl ?>/images/error-img.png" class="img-fluid">
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. <!-- JAVASCRIPT -->
  45. <script src="<?= $assetsUrl ?>/libs/jquery/jquery-3.7.0.min.js"></script>
  46. <script src="<?= $assetsUrl ?>/libs/bootstrap/js/bootstrap.bundle.min.js"></script>
  47. <script src="<?php echo $assetsUrl;?>/libs/node-waves/waves.min.js"></script>
  48. <script src="<?php echo $assetsUrl;?>/libs/metismenu/metisMenu.min.js"></script>
  49. <script src="<?php echo $assetsUrl;?>/libs/simplebar/simplebar.min.js"></script>
  50. <!-- App js -->
  51. <script src="<?php echo $assetsUrl;?>/js/app.js"></script>
  52. </body>
  53. </html>