Update index.php

Added framework for post showing and footer