Hi Marc,
I sent some pull requests about Server view code refactor. I modified it after your comments yesterday. https://github.com/xmujay
I will refactor all the server view function to be starting with "PMA_" if it is not inside a class in the coming pull requst. thanks
xmujay (Bin Zu)