';
if (!empty($context['agreement']))
{
echo '
', $txt['agreement' . (!empty($context['can_accept_agreement']) ? '_updated' : '')], '
';
if (!empty($context['can_accept_agreement']))
{
echo '
', $txt['agreement_updated_desc'], '
';
}
elseif (!empty($context['agreement_accepted_date']))
{
echo '
', sprintf($txt['agreement_accepted'], timeformat($context['agreement_accepted_date'], false)), '
';
}
echo '
', $context['agreement'], '
';
}
if (!empty($context['privacy_policy']))
{
echo '
', $txt['privacy_policy' . (!empty($context['can_accept_privacy_policy']) ? '_updated' : '')], '
';
if (!empty($context['can_accept_privacy_policy']))
{
echo '
', $txt['privacy_policy_updated_desc'], '
';
}
elseif (!empty($context['privacy_policy_accepted_date']))
{
echo '
', sprintf($txt['privacy_policy_accepted'], timeformat($context['privacy_policy_accepted_date'], false)), '
';
}
echo '
', $context['privacy_policy'], '
';
}
if (!empty($context['accept_doc']))
echo '
';
}
?>