query("update {$Stb_name}_LINK set visit = visit + 1 where sid='$sid'"); $url = urldecode($HTTP_GET_VARS[url]); header("Location: $url"); ?>