{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}

<h1>Sign Up - Complete!</h1>

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

{if $smarty.request.signup.agree eq 'No'}
	{message type="error" value="You did not accept the terms of use. Cancelling signup process."}
	{store_messages}
	{* redirect href="?pg=home" *}
{elseif not $smarty.request.signup.agree}
	{message type="error" value="You must accept the terms of use before proceeding."}
	{store_messages}
	{redirect href="?pg=signup/terms"}
{/if}

<div>

<form name="signup" method="post" action="index.php" style="margin:0px;">
<input type="hidden" name="pg" value="{$prev.pageName}">
<input type="hidden" name="no_expire" value="true">

<div align="right">
	<br />
	<input type="button" name="continue" value="Continue" onclick="location.replace('?pg={$return|default:"home"}');" />
</div>

</form>
</div>
