global $AUTH; if( $AUTH->user->id != -1 ){ echo $AUTH->user->title; }