Update thread.php

removing all PHP close tags