Facebook
From Lousy Echidna, 9 Months ago, written in Plain Text.
This paste is a reply to Untitled from Emerald Sloth - view diff
Embed
Download Paste or View Raw
Hits: 117
  1. <?php
  2. header("Location: $newURL");
  3. exit;
  4.  
  5. $linkDoAllegro = 'http://allegro.pl/show_user.php?uid=40291280';
  6. $param = $_GET['i'];
  7.  
  8. switch ($param) {
  9.  
  10.     case dodajdoulubionych: $newURL = 'http://allegro.pl/myaccount/favourites/favourites_sellers.php/addNew/?userId=40291280'; break;
  11.     case inneaukcje: $newURL = 'http://allegro.pl/listing/user/listing.php?us_id=40291280'; break;
  12.     case komentarze: $newURL = 'http://allegro.pl/show_user.php?uid=40291280'; break;
  13.     case kontakt: $newURL = 'http://allegro.pl/SendMailToUser.php?userId=40291280'; break;
  14.     case onas: $newURL = 'http://allegro.pl/sellerInfoFrontend/40291280/aboutSeller'; break;
  15.  
  16.     case cat_calyasortyment: $newURL = 'http://allegro.pl/listing/user/listing.php?us_id=40291280'; break;
  17.     case cat_domogrod: $newURL = 'http://allegro.pl/listing/user/listing.php?us_id=40291280&id=5'; break;
  18.     case cat_elektronika: $newURL = 'http://allegro.pl/listing/user/listing.php?us_id=40291280&id=10'; break;
  19.     case cat_odziezobuwie: $newURL = 'http://allegro.pl/listing/user/listing.php?us_id=40291280&id=1454'; break;
  20.     case cat_sportturystyka: $newURL = 'http://allegro.pl/listing/user/listing.php?us_id=40291280&id=3919'; break;
  21.     case cat_urodazdrowie: $newURL = 'http://allegro.pl/listing/user/listing.php?us_id=40291280&id=1429'; break;
  22.  
  23.     case zapasowe_01: $newURL = ''; break;
  24.     case zapasowe_02: $newURL = ''; break;
  25.     case zapasowe_03: $newURL = ''; break;
  26.     case zapasowe_04: $newURL = ''; break;
  27.     case zapasowe_05: $newURL = ''; break;
  28.     case zapasowe_06: $newURL = ''; break;
  29.  
  30. default: $newURL = $linkDoAllegro;
  31.                
  32. }
  33.  
  34. if ($newURL == '' || $newURL == null) {$newURL = $linkDoAllegro;}
  35.  
  36.  
  37. ?>