0 && $tid > 0) { header("Location: /topic-$fid-$tid.html"); } else { header("Location: /"); } ?>