You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
1.9 KiB

  1. <!doctype html>
  2. <?php
  3. $lang=$_GET['lang'];
  4. if ( in_array ($lang, array('en_US'))){
  5. $loc = "$lang".".utf8";
  6. $loc1 = $lang;
  7. }
  8. else
  9. $loc = "de_DE";
  10. $domain = "messages";
  11. setlocale(LC_MESSAGES, $loc);
  12. setlocale(LC_ALL, $loc);
  13. $results = putenv("LC_ALL=$loc");
  14. $results = putenv("LC_MESSAGES=$loc");
  15. $results = bindtextdomain($domain,"./locale");
  16. ?>
  17. <html >
  18. <head>
  19. <title>Kostenerstattungsforumlar</title>
  20. <meta charset="utf-8">
  21. <meta name="viewport" content="width=device-width, initial-scale=1">
  22. <!-- Kube CSS -->
  23. <link rel="stylesheet" href="css/kube.min.css">
  24. <link rel="stylesheet" href="addons/kube-addons.min.css" />
  25. <link rel="stylesheet" href="master.css" />
  26. </head>
  27. <body>
  28. <div class="page is-container">
  29. <div class="main-sidebar text-centered">
  30. <img class="wmdelogo" alt="wikimedia logo" src="Wikimedia_Deutschland-Logo.svg"/>
  31. </div>
  32. <div class="main-content">
  33. <div class="is-row" style="border:0px solid blue">
  34. <div class="is-col is-70">
  35. <?php include "form.php" ?>
  36. </div>
  37. <div class="is-col is-30">
  38. <?php
  39. # $ct = @file_get_contents( "./locale/$loc1/h1.php");
  40. # if ($ct==false)
  41. # $ct = file_get_contents( "h1.php");
  42. # echo $ct;
  43. ?>
  44. <?php
  45. $ct = @file_get_contents( "./locale/$loc1/h2.php");
  46. if ($ct==false)
  47. $ct = file_get_contents( "h2.php");
  48. echo $ct;
  49. ?>
  50. </div>
  51. </div>
  52. Impressum: <a href="https://www.wikimedia.de/impressum/">https://www.wikimedia.de/impressum</a><br>
  53. Datenschutz: <a href="https://www.wikimedia.de/datenschutz/">https://www.wikimedia.de/datenschutz</a>
  54. </div>
  55. </div>
  56. <script src="js/kube.min.js"></script>
  57. <script src="addons/upload/kube.upload.min.js"></script>
  58. <script src="addons/kube-addons.min.js"></script>
  59. <script src="kaform.js"></script>
  60. <script src="iban.js/iban.js"></script>
  61. </body>
  62. </html>