session_start(); if(substr($_SERVER['HTTP_HOST'], 0, 6)!='grizli') { if(substr($_SERVER['HTTP_HOST'], 0, 3)=='www') { header("HTTP/1.1 301 Moved Permanently"); header("Location: http://grizli.pl".$_SERVER['REQUEST_URI']); header("Connection: close"); exit; } /* if(substr($_SERVER['HTTP_HOST'], 0, 8)=='agregaty') { header("Location: http://grizli.pl/maszyny-budowlane/agregaty"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 11)=='przecinarki') { header("Location: http://grizli.pl/maszyny-budowlane/przecinarki-i-technika-diamentowa"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 5)=='beton') { header("Location: http://grizli.pl/maszyny-budowlane/do-betonu"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 11)=='nagrzewnice') { header("Location: http://grizli.pl/maszyny-budowlane/nagrzewnice-osuszacze"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 4)=='bruk') { header("Location: http://grizli.pl/maszyny-budowlane/narzedzia-brukarskie"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 5)=='pompy') { header("Location: http://grizli.pl/maszyny-budowlane/motopompy"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 7)=='ubijaki') { header("Location: http://grizli.pl/maszyny-budowlane/zageszczarki-ubijaki-walce"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 6)=='dojazd') { header("Location: http://grizli.pl/dojazd-do-firmy-grizli"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 7)=='kontakt') { header("Location: http://grizli.pl/kontakt"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 11)=='odsniezarki') { header("Location: http://grizli.pl/maszyny-ogrodowe/odsniezarki"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 11)=='jednoosiowe') { header("Location: http://grizli.pl/maszyny-ogrodowe/traktory-1-osiowe"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 8)=='zywoplot') { header("Location: http://grizli.pl/maszyny-ogrodowe/nozyce-do-zywoplotu"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 7)=='pilarki') { header("Location: http://grizli.pl/maszyny-ogrodowe/pilarki"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 8)=='dmuchawy') { header("Location: http://grizli.pl/maszyny-ogrodowe/dmuchawy-rebaki"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 4)=='kosy') { header("Location: http://grizli.pl/maszyny-ogrodowe/kosy"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 13)=='glebogryzarki') { header("Location: http://grizli.pl/maszyny-ogrodowe/glebogryzarki-pubert"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 6)=='swidry') { header("Location: http://grizli.pl/maszyny-ogrodowe/swidry-glebowe"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 13)=='wertykulatory') { header("Location: http://grizli.pl/maszyny-ogrodowe/wertykulatory"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 12)=='opryskiwacze') { header("Location: http://grizli.pl/maszyny-ogrodowe/opryskiwacze-solo"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 8)=='kosiarki') { header("Location: http://grizli.pl/maszyny-ogrodowe/kosiarki"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 9)=='traktorki') { header("Location: http://grizli.pl/maszyny-ogrodowe/traktorki"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 8)=='promocje') { header("Location: http://grizli.pl/promocje,wyprzedaze-posezonowe"); header("Connection: close"); exit; }*/ /* if(substr($_SERVER['HTTP_HOST'], 0, 4)=='hity') { header("Location: http://grizli.pl/nasze-hity,-maszyny-miesiaca"); header("Connection: close"); exit; }*/ } /* if($rewr_path[0]=='promocje-wyprzedaze') { header("HTTP/1.1 301 Moved Permanently"); if($rewr_path[1]!='') header("Location: /promocje,wyprzedaze-posezonowe/".$rewr_path[1]); else header("Location: /promocje,wyprzedaze-posezonowe"); header("Connection: close"); exit; }*/ if($rewr_path[0]=='promocje,wyprzedaze-posezonowe' && ($rewr_path[2]=='traktor-1-osiowy-f510+glebogryzarka-honda' || $rewr_path[2]=='stiga-park-compact-16' || $rewr_path[1]=='traktor-stiga-park-najtaniej' || $rewr_path[1]=='traktor-stiga-villa' || $rewr_path[1]=='swider-glebowy-oleomac-mtl85r')) { header("HTTP/1.1 301 Moved Permanently"); header("Location: /promocje-nieaktualne"); header("Connection: close"); exit; } /* if($rewr_path[2]=='belle-ubijaki-rt') { header("HTTP/1.1 301 Moved Permanently"); header("Location: /maszyny-budowlane/ubijaki-walce/stopy-belle"); header("Connection: close"); exit; }*/ /* if($rewr_path[1]=='dmuchawy-rebaki') { header("HTTP/1.1 301 Moved Permanently"); header("Location: /maszyny-ogrodowe/dmuchawy".substr($_SERVER['REQUEST_URI'],33)); header("Connection: close"); exit; }*/ /* if($rewr_path[1]=='zageszczarki-ubijaki-walce' && $rewr_path[2]=='walec-belle-bwr-650') { header("HTTP/1.1 301 Moved Permanently"); header("Location: /maszyny-budowlane/ubijaki-walce/walec-belle-bwr-650"); header("Connection: close"); exit; }*/ /* if($_SERVER['REQUEST_URI']=='/maszyny-ogrodowe/traktory-1-osiowe/dane-techniczne-traktorow-honda') { header("HTTP/1.1 301 Moved Permanently"); header("Location: /maszyny-ogrodowe/traktory-1-osiowe/traktorki-jednoosiowe-honda-f510,f560,f720,f810"); header("Connection: close"); exit; }*/ if($rewr_path[1]=='zageszczarki-ubijaki-walce') { header("HTTP/1.1 301 Moved Permanently"); if($rewr_path[3]!='') header("Location: /maszyny-budowlane/zageszczarki/".$rewr_path[2]."/".$rewr_path[3]); elseif($rewr_path[2]!='') header("Location: /maszyny-budowlane/zageszczarki/".$rewr_path[2]); else header("Location: /maszyny-budowlane/zageszczarki/"); header("Connection: close"); exit; } if($rewr_path[0]=='index.html') { header("HTTP/1.1 301 Moved Permanently"); header("Location: http://grizli.pl"); header("Connection: close"); exit; } if($rewr_path[2]=='zageszczarka-weber-z-kontrola-sily-zageszczania') { header("HTTP/1.1 301 Moved Permanently"); header("Location: /maszyny-budowlane/zageszczarki/rewersyjne-weber/zageszczarka-weber-z-kontrola-sily-zageszczania"); header("Connection: close"); exit; } //str_getcsv( $delimiter) if(substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); include_once("connect.php"); include_once("data/funkcje.php"); $_REQUEST['lang']='pl'; $lang=$_REQUEST['lang']; if(!defined("REWRITING")) { define("REWR_CONVERT",true); //$rewr_path[0]=strtolower($_REQUEST['lang']); include_once("urlrewr.php"); } ?>
| ||
Copyright © 1992-2013 Grizli.pl Firma Grizli |