converted php to html in favour of ajax