Update index.php

Added sample code for various content types