add php code to plans page