Update main.php

fix double <html> tag