maintenance.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. require_once('common.php');
  3. global $conf;
  4. if(file_exists('disabled.maintenance')){
  5. header('Location: index.php');
  6. exit();
  7. }
  8. ?>
  9. <!DOCTYPE html>
  10. <html class="maintenance-page">
  11. <head>
  12. <title>MAINTENANCE</title>
  13. <meta http-equiv='Content-Type' content='text/html; charset=UTF8'>
  14. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
  15. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
  16. <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
  17. <link rel="shortcut icon" type="image/png" href="img/favicon.png" />
  18. <link href="css/main.css" rel="stylesheet">
  19. <link href="css/theme.css" rel="stylesheet" />
  20. </head>
  21. <body>
  22. <?php if(isset($_['error']) && !empty($_['error'])): ?>
  23. <div class="alert alert-danger" role="alert">
  24. <h4 class="alert-heading">ERREUR :</h4>
  25. <p><?php echo $_['error']; ?></p>
  26. </div>
  27. <?php endif; ?>
  28. <div class="icon"><i class="fas fa-cog fa-spin"></i></div>
  29. <h1>MAINTENANCE</h1>
  30. <div class="container-fluid">
  31. <div class="row justify-content-md-center">
  32. <div class="content-block col-md-6 col-sm-12">
  33. <?php echo html_entity_decode(file_get_contents('enabled.maintenance')); ?>
  34. </div>
  35. </div>
  36. <p>Merci de revenir dans quelques instants</p>
  37. <p><i>L'équipe Sys1</i></p>
  38. <small class="admin-access">
  39. <a href="index.php?admin_login=1" class="admin-link">- Accès technicien -</a>
  40. </small>
  41. </div>
  42. </body>
  43. </html>