Optimize html output functions

Remove the noeed to check if superglobal $_GET is_string as the superglobals are always of type string. Remove double check for $_GET and $_POST superglobals