{stored_object name=$smarty.session.session_id|truncate:10:"" type="signup" from="signup" assign="signup"}

{if $smarty.request.confirmReset}{stored_object name=$smarty.session.session_id|truncate:10:"" type="signup" destroy="true"}{/if}

{include_php file="shared_handle:signup.goals"}

{select_query assign="termsOfUse" return="val"}
	h.content 
FROM _toc t 
	INNER JOIN _pages p ON (t.pageId = p.id)
	INNER JOIN _page_history h ON (h.pageId = p.id)
	LEFT JOIN _users u ON (h.userId = u.id)
WHERE
	t.pageName = 'terms' AND h.isActive = '1'
ORDER BY h.version DESC
{/select_query}

{$termsOfUse}

