Fixed layout of homepage for advisors

Changed home.php so that there is no more repeated code for drawing
posts.  Logic for determining usertype is no longer part of the drawing
code.