daemon->wallet_balance(); $available_balance = $wallet_balance->result->available; $total_balance = $wallet_balance->result->total; $lbry_active_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : 'general'; ?>