
var member_id = '{-:+member_id-}';
var member_userid = '{-:+m_userid-}';
var member_username = '{-:+m_username-}';
var member_info = '{-:@HELLO-}';

{-if:ACookie::get('member_id')-}
member_info += ', '+member_username+' | <a href="{-url:home@member/index-}">{-:@MEMBER_CENTER-}</a> | <a href="{-url:home@member/list_favorite-}">{-:@FAVORITE-}</a> | <a href="{-url:home@member/list_notify-}">{-:@NOTIFY-}</a>  | <a href="{-url:home@member/logout_do-}">{-:@LOGOUT-}</a>';
{-else:-}
member_info += ', {-:@GUEEST-} | <a href="{-url:home@member/login-}">{-:@LOGIN-}</a> | <a href="{-url:home@member/register-}">{-:@REGISTER-}</a>';
{-:/if-}
$('#uwa_member').html(member_info);
