No idea how you get the old liner out, but once you figure that, you should be able to replace it using the old fabric as a pattern. Remember to either cut it apart at the seams and add seam allowances when you cut the new one, or unpick carefully!
What fabric are you aiming to replace it with? What kind of machine will you sew it with?