123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <?
- // Auto generated xyCMS compatibility mobile/index.php
- $loc = 'http://www.xythobuz.de/index.de.html';
- if (isset($_GET['p'])) {
- if (isset($_GET['lang'])) {
- $_GET['p'] .= 'EN';
- }
- switch($_GET['p']) {
- case "blog":
- $loc = "http://xythobuz.de/blog.de.html";
- break;
-
- case "blogEN":
- $loc = "http://xythobuz.de/blog.html";
- break;
-
- case "kontakt":
- $loc = "http://xythobuz.de/contact.de.html";
- break;
-
- case "kontaktEN":
- $loc = "http://xythobuz.de/contact.html";
- break;
-
- case "hw":
- $loc = "http://xythobuz.de/hardware.de.html";
- break;
-
- case "hwEN":
- $loc = "http://xythobuz.de/hardware.html";
- break;
-
- case "home":
- $loc = "http://xythobuz.de/index.de.html";
- break;
-
- case "homeEN":
- $loc = "http://xythobuz.de/index.html";
- break;
-
- case "sw":
- $loc = "http://xythobuz.de/software.de.html";
- break;
-
- case "swEN":
- $loc = "http://xythobuz.de/software.html";
- break;
-
- case "avrserlib":
- $loc = "http://xythobuz.de/avrserial.de.html";
- break;
-
- case "avrserlibEN":
- $loc = "http://xythobuz.de/avrserial.html";
- break;
-
- case "bt":
- $loc = "http://xythobuz.de/bluetooth.de.html";
- break;
-
- case "btEN":
- $loc = "http://xythobuz.de/bluetooth.html";
- break;
-
- case "c250":
- $loc = "http://xythobuz.de/c250.de.html";
- break;
-
- case "c250EN":
- $loc = "http://xythobuz.de/c250.html";
- break;
-
- case "sram":
- $loc = "http://xythobuz.de/k6x4008.de.html";
- break;
-
- case "sramEN":
- $loc = "http://xythobuz.de/k6x4008.html";
- break;
-
- case "cube":
- $loc = "http://xythobuz.de/ledcube.de.html";
- break;
-
- case "cubeEN":
- $loc = "http://xythobuz.de/ledcube.html";
- break;
-
- case "ledmatrix":
- $loc = "http://xythobuz.de/ledmatrix.de.html";
- break;
-
- case "ledmatrixEN":
- $loc = "http://xythobuz.de/ledmatrix.html";
- break;
-
- case "nas":
- $loc = "http://xythobuz.de/nas.de.html";
- break;
-
- case "nasEN":
- $loc = "http://xythobuz.de/nas.html";
- break;
-
- case "rrem":
- $loc = "http://xythobuz.de/rremote.de.html";
- break;
-
- case "rremEN":
- $loc = "http://xythobuz.de/rremote.html";
- break;
-
- case "serialdebug":
- $loc = "http://xythobuz.de/serialdebug.de.html";
- break;
-
- case "serialdebugEN":
- $loc = "http://xythobuz.de/serialdebug.html";
- break;
-
- case "serialhelper":
- $loc = "http://xythobuz.de/serialhelper.de.html";
- break;
-
- case "serialhelperEN":
- $loc = "http://xythobuz.de/serialhelper.html";
- break;
-
- case "ssop28":
- $loc = "http://xythobuz.de/ssop28.de.html";
- break;
-
- case "ssop28EN":
- $loc = "http://xythobuz.de/ssop28.html";
- break;
-
- case "notifier":
- $loc = "http://xythobuz.de/ultimatenotifier.de.html";
- break;
-
- case "notifierEN":
- $loc = "http://xythobuz.de/ultimatenotifier.html";
- break;
-
- case "rob":
- $loc = "http://xythobuz.de/xyrobot.de.html";
- break;
-
- case "robEN":
- $loc = "http://xythobuz.de/xyrobot.html";
- break;
-
- case "xyrobotremote":
- $loc = "http://xythobuz.de/xyrobotremote.de.html";
- break;
-
- case "xyrobotremoteEN":
- $loc = "http://xythobuz.de/xyrobotremote.html";
- break;
-
- case "yasab":
- $loc = "http://xythobuz.de/yasab.de.html";
- break;
-
- case "yasabEN":
- $loc = "http://xythobuz.de/yasab.html";
- break;
-
- default:
- $loc = "/404.mob.html";
- break;
- }
- }
- if ($_SERVER['SERVER_PROTOCOL'] == 'HTTP/1.1') {
- if (php_sapi_name() == 'cgi') {
- header('Status: 301 Moved Permanently');
- } else {
- header('HTTP/1.1 301 Moved Permanently');
- }
- }
- header('Location: '.$loc);
- ?>
|