Advertisement
Guest User

Untitled

a guest
Jul 15th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. <?php
  2. include("sec/check.php");
  3. include("config/config.php");
  4. include("style/head.php");
  5. require('style/button.php');
  6.  
  7.  
  8. ?>
  9. <html>
  10. <head>
  11. <title>Accueil - Panel</title>
  12. <link rel="stylesheet" type="text/css" href="style/style.css">
  13. </head>
  14.  
  15. <body>
  16. <h2 class="titre">Accueil - Panel</h2>
  17. <?php include("sec/user.php"); ?>
  18. <?php
  19.  
  20. if(isset($_GET["error"])) {
  21. if(strcmp($_GET["error"], "level") == 0) {
  22. echo "<h2 class=\"errorlevel\">Vous n'avez pas accès à ce module</h2>";
  23. }
  24. }
  25.  
  26. // Création des boutons d'accès
  27. $button = new Button("Bouton de test","test.html","btn");
  28. $button->show();
  29.  
  30.  
  31. //
  32. ?>
  33. </body>
  34. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement