{if $user->user_info.user_id>0} {include file='header.tpl'} {php}general();{/php} {include file='footer.tpl'} {/if}