Update index.php

Using '&&'instead of 'and'. Because of 'active' class property.