Split to 3 php correspondence different state via GET method flags
Use 2 php correspondence 2 state via GET method flags