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.

71 lines
1.5 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. <? include "form.php" ?>
  36. </div>
  37. <div class="is-col is-30">
  38. <? include "h1.php" ?>
  39. <?php
  40. $ct = @file_get_contents( "./locale/$loc1/h2.php");
  41. if ($ct==false)
  42. $ct = file_get_contents( "h2.php");
  43. echo $ct;
  44. ?>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. <script src="js/kube.min.js"></script>
  50. <script src="addons/upload/kube.upload.min.js"></script>
  51. <script src="addons/kube-addons.min.js"></script>
  52. <script src="kaform.js"></script>
  53. <script src="iban.js/iban.js"></script>
  54. </body>
  55. </html>