{% if php.self == '/profile.php' ? profile.data.userData.profileBackground is defined : (user.checkPremium[0] and user.data.userData.profileBackgroundSiteWide and user.data.userData.profileBackground is defined) %}
{% endif %}
{% if not session.checkLogin and php.self != '/authenticate.php' %}
{% endif %}