<div id="profile01">

    <div id="menuprofile">
    
    	<a href="<?php echo $C->SITE_URL.$D->userName?>"><img src="<?php echo $C->SITE_URL.$C->FOLDER_AVATAR.'min4/'.(empty($D->userAvatar)?$C->AVATAR_DEFAULT:$D->userAvatar)?>"></a>
        
    </div>

</div>