improve coding style : remove mixed php and html