<?php if(isset($user) && is_array($user)) { ?>
{if $user['groupid']=='888'}<a href="{$admin_url}" target="_blank">/{lang(admin_login)}</a>{/if}
<a href="{url('user')}" target="_blank">{lang(membercenter)}</a>
<?php }else{ ?>
<a title="{lang(register)}" href="{url('user/register')}">{lang(register)}</a><a title="{lang(login)}" href="{url('user/login')}">{lang(login)}/</a>
<?php } ?>