$stats = dbarray(dbquery("SELECT * FROM ".$db_prefix."user_status WHERE user_id=".$userdata['user_id']."")); $user_status = $stats['stats'] != "" ? $stats['stats'] : "Bevardis"; $user_mood = $stats['mood'];