Update index.php

change $v to $thread