Alternative to current_user
i would say remove the if/else and only leave the else code, as you never want to show $user_picture

$employeeid = token_replace('[current-user:field_employeeid]');
?&gt;
&lt;div class="user-picture"&gt;
    &lt;img src="&lt;?=base_path()?&gt;sites/default/files/pictures/&lt;?=$employeeid?&gt;.jpg"/&gt;
&lt;/div&gt;