<?php

if(isset($_GET['pr']))
{
  $pr = $_GET['pr'];
}
else
{
   $pr = "nopr";
}

include 'link.inc.php';


if(isset($_GET['id']))
{
  $id = $_GET['id'];  
  
  if(array_key_exists($id,$links))
  {
    header ('HTTP/1.1 301 Moved Permanently');
    header("Location: " . $links[$id]);
    exit;
  }
    
}

?>
