Enable smarty tags on your static pages. Then follow this.
Code:
{if $login eq "" }
You must login to view this page
{else}
--Insert you HTML here--
{/if}
If the user is not logged in it will display the 'You must login..' if they are logged in it will show the HTML.