{% if WALLETINDEX_ENABLE and WALLETINDEX_ENABLE_FOOTER %} {% if (WALLETINDEX_FOOTER_GUEST and S_USER_LOGGED_IN) or not WALLETINDEX_FOOTER_GUEST %}