diff options
Diffstat (limited to 'www-ssl')
-rw-r--r-- | www-ssl/inc/funktion_flag.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www-ssl/inc/funktion_flag.php b/www-ssl/inc/funktion_flag.php new file mode 100644 index 00000000..2c3ecc13 --- /dev/null +++ b/www-ssl/inc/funktion_flag.php @@ -0,0 +1,12 @@ +<?PHP +echo "<br>"; + +if( strpos( $_SERVER["REQUEST_URI"], "?") >0) + $URL = $_SERVER["REQUEST_URI"]. "&SetLanguage="; +else + $URL = $_SERVER["REQUEST_URI"]. "?SetLanguage="; + +echo "<a href=\"". $URL. "DE\"><img src=\"./inc/flag/de.gif\" alt=\"DE\"></a> "; +echo "<a href=\"". $URL. "EN\"><img src=\"./inc/flag/en.gif\" alt=\"En\"></a> "; + +?> |