Update index.php

Fixed errors (brackets missing and a field missing)