summaryrefslogtreecommitdiff
path: root/includes/funktion_flag.php
blob: b6a022424fe59dc3656dad3c18a26692e2720129 (plain)
1
2
3
4
5
6
7
8
9
<?php
   if(strpos($_SERVER["REQUEST_URI"], "?") > 0)
    $URL = $_SERVER["REQUEST_URI"] . "&SetLanguage=";
  else
    $URL = $_SERVER["REQUEST_URI"] . "?SetLanguage=";

  echo "<a href=\"" . $URL . "DE\"><img src=\"" . $url . $ENGEL_ROOT . "pic/flag/de.gif\" alt=\"DE\" /></a> ";
  echo "<a href=\"" . $URL . "EN\"><img src=\"" . $url . $ENGEL_ROOT . "pic/flag/en.gif\" alt=\"EN\" /></a> ";
?>