Edited html and php snipets