format index.php